[FFmpeg-user] ff* command lines that work

Michael Koch astroelectronic at t-online.de
Mon Mar 9 23:30:10 EET 2020


Am 09.03.2020 um 21:49 schrieb Mark Filipak:
> On 03/09/2020 03:39 PM, hydra3333 at gmail.com wrote:
>> Well, I'm a dumb user and google gave me LOTS and LOTS of 
>> commandlines that work - simply filter the google results by the 
>> "date in the last year" to be sure you get the latest syntax.  Lots.
>>
>> You appear to continually avoid "what is it you wish to do with a 
>> specific example video that you have" type questions...
>
> That's a fair observation. You deserve a serious response. May I 
> provide perspective?
>
> It appears to me that ffmpeg commands have the following structure:
> ffmpeg A [[B ...] -i C [D ...]...] [[E ...] [F ...]...]
>  [[i ]...] : inputs
>       A    : general options
>   [B ...]  : input-specific pre-options
>      C     : input URL
>   [D ...]  : input-specific post-options
> ...[[]...] : outputs
>   [E ...]  : output-specific filters
>   [F ...]  : output URL
> Full disclosure: I don't know if all of the above is correct.

As far as I know, there are no input-specific post-options. All input 
specific options must be written before the input. Remove D.
General options can also be written before the output (between E and F).
Filters are always output specific. So E ist just the filter chain.

Michael


More information about the ffmpeg-user mailing list