From 7006dabd4c5f48d55459b3d8d9b16068b44fcb0c Mon Sep 17 00:00:00 2001 From: 0x9fff00 <0x9fff00+git@protonmail.ch> Date: Fri, 22 Feb 2019 20:25:42 +0100 Subject: [PATCH] From @0x9fff00: `-map 0` is needed to copy all streams from the source file (untested) Co-Authored-By: Alex131089 --- youtube_dl/postprocessor/embedthumbnail.py | 1 + 1 file changed, 1 insertion(+) diff --git a/youtube_dl/postprocessor/embedthumbnail.py b/youtube_dl/postprocessor/embedthumbnail.py index 6446116ff..6481a87fe 100644 --- a/youtube_dl/postprocessor/embedthumbnail.py +++ b/youtube_dl/postprocessor/embedthumbnail.py @@ -63,6 +63,7 @@ class EmbedThumbnailPP(FFmpegPostProcessor): options = [ '-c', 'copy', + '-map', '0', '-attach', thumbnail_filename, # https://matroska.org/technical/cover_art/index.html as pointed in #6046 # No orientation detection nor dimensions checking/convertion