]> jfr.im git - yt-dlp.git/blobdiff - youtube_dlc/options.py
Better Format Selection
[yt-dlp.git] / youtube_dlc / options.py
index bbec33678bfd883d8b08b7dd874b3a9474b12866..44eba3e9c7359cde7f36fcbe01f39183d214186f 100644 (file)
@@ -415,6 +415,22 @@ def _comma_separated_values_options_callback(option, opt_str, value, parser):
         help=(
             'Some fields have precedence over the user specified sort order (default), '
             'see "Sorting Formats" for more details'))
+    video_format.add_option(
+        '--video-multistreams',
+        action='store_true', dest='allow_multiple_video_streams', default=True,
+        help='Allow multiple video streams to be merged into a single file (default)')
+    video_format.add_option(
+        '--no-video-multistreams',
+        action='store_false', dest='allow_multiple_video_streams',
+        help='Only one video stream is downloaded for each output file')
+    video_format.add_option(
+        '--audio-multistreams',
+        action='store_true', dest='allow_multiple_audio_streams', default=True,
+        help='Allow multiple audio streams to be merged into a single file (default)')
+    video_format.add_option(
+        '--no-audio-multistreams',
+        action='store_false', dest='allow_multiple_audio_streams',
+        help='Only one audio stream is downloaded for each output file')
     video_format.add_option(
         '--all-formats',
         action='store_const', dest='format', const='all',