1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-06-30 18:38:32 +00: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-processing (default)
--post-overwrites Overwrite post-processed files (default) --post-overwrites Overwrite post-processed files (default)
--no-post-overwrites Do not overwrite post-processed files --no-post-overwrites Do not overwrite post-processed files
--embed-subs Embed subtitles in the video (only for mp4, --embed-subs Embed subtitles in downloaded media.
webm and mkv videos) 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) --no-embed-subs Do not embed subtitles (default)
--embed-thumbnail Embed thumbnail in the video as cover art --embed-thumbnail Embed thumbnail in the video as cover art
--no-embed-thumbnail Do not embed thumbnail (default) --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( postproc.add_option(
'--embed-subs', '--embed-subs',
action='store_true', dest='embedsubtitles', default=False, 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( postproc.add_option(
'--no-embed-subs', '--no-embed-subs',
action='store_false', dest='embedsubtitles', action='store_false', dest='embedsubtitles',