1
0
Fork 0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-03-09 12:50:23 -05:00

--embed-subs usage update

This commit is contained in:
Rohit 2024-01-19 23:16:50 +05:30
parent 428277de52
commit 34fa76f93f
2 changed files with 6 additions and 3 deletions

View file

@ -1000,8 +1000,10 @@ ## Post-Processing Options:
post-processing (default)
--post-overwrites Overwrite post-processed files (default)
--no-post-overwrites Do not overwrite post-processed files
--embed-subs Embed subtitles in the video (only for mp4,
webm and mkv videos)
--embed-subs Embed subtitles in downloaded media.
This option is available for video (mp4, webm, mkv)
and audio (m4a, mp3, ogg, flac).
When embedding subtitles in audio files, use --convert-subtitles lrc
--no-embed-subs Do not embed subtitles (default)
--embed-thumbnail Embed thumbnail in the video as cover art
--no-embed-thumbnail Do not embed thumbnail (default)

View file

@ -1582,7 +1582,8 @@ def _alias_callback(option, opt_str, value, parser, opts, nargs):
postproc.add_option(
'--embed-subs',
action='store_true', dest='embedsubtitles', default=False,
help='Embed subtitles in the video (only for mp4, webm and mkv videos)')
help='Embed subtitles in downloaded media. This option is available for video (mp4, webm, mkv) and audio (m4a, mp3, ogg, flac). '
'When embedding subtitles in audio files, use --convert-subtitles lrc')
postproc.add_option(
'--no-embed-subs',
action='store_false', dest='embedsubtitles',