Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 360 Bytes

High-Quality Videos with youtube-dl.md

File metadata and controls

11 lines (9 loc) · 360 Bytes

For when youtube-dl reports that you can get a video in 1080p (or higher) but that you'll just get the video and no audio. You'll need ffmpeg for the merge.

youtube-dl \
  -f bestvideo[height=1080]+bestaudio \
  --merge-output-format mkv \
  --write-sub \
  https://www.youtube.com/watch?v=foobar

Note that you can use >= for the height.