Changes between Version 22 and Version 23 of Map


Ignore:
Timestamp:
May 31, 2020, 11:15:19 PM (6 years ago)
Author:
llogan
Comment:

title. linked to examples in Modifiers section.

Legend:

Unmodified
Added
Removed
Modified
  • Map

    v22 v23  
     1{{{
     2#!html
     3<h1 style="font-size: 22px;">
     4Selecting streams with the -map option
     5</h1>
     6}}}
     7
    18[[PageOutline]]
    29
     
    3239== Modifiers ==
    3340
    34 * A `-` character before the `input_file_index` creates a ''negative mapping''. It disables matching streams from already created mappings.
    35 * A trailing `?` will allow the map to be optional: if the map matches no streams the map will be ignored instead of failing. Note the map will still fail if an invalid `input_file_index` is used; such as if the map refers to a non-existent input.
     41* A `-` character before the `input_file_index`, such as `-map -0:v`, creates a ''negative mapping''. It disables matching streams from already created mappings. See [#Everythingexceptaudio example].
     42* A trailing `?`, such as `-map 1:a?`, will allow the map to be optional. If the map matches no streams the map will be ignored instead of failing. Note the mapping will still fail if an invalid `input_file_index` is used; such as if the map refers to a non-existent input. See [#Optionalmapping example].
    3643
    3744== Order ==
     
    145152You can use almost any arbitrary names to label the filter outputs.
    146153
    147 == Different outputs ==
     154== Multiple outputs ==
    148155
    149156Output video to `video.mp4`. Output audio stream index !#1 (the 2nd audio stream) to `audio_1.mp3`. Output audio stream index !#3 (the 4th audio stream) to `audio_3.wav`: