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

Michael Niedermayer michaelni at gmx.at
Mon Mar 4 01:12:24 CET 2013


On Mon, Mar 04, 2013 at 12:01:15AM +0000, Carl Eugen Hoyos wrote:
> 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).

the user doesnt choose the image2 muxer nor does he even know what
that is
the user has a input file and wants a output file and after some
RTFM he finds out that he needs to put -i before the input
and at that point he would get a overwrite warning consistently now
but not previously.


> If they don't know the new behaviour is still inconsistent 
> with all other muxers.

you are missing the segment muxer

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Into a blind darkness they enter who follow after the Ignorance,
they as if into a greater darkness enter who devote themselves
to the Knowledge alone. -- Isha Upanishad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-cvslog/attachments/20130304/655dc8a9/attachment.asc>


More information about the ffmpeg-cvslog mailing list