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

Michael Niedermayer michaelni at gmx.at
Sun Mar 3 23:55:17 CET 2013


On Sun, Mar 03, 2013 at 09:47:45PM +0000, Carl Eugen Hoyos wrote:
> Michael Niedermayer <git <at> videolan.org> writes:
> 
> > ffmpeg | branch: master | Michael Niedermayer | Sun Mar  3 22:02:22 2013 +0100|
> > [e2427f04b7bc47968f738ce2a1d7d6c7148f240f] | committer: Michael Niedermayer
> > 
> > ffmpeg_opt: Ask for overwrite in single image2 files too
> > 
> > Fixes Ticket1637
> 
> This produces very inconsistent behaviour here:
> $ ./ffmpeg -i fate-suite/svq3/Vertical400kbit.sorenson3.mov -vframes 1 out.jpg
> $ ./ffmpeg -i fate-suite/svq3/Vertical400kbit.sorenson3.mov -vframes 1 out.jpg
> 
> $ ./ffmpeg -i fate-suite/svq3/Vertical400kbit.sorenson3.mov out%4d.jpg
> $ ./ffmpeg -i fate-suite/svq3/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 ?

now it will only overwrite in case of multiple images which always
contain some kind of place holder or wildcard.

also there are strictly fewer cases where the output is overwritten
without asking

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

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

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- 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/20130303/c00e8381/attachment.asc>


More information about the ffmpeg-cvslog mailing list