[FFmpeg-cvslog] ffmpeg_opt: Ask for overwrite in single image2 files too

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Mar 4 01:01:15 CET 2013


Michael Niedermayer <michaelni <at> gmx.at> writes:

> > This produces very inconsistent behaviour here:
> > $ ./ffmpeg -i Vertical400kbit.sorenson3.mov -vframes 1 out.jpg
> > $ ./ffmpeg -i Vertical400kbit.sorenson3.mov -vframes 1 out.jpg
> > 
> > $ ./ffmpeg -i Vertical400kbit.sorenson3.mov out%4d.jpg
> > $ ./ffmpeg -i Vertical400kbit.sorenson3.mov out%4d.jpg
> > 
> > Wasn't it much better before?
> 
> before it overwrote some files without asking and some with asking
> it dependant on the file extension for which one would have to
> memorize a long list or know which would qualify as single image
> formats. You know that list of course but how many of our users do
> know / realize that ?

Imo, the behaviour is inconsistent now.
It can be argued that it was inconsistent before (I admit I 
never saw it that way but it certainly can be seen like that), 
but given that not changing behaviour is also a goal (imo), 
I wonder if changing from one inconsistent behaviour to 
another is an improvement.

[...]

> can you elaborate on why you consider this worse than before ?

I probably assumed users know that the image2 muxer works 
differently (and therefore expect different behaviour). 
If they don't know the new behaviour is still inconsistent 
with all other muxers.

Carl Eugen



More information about the ffmpeg-cvslog mailing list