From 7b34d3735ddbda33e3668415591c5ca5fe3787b9 Mon Sep 17 00:00:00 2001 From: Colin Hebert Date: Mon, 20 Nov 2023 09:00:30 +1100 Subject: [PATCH] Update ytdl to use h264/h265 and en subtitles --- services/youtube-dl/config/ytdl_options.json | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/services/youtube-dl/config/ytdl_options.json b/services/youtube-dl/config/ytdl_options.json index 698b2cb..5d59435 100644 --- a/services/youtube-dl/config/ytdl_options.json +++ b/services/youtube-dl/config/ytdl_options.json @@ -1,18 +1,15 @@ { "writesubtitles": true, "subtitleslangs": [ - "all", + "en", "-live_chat" ], "subtitlesformat": "ass/srt/best", "postprocessors": [ { "key": "FFmpegEmbedSubtitle" - }, - { - "key": "FFmpegMetadata" } ], - "format": "(bv*[vcodec~='^((he|a)vc|h26[45])']+ba) / (bv*+ba/b)", + "format": "bv*[vcodec~='^((he|a)vc|h26[45])']+ba[ext=m4a]/b[vcodec~='^((he|a)vc|h26[45])'] / bv*+ba/b", "merge_output_format": "mkv" }