[FFmpeg-user] flame about confusing command line options.

Reindl Harald h.reindl at thelounge.net
Tue Jan 5 15:29:13 CET 2016



Am 05.01.2016 um 15:04 schrieb Roger Pack:
> As a note, I just had to get this off my chest, and I'll only say this
> once.  Some of FFmpeg's command line syntax is *confusing* and *super
> confusing* for beginners.
>
> For instance this:
>
> ffmpeg -r 30 -i input_file
>
> specifies a framerate *override* for the input, however if you specify
> it for the output, its just the "normal" output frame rate...:

what else would you expect?

> ffmpeg -i input -r 10 output
>
> and this:
> ffmpeg -i input -f rawvideo -f nut output.nut
>
> Using (or being able to use)  "-f"
> typically using two "-f" s would be an override.  But in this case it
> isn't.  In fact, its using "-f" to specify two entirely different
> aspects of the output file.  It's hard to see, but to beginners, this
> is *super* confusing.

it *is* a override

> Being able to specify global settings "in the middle of an input file"
> is also confusing..

there is NOTHING "in the middle"

since it's *after* "-i" it's no longer for the input file and when you 
specify something twice the right one wins, the same for GCC because 
otherwise you would not be able to override at all


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20160105/8e4b3733/attachment.sig>


More information about the ffmpeg-user mailing list