標籤:
::::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
愛奇藝、馬鈴薯、樂視、youtube等網站 高清視頻下載