From 2e77368f4227a05fdf54b2ec88233bbf5412fbe7 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Tue, 26 Aug 2025 14:51:29 +0300 Subject: Try without specified codec --- src/tasks.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tasks.ts') diff --git a/src/tasks.ts b/src/tasks.ts index 57a94d1..5f3f672 100644 --- a/src/tasks.ts +++ b/src/tasks.ts @@ -24,7 +24,7 @@ export const runDownloadUrlTask = async (task: Task) => { } const { stdout } = await asyncExec( - `yt-dlp -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]" -S vcodec:h264 --restrict-filenames -o "${filename}" -P downloads --cookies-from-browser chromium "${task.url}"`, + `yt-dlp -f "bestvideo[ext=mp4]+bestaudio[ext=m4a]" --restrict-filenames -o "${filename}" -P downloads --cookies-from-browser chromium "${task.url}"`, ); console.log(stdout); task.respondWithFile(filename); -- cgit v1.3