mirror of
https://github.com/MasterAcnolo/Freedom-Loader.git
synced 2026-07-29 18:25:47 +02:00
Feat: Add Codec H264 to vidéo output
This commit is contained in:
@@ -17,7 +17,8 @@ function buildYtDlpArgs({ url, audioOnly, quality, outputFolder }) {
|
|||||||
"--fragment-retries", "10",
|
"--fragment-retries", "10",
|
||||||
"--ffmpeg-location", ffmpegPath,
|
"--ffmpeg-location", ffmpegPath,
|
||||||
"--extractor-args","youtube:player_client=default",
|
"--extractor-args","youtube:player_client=default",
|
||||||
"--js-runtimes", `deno:${denoPath}`
|
"--js-runtimes", `deno:${denoPath}`,
|
||||||
|
"-S", "vcodec:h264" // Will be replaced with a variables when i will add the settings panel (Next Update ?)
|
||||||
];
|
];
|
||||||
|
|
||||||
if (audioOnly) args.push("-f", "bestaudio", "--extract-audio", "--audio-format", "mp3");
|
if (audioOnly) args.push("-f", "bestaudio", "--extract-audio", "--audio-format", "mp3");
|
||||||
|
|||||||
Reference in New Issue
Block a user