Playlist quality fix
This commit is contained in:
parent
fd8d8b4845
commit
0a1ee112fd
@ -161,7 +161,7 @@ function download(type) {
|
|||||||
format = "";
|
format = "";
|
||||||
} else {
|
} else {
|
||||||
if (videoType === "mp4") {
|
if (videoType === "mp4") {
|
||||||
format = `-f "${formatId}+m4a/mp4[height=${quality}]+m4a/bv*[height<=${quality}]+ba/best[height<=${quality}]"`;
|
format = `-f "mp4[height=${quality}]+m4a/mp4[height<=${quality}]+м4а/best[height<=${quality}]"`;
|
||||||
} else if (videoType === "webm") {
|
} else if (videoType === "webm") {
|
||||||
format = `-f "webm[height<=${quality}]+opus/bv*[height<=${quality}]+ba/${formatId}+m4a/mp4[height=${quality}]+m4a/best[height<=${quality}]"`;
|
format = `-f "webm[height<=${quality}]+opus/bv*[height<=${quality}]+ba/${formatId}+m4a/mp4[height=${quality}]+m4a/best[height<=${quality}]"`;
|
||||||
} else {
|
} else {
|
||||||
|
0
windows.sh
Executable file → Normal file
0
windows.sh
Executable file → Normal file
Loading…
x
Reference in New Issue
Block a user