use --compat-options prefer-vp9-sort
yt-dlp -f bv*[ext=mp4]+ba[ext=m4a]/b[ext=mp4] -S height:1080 --compat-options prefer-vp9-sort --all-subs --no-warnings -v https://www.youtube.com/watchx
use --compat-options prefer-vp9-sort
yt-dlp -f bv*[ext=mp4]+ba[ext=m4a]/b[ext=mp4] -S height:1080 --compat-options prefer-vp9-sort --all-subs --no-warnings -v https://www.youtube.com/watchx
Seems like a job for ffmpeg. You may want to look into post-processing options of yt-dlp.
Honestly, AV1 software decode isn’t that bad on most recent hardware. My desktop with 2018 hardware does it just fine, and so does my 2023 laptop.
I think you would want to include [vcodec!=av1] somewhere in your format specifications. Let me try it and see.
Okay looks like your format spec should look something like 'bv*[ext=mp4][vcodec!^=av01]+ba[ext=m4a]/b[ext=mp4][vcodec!^=av01]'. Single quotes needed to keep shell expansion from fighting me, not sure if that will be an issue for you. You may have intended this, but the extension restriction does mean that you'll sometimes skip "better" formats like VP9 if they are webms or something, and you can specify an output mux if that is what you are trying to achieve.
all 6 comments