F dating direct 1000 txt 1000| / encoder filtergraph | filtered |/ | frames | |__________| filter, which only sets timestamps and otherwise passes the frames unchanged.
Each input or output url can, in principle, contain any number of streams of different types (video/audio/subtitle/attachment/data).
The allowed number and/or types of streams may be limited by the container format.
Selecting which streams from which inputs will go into which output is either done automatically or with the refers to the fourth stream in the third input file. As a general rule, options are applied to the next specified file.
Therefore, order is important, and you can have the same option on the command line multiple times.
This is the case, for example, when the graph has more than one input and/or output, or when output stream type is different from input.
Stream handling is independent of stream selection, with an exception for subtitles described below.
Stream handling is set via the option is specified for a stream type, ffmpeg will select the default encoder registered by the output file muxer. If a subtitle encoder is specified for an output file, the first subtitle stream found of any type, text or image, will be included.
Each occurrence is then applied to the next input or output file.
Exceptions from this rule are the global options (e.g. Do not mix input and output files – first specify all input files, then all output files.