1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-02-09 18:37:50 +08:00
youtube-dl/youtube_dl/postprocessor
Alexandre L 7ec1e417ca
Allow embedding thumbnail in MKV as attachment
To fix rg3#10359, use `-attach` to embed the thumbnail as attachment.
In this version, the attached filename follow the https://matroska.org/technical/cover_art/index.html convention, as pointed in #6046.
The image dimensions are probably not going to respect the convention though, and we assume the thumbnail is in landscape orientation.
As only 2 images type seems to be recognized by the convention, they are hardcoded (mimetypes module would match on extension too).
2017-11-05 01:58:03 +01:00
..
__init__.py Add fixup for media files produced by HlsNative downloader(fixes #4776) 2016-03-01 21:10:41 +01:00
common.py [postprocessor/common] Use 'self._downloader.params' instead of 'self.params' 2015-09-05 12:11:36 +02:00
embedthumbnail.py Allow embedding thumbnail in MKV as attachment 2017-11-05 01:58:03 +01:00
execafterdownload.py [postprocessor/execafterdownload] Encode command line (closes #13407) 2017-06-17 23:16:53 +07:00
ffmpeg.py [postprocessor/ffmpeg] Convert to opus using libopus (closes #14381) 2017-10-02 04:43:25 +07:00
metadatafromtitle.py [postprocessor/metadatafromtitle] Fix missing optional meta fields (closes #13408) 2017-06-17 19:05:10 +07:00
xattrpp.py Move write_xattr to utils.py 2016-09-30 00:28:32 +08:00