9 ms·
You can do that with the arguments (bestvideo[height=720]/bestvideo)+bestaudio/best bestvideo[height=720] = download the best 720p resolution /bestvideo
by haunter 5y ago
You can do that with the arguments
(bestvideo[height=720]/bestvideo)+bestaudio/best
bestvideo[height=720] = download the best 720p resolution
/bestvideo = otherwise download the best available (540p, 480p etc)
- makeworld 5y agoThis has a few issues, I think. For example, using bestvideo prevents you from downloading formats that contain both video and audio, it only downloads video-only formats. > otherwise download the best available This will potentially download much higher than 720, if 720 is not available. Probably better to go lower for OP's usecase. See my sibling comment for a better format selector.