diff options
| author | Jan Tuomi <jan@jantuomi.fi> | 2025-08-26 14:51:29 +0300 |
|---|---|---|
| committer | Jan Tuomi <jan@jantuomi.fi> | 2025-08-26 14:51:29 +0300 |
| commit | 2e77368f4227a05fdf54b2ec88233bbf5412fbe7 (patch) | |
| tree | fc9f6abc373396cbcac9815bc3704a64b37be4e1 | |
| parent | 4245b75115732b75e031e98d98f08d0078c87ab9 (diff) | |
Try without specified codec
| -rw-r--r-- | src/tasks.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
