We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 223623c commit c339970Copy full SHA for c339970
src/playlist.js
@@ -298,7 +298,7 @@ const playlistDownloader = {
298
if (videoType === "mp4") {
299
formatArgs = [
300
"-f",
301
- `"bestvideo[height<=1080]+bestaudio[ext=m4a]/best[height<=1080]/best"`,
+ `"bestvideo[height<=${quality}]+bestaudio[ext=m4a]/best[height<=${quality}]/best"`,
302
"--merge-output-format",
303
"mp4",
304
"--recode-video",
@@ -307,7 +307,7 @@ const playlistDownloader = {
307
} else if (videoType === "webm") {
308
309
310
- `"bestvideo[height<=1080]+bestaudio[ext=webm]/best[height<=1080]/best"`,
+ `"bestvideo[height<=${quality}]+bestaudio[ext=webm]/best[height<=${quality}]/best"`,
311
312
"webm",
313
0 commit comments