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

Gyan Doshi ffmpeg at gyani.pro
Mon Mar 16 15:24:40 EET 2020

On 16-03-2020 06:24 pm, Moritz Barsnick wrote:
> On Mon, Mar 16, 2020 at 17:32:42 +0530, Gyan Doshi wrote:
>>> With loglevel verbose, I get:
>>>> Reading option '-f' ... matched as option 'f' (force format) with argument '-i'.
>>> I wonder why ffmpeg doesn't trip over this first. Whatever.
>> -f is paired with -i and file.ts is interpreted as output URL so
>> -filter_complex gets correctly paired with its arg.
> Well understood. However I was wondering about the order of evaluation,
> and somehow expecting
>> [NULL @ 0xbdaf800] Requested output format '-i' is not a suitable output format
> but ffmpeg certainly has its reasons for this order.

-filter_complex is a global option, so parsed first, then input files, 
then the complex filtergraphs are set up, then output files.


More information about the ffmpeg-user mailing list