[FFmpeg-user] Selecting MPEG TS child streams for filter_complex

Mark Filipak markfilipak.windows+ffmpeg at gmail.com
Mon Mar 16 22:42:03 EET 2020

On 03/16/2020 04:37 PM, Carl Zwanzig wrote:
> On 3/16/2020 6:24 AM, Gyan Doshi wrote:
>> -filter_complex is a global option, so parsed first, then input files, then the complex filtergraphs are set up, then output files.
> Is there any reason, then, not to always put -filter_complex as the first parameters of the command line? The Synopsis line in the docs shows global options first but most of the doc examples don't.
> Example-
> ffmpeg -i video.mkv -i image.png -filter_complex '[0:v][1:v]overlay[out]' -map '[out]' out.mkv"
> Or is there another reason for listing inputs, then -filter_complex, then outputs?

I've been told several times by several gurus that filters, including filter_complex, are output specific must be specified directly before the output to which they apply, and. for processes that have multiple outputs, can be differently for each output.


More information about the ffmpeg-user mailing list