On Sat, 8 Jan 2022 at 06:27, Dale <[email protected]> wrote: > The part it really doesn't like seems to be this: > > SyntaxError: Invalid filter specification 'ext=webm,ext=mp4' > > Can someone tell me what the new and improved yt-dlp wants in its conf > file to try for mp4 first and then webm? Nothing I tried seems to > work. :-(
I have never used extension filtering before, but it might not be possible to specify a list, so then you need to make one extra format in your syntax. This worked for me: --format 'bv*[ext=webm][width<=?1280]+bestaudio/bv*[ext=mp4][width<=?1280]+bestaudio/best' Regards, Arve

