[FFmpeg-devel] [PATCH] Add an example showing how to add streams to the output file

The Wanderer inverseparadox
Fri Aug 29 01:29:11 CEST 2008


Stefano Sabatini wrote:

> On date Wednesday 2008-08-27 19:23:42 -0400, compn encoded:
> 
>> On Wed, 27 Aug 2008 22:18:00 +0200, Stefano Sabatini wrote:

>>> I'll added more explanations and reformulated the command
>>> (-vcodec -acodec now specified just before the output file and
>>> not intermixed as before).
>> 
>> i'm sure this has been discussed before, but why arent the options
>> able to be placed in any order like mplayer/mencoder ?
> 
> Because they're context sensitive, they always refer to the *next*
> file, since they fill the context that it is passed to the next
> input/output encountered on the command line.

Something similar is, or should be, true for at least MPlayer and
possibly MEncoder as well: options specified before any file are applied
to all files (-fs, -ss, -brightness, etc.), options specified after any
file are applied only to the immediately preceding file and override any
"global" option in the same way as the "global" options override the
config file.

-- 
       The Wanderer

Warning: Simply because I argue an issue does not mean I agree with any
side of it.

Secrecy is the beginning of tyranny.




More information about the ffmpeg-devel mailing list