Choosing video quality to download #5615

Closed
opened 2026-02-21 02:54:41 -05:00 by deekerman · 3 comments
Owner

Originally created by @danvass on GitHub (Sep 23, 2015).

Hello,

Is it possible to select the a certain video quality (such as, 240p or 480p) and if they don't exist let the program choose which one to download as per usual?

Thanks,
Daniel

Originally created by @danvass on GitHub (Sep 23, 2015). Hello, Is it possible to select the a certain video quality (such as, 240p or 480p) and if they don't exist let the program choose which one to download as per usual? Thanks, Daniel
Author
Owner

@yan12125 commented on GitHub (Sep 23, 2015):

You need complicated format filters. Here's an example:

youtube-dl -f 'bestvideo[height==480]+bestaudio/bestvideo+bestaudio/best' URL
@yan12125 commented on GitHub (Sep 23, 2015): You need complicated format filters. Here's an example: ``` youtube-dl -f 'bestvideo[height==480]+bestaudio/bestvideo+bestaudio/best' URL ```
Author
Owner

@danvass commented on GitHub (Sep 23, 2015):

@yan12125 Does that perform the functionality I described? My goal is to minimise the download time of the video so if the video is lower quality I presume it will download quicker.

@danvass commented on GitHub (Sep 23, 2015): @yan12125 Does that perform the functionality I described? My goal is to minimise the download time of the video so if the video is lower quality I presume it will download quicker.
Author
Owner

@yan12125 commented on GitHub (Sep 23, 2015):

If you're downloading the lowest quality video, -f "worstvideo+worstaudio" may be what you need.

@yan12125 commented on GitHub (Sep 23, 2015): If you're downloading the lowest quality video, `-f "worstvideo+worstaudio"` may be what you need.
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#5615
No description provided.