diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-07-31 01:35:56 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-07-31 02:20:14 +0530 |
commit | 4f04be6add6133d103b4c671cec02128a8a0f16e (patch) | |
tree | ff537a1a23bc4a922afccd77101220e989db4681 /yt_dlp/options.py | |
parent | 8dc593051132fd626e06270e1f540717208025e3 (diff) | |
download | hypervideo-pre-4f04be6add6133d103b4c671cec02128a8a0f16e.tar.lz hypervideo-pre-4f04be6add6133d103b4c671cec02128a8a0f16e.tar.xz hypervideo-pre-4f04be6add6133d103b4c671cec02128a8a0f16e.zip |
Validate `--merge-output-format`
Closes #4489
Diffstat (limited to 'yt_dlp/options.py')
-rw-r--r-- | yt_dlp/options.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/yt_dlp/options.py b/yt_dlp/options.py index 43d1af96d..be53ad3e3 100644 --- a/yt_dlp/options.py +++ b/yt_dlp/options.py @@ -13,6 +13,7 @@ from .cookies import SUPPORTED_BROWSERS, SUPPORTED_KEYRINGS from .downloader.external import list_external_downloaders from .postprocessor import ( FFmpegExtractAudioPP, + FFmpegMergerPP, FFmpegSubtitlesConvertorPP, FFmpegThumbnailsConvertorPP, FFmpegVideoRemuxerPP, @@ -781,9 +782,8 @@ def create_parser(): '--merge-output-format', action='store', dest='merge_output_format', metavar='FORMAT', default=None, help=( - 'If a merge is required (e.g. bestvideo+bestaudio), ' - 'output to given container format. One of mkv, mp4, ogg, webm, flv. ' - 'Ignored if no merge is required')) + 'Container to use when merging formats (e.g. bestvideo+bestaudio). Ignored if no merge is required. ' + f'(currently supported: {", ".join(sorted(FFmpegMergerPP.SUPPORTED_EXTS))})')) video_format.add_option( '--allow-unplayable-formats', action='store_true', dest='allow_unplayable_formats', default=False, |