mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-23 14:52:38 +00:00
Embed description and URL as MP4 tags
This commit is contained in:
parent
910c552052
commit
bd3cbe0716
@ -509,6 +509,10 @@ class FFmpegMetadataPP(FFmpegPostProcessor):
|
|||||||
metadata['artist'] = info['uploader']
|
metadata['artist'] = info['uploader']
|
||||||
elif info.get('uploader_id') is not None:
|
elif info.get('uploader_id') is not None:
|
||||||
metadata['artist'] = info['uploader_id']
|
metadata['artist'] = info['uploader_id']
|
||||||
|
if info.get('description') is not None:
|
||||||
|
metadata['description'] = info['description']
|
||||||
|
if info.get('webpage_url') is not None:
|
||||||
|
metadata['comment'] = info['webpage_url']
|
||||||
|
|
||||||
if not metadata:
|
if not metadata:
|
||||||
self._downloader.to_screen('[ffmpeg] There isn\'t any metadata to add')
|
self._downloader.to_screen('[ffmpeg] There isn\'t any metadata to add')
|
||||||
|
Loading…
Reference in New Issue
Block a user