mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +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:
		| @@ -107,7 +107,7 @@ class EmbedThumbnailPP(FFmpegPostProcessor): | ||||
|                 options.extend(['-map', '-0:%d' % old_stream]) | ||||
|                 new_stream -= 1 | ||||
|             options.extend([ | ||||
|                 '-attach', thumbnail_filename, | ||||
|                 '-attach', self._ffmpeg_filename_argument(thumbnail_filename), | ||||
|                 '-metadata:s:%d' % new_stream, 'mimetype=%s' % mimetype, | ||||
|                 '-metadata:s:%d' % new_stream, 'filename=cover.%s' % thumbnail_ext]) | ||||
| 
 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Lesmiscore
					Lesmiscore