newest / best format would be AV1, but my computer doesn’t support it completely. VP9 is completely supported.
the command I’ve been using: yt-dlp -f bv*[ext=mp4]+ba[ext=m4a]/b[ext=mp4] -S height:1080 --all-subs --no-warnings -v https://www.youtube.com/watchx
this command downloads the best available video up to 1080p, but if the best video format available is AV1, it will download it. I need a command that downloads the best video but up to VP9.
Help appreciated.


Seems like a job for
ffmpeg. You may want to look into post-processing options ofyt-dlp.