[FFmpeg-user] ff* command lines that work

Mark Filipak markfilipak.windows+ffmpeg at gmail.com
Tue Mar 10 00:31:46 EET 2020


On 03/09/2020 05:30 PM, Michael Koch wrote:
> 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.

Thank you, Michael. I'll keep that in mind.

> 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).

Thank you! That's really good to know.

> Filters are always output specific. So E ist just the filter chain.

True. I intended to indicate that E is an individual filter. I'm unsure 
whether, in a filter chain, all filters are delimited by semi-colons. If 
they are, then I can indicate it, thusly:

[[E [;F ...] [G ...]...]
    E   : filter
   ;F   : following filter
    G   : output URL


More information about the ffmpeg-user mailing list