Advertisement
AyrA

yt.bat

Jun 19th, 2017
760
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 0.33 KB | None | 0 0
  1. @ECHO OFF
  2. IF "%~1"=="" GOTO HELP
  3. GOTO EXEC
  4.  
  5. :EXEC
  6. C:\bat\yt\youtube-dl.exe -i --no-check-certificate --ffmpeg-location C:\bat\yt\ffmpeg.exe --all-subs  --embed-subs --embed-thumbnail --add-metadata --merge-output-format mp4 --format bestvideo[ext=mp4]+bestaudio[ext=m4a] %*
  7. GOTO END
  8.  
  9. :HELP
  10. ECHO %~0 ^<YouTube-URL^>
  11. GOTO END
  12.  
  13. :END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement