mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-08 05:02:29 +00:00
[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
This commit is contained in:
@@ -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',
|
||||
)
|
||||
|
Reference in New Issue
Block a user