3. You can do this by slapping [height&<=?360]
on the end of each of the video format specifiers (the exact meaning is "If video dimensions are given, only consider downloading videos with a height of <=360 pixels") . bv*+ba[language=ja]
becomes bv*[height<=?360]+ba[language=ja]
(note that it attaches to bv*
, not ba
!), best
becomes best[height&<=?360]
, etc. If you want the exact options I gave before, it'd be
--format bv*[height<=?360]+ba[language=ja]/bv*[height<=?360]+ba[language=en]/bv*[height<=?360]+ba/best[height<=?360]
If you want more info, check out the yt-dlp
format selection documentation--it's quite extensive and enables fine-grained control over what you download.