diff options
author | Lesmiscore <nao20010128@gmail.com> | 2023-03-28 01:17:42 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-28 01:17:42 +0900 |
commit | 0f0875ed555514f32522a0f30554fb08825d5124 (patch) | |
tree | 9fc48d27933fccf8e2b291e013cf6a6eb9289d7c /yt_dlp/postprocessor/ffmpeg.py | |
parent | 95a383be1b6fb00c92ee3fb091732c4f6009acb6 (diff) | |
download | hypervideo-pre-0f0875ed555514f32522a0f30554fb08825d5124.tar.lz hypervideo-pre-0f0875ed555514f32522a0f30554fb08825d5124.tar.xz hypervideo-pre-0f0875ed555514f32522a0f30554fb08825d5124.zip |
[postprocessor/EmbedThumbnail,postprocessor/FFmpegMetadata] Fix error on attaching thumbnails and info json for mkv/mka (#6647)
Authored by: Lesmiscore
Current yt-dlp code never hit this bug, but would hit once filename sanitization gets better
Diffstat (limited to 'yt_dlp/postprocessor/ffmpeg.py')
-rw-r--r-- | yt_dlp/postprocessor/ffmpeg.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/yt_dlp/postprocessor/ffmpeg.py b/yt_dlp/postprocessor/ffmpeg.py index 0e8f4c70b..63fc9ace6 100644 --- a/yt_dlp/postprocessor/ffmpeg.py +++ b/yt_dlp/postprocessor/ffmpeg.py @@ -809,7 +809,7 @@ class FFmpegMetadataPP(FFmpegPostProcessor): new_stream -= 1 yield ( - '-attach', infofn, + '-attach', self._ffmpeg_filename_argument(infofn), f'-metadata:s:{new_stream}', 'mimetype=application/json', f'-metadata:s:{new_stream}', 'filename=info.json', ) |