summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2025-08-26 14:51:29 +0300
committerJan Tuomi <jan@jantuomi.fi>2025-08-26 14:51:29 +0300
commit2e77368f4227a05fdf54b2ec88233bbf5412fbe7 (patch)
treefc9f6abc373396cbcac9815bc3704a64b37be4e1
parent4245b75115732b75e031e98d98f08d0078c87ab9 (diff)
Try without specified codec
-rw-r--r--src/tasks.ts2
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);