You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've looked through the README and FAQ for similar questions
I've searched the bugtracker for similar questions including closed ones
Question
OK so I've been using youtube-dl --cookies cookies.txt -f '(bestvideo[vcodec*=av01]/bestvideo[vcodec=vp9]/bestvideo)+(bestaudio[acodec=opus]/bestaudio[acodec=vorbis]/bestaudio[acodec=aac]/bestaudio)/best' --sub-lang en --embed-subs --add-metadata %video% -o '%(title)s.%(ext)s' to download videos and have a question, when such a video has an av1 encode that is below the best resolution (let's say it has av1 144p but vp9 1080p) how would I tell it to download the best (less preferred) codec (in the case of the previous example vp9), instead of the lower quality (more preferred) codec?
The text was updated successfully, but these errors were encountered:
You can either make a list of all format codes like this guy
or
You could use a large format selection with seperate codec check for each resolution. Something like: ((bestvideo[vcodec*=av01]/bestvideo[vcodec=vp9]/bestvideo)[height>2160]/(bestvideo[vcodec*=av01]/bestvideo[vcodec=vp9]/bestvideo)[height>1080]/.../(bestvideo[vcodec*=av01]/bestvideo[vcodec=vp9]/bestvideo)[height>144]/(bestvideo[vcodec*=av01]/bestvideo[vcodec=vp9]/bestvideo))+bestaudio...
Checklist
Question
OK so I've been using
youtube-dl --cookies cookies.txt -f '(bestvideo[vcodec*=av01]/bestvideo[vcodec=vp9]/bestvideo)+(bestaudio[acodec=opus]/bestaudio[acodec=vorbis]/bestaudio[acodec=aac]/bestaudio)/best' --sub-lang en --embed-subs --add-metadata %video% -o '%(title)s.%(ext)s'
to download videos and have a question, when such a video has an av1 encode that is below the best resolution (let's say it has av1 144p but vp9 1080p) how would I tell it to download the best (less preferred) codec (in the case of the previous example vp9), instead of the lower quality (more preferred) codec?The text was updated successfully, but these errors were encountered: