From e905c4a581530da2fbffc1d4e6cb93d6520d6935 Mon Sep 17 00:00:00 2001 From: rroller Date: Thu, 26 Dec 2024 21:01:15 -0800 Subject: [PATCH] Prefer h264 --- src/media/fetch.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/media/fetch.go b/src/media/fetch.go index 0770748..99c4c6f 100644 --- a/src/media/fetch.go +++ b/src/media/fetch.go @@ -154,6 +154,7 @@ func downloadMedia(url string, requestArgs map[string]string) (string, string, e "--merge-output-format": "mp4", "--trim-filenames": "100", "--recode-video": "mp4", + "--format-sort": "codec:h264", "--restrict-filenames": "", "--write-info-json": "", "--verbose": "",