Feat: Add Codec H264 to vidéo output

This commit is contained in:
MasterAcnolo
2026-01-14 10:06:17 +01:00
parent 43869420c0
commit 42ae0e7204

View File

@@ -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");