yt-dlp — Command Builder

This page will help you build a yt-dlp command. It will not run it—you'll have to run it yourself.

It is assumed that:

If you have more questions about usage, go see the official documentation. If you want to contribute on this project, you can!

What to download
Audio Parameters

Note: If you don't want to download only the audio, leave these fields blank.

Video Parameters
More details

Video Format

  1. Filtering Video Formats: You can choose the quality of the video you want to download. For example, if you want a high-quality video, you can type -f "best[height=720]". If you want a video that is larger than 10MB, you can type -f "[filesize>10M]".

  2. Comparisons: You can use symbols like <, <=, >, >=, =, != to compare the video's properties. For example, height<480 means the video's height is less than 480 pixels.

  3. Meta Fields: These are properties of the video. Some examples are filesize (how big the video file is), width (how wide the video is), height (how tall the video is), and fps (how many frames per second the video has). You can use these fields in your filters.

  4. String Comparisons: You can also filter videos based on text properties. For example, url (the web address of the video), ext (the video file's extension), acodec (the audio codec used), and vcodec (the video codec used). You can use symbols like =, ^=, $=, *=, ~=, != to compare these properties.

  5. Grouping Selectors: You can group format selectors using parentheses. For example, -f "(mp4,webm)[height<480]" will download the best mp4 or webm video that is less than 480 pixels tall.

Remember, not all these properties are always available for every video. It depends on the information provided by the website you're downloading from. If a property is not known, you can add a question mark (?) after the operator. For example, height<=?720 selects videos up to 720p, or videos where the height is not known.

Misc
Advanced
Copied to clipboard!

Generated Command:

Paste the above in the terminal, hit enter, and you should be good to go!

Some comments about the generated command: