[FFmpeg-user] ff* command lines that work

Mark Filipak markfilipak.windows+ffmpeg at gmail.com
Tue Mar 10 02:35:40 EET 2020


On 03/09/2020 08:18 PM, Carl Eugen Hoyos wrote:
> Am Di., 10. März 2020 um 01:09 Uhr schrieb Mark Filipak
> <markfilipak.windows+ffmpeg at gmail.com>:
> 
>> ffmpeg [A ...] [B ...] -i C [[D ...] -i E ...] [F ...] [G] [H ...] [[I
>> ...] J [[K ...] L ...]]
>>    A ... : general options, if any
>>    B ... : first input options, if any
>>    -i C  : first input-URL
>>    D ... : second input options, if any
>>    -i E  : second input-URL, if any, etc.
>>    F ... : more general options, if any
>>      G   : filter chains, if any
>>    H ... : more general options, if any
>>    I ... : first output-specific filters, if any
>>      J   ; first output-URL, if any
>>    K ... ; second output options, if any
>>      L   : second output-URL, if any, etc.
> 
> A and F are the same and their position does not matter.
> (And they should be rare, things like "-y" and "-loglevel")
> 
> More important is that every output file can have its own
> filterchain: either (-vf and/or -af) or -filter_complex.
> 
> Carl Eugen

Thank you, Carl. How about this?:

ffmpeg [A] [B] -i C [[D] -i E ...] [F] [[G] [H] I [[J] [K] L] ...]
    A  : general options, if any
    B  : first input options, if any
  -i C : first (possibly only) input-URL
    D  : second input options, if any
  -i E : second input-URL, if any, etc.
    F  : additional general options, if any
    G  : first output filter chain, if any
    H  : first output options, if any
    I  : first output-URL, if any
    J  ; second output filter chain, if any
    K  ; second output options, if any
    L  : second output-URL, if any, etc.


More information about the ffmpeg-user mailing list