爱奇艺、土豆、乐视、youtube等网站 高清视频下载

::::0.工具下载
::::Used tools youtube-dl.exe; ffmpeg.exe
::::youtube-dl download url http://rg3.github.io/youtube-dl/download.html
::::ffmpeg.exe download url https://ffmpeg.org/download.html
::::命名为 youtube-dl.exe; ffmpeg.exe,并放到同一个文件夹

::::1.将以下内容保存到zz.bat文件,阅读后按操作进行
::::The bat file use ANSI encode.

::::STEP0, find the URL that you want to download.
::::Replace the example url to yours.
set YOUR_URL=http://www.mgtv.com/v/1/1/f/3324755.html

::::STEP1, list support formats.
::::Delete STEP1's "::", add "::" for STEP2.
::youtube-dl.exe --list-formats ^
:: %YOUR_URL%

::::STEP2, download specified format.
::::Delete STEP2's "::", add "::" for STEP1.
::::Input the for format number you get. Generally larger number, better quality.
set SPECIFIED_FORMAT1=5
::::Output name first and last use unique format_id for one media source, just in case system cut too long name cause name repeat.
::youtube-dl.exe --output "%%(format_id)s_%%(title)s_%%(uploader)s_%%(uploader_id)s_%%(autonumber)s_%%(format)s_%%(upload_date)s_%%(extractor)s_%%(id)s_%%(playlist_title)s_%%(playlist_id)s_%%(playlist)s_%%(playlist_index)s_%%(height)s_%%(width)s_%%(resolution)s_%%(format_id)s.%%(ext)s" ^
:: --format %SPECIFIED_FORMAT1% ^
:: --ignore-errors --retries 100 --fragment-retries 100 ^
:: --hls-use-mpegts ^
:: %YOUR_URL%

::::无人值守 Unattended
:: --ignore-errors --retries 100 --fragment-retries 100 ^
::::边下边看 Watching while downloading
:: --hls-use-mpegts ^
::::For youtube web
:: --write-auto-sub ^
::::potplayer播放器对视频缩小处理得不好,高频区有混叠

pause