Simple option to prefer specific format #392

Closed
opened 2026-02-20 23:02:47 -05:00 by deekerman · 1 comment
Owner

Originally created by @dwt on GitHub (Nov 15, 2012).

Hi there,

For my environment and to best use the files downloaded it would be much better to just always get mp4, if that fails get flv and if that fails get webm.

Now as far as I can see there's no simple option to set that preferred order. It can probably aproximated with the format thing, but as far as I undestand that is not exactly what I want and does not account for future quality additions.

What I want is something like --preferred-formats=mp4,flv,webm

Originally created by @dwt on GitHub (Nov 15, 2012). Hi there, For my environment and to best use the files downloaded it would be much better to just always get mp4, if that fails get flv and if that fails get webm. Now as far as I can see there's no simple option to set that preferred order. It can probably aproximated with the format thing, but as far as I undestand that is not exactly what I want and does not account for future quality additions. What I want is something like --preferred-formats=mp4,flv,webm
deekerman 2026-02-20 23:02:47 -05:00
  • closed this issue
  • added the
    request
    label
Author
Owner

@jaimeMF commented on GitHub (Jan 26, 2015):

With the last versions, you can use -f mp4/flv/webm/best (the /best options is a fallback used if there aren't videos in the requested formats). Thanks for the report!

@jaimeMF commented on GitHub (Jan 26, 2015): With the last versions, you can use `-f mp4/flv/webm/best` (the `/best` options is a fallback used if there aren't videos in the requested formats). Thanks for the report!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl-ytdl-org#392
No description provided.