On 6/19/10 3:07 AM, Ingo Thies wrote: > Hi, > > On Sat, June 19, 2010 00:15, Alexander Hansen wrote: > >> Also, does the example command work with the existing ffmpeg? > > Unfortunately not, and I am getting more and more the suspicion that the > installation is somewhat corrupted: > > Actually, I tried the command > > ffmpeg -f image2 -i sph.gif.%d sph.mp4 > > (the input files, from an exploded animated GIF with gifsicle, are > sph.gif.000, sph.gif.001 ...), and > > ffmpeg -f image2 -i sph.gif.%d.jpg sph.mp4 > > after converting the sph.gif.*** into jpegs via convert (imagemagick). In > both cases, I got an error message like > > FFmpeg version UNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al. > configuration: --prefix=/sw --mandir=/sw/share/man --enable-shared > --enable-gpl --enable-pp --enable-swscaler --enable-pthreads > --enable-x11grab --enable-liba52 --enable-libamr-nb --enable-libfaac > --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libtheora > --enable-libvorbis --enable-libx264 --enable-libxvid --disable-mmx > --disable-iwmmxt --disable-altivec --arch=x86_32 > libavutil version: 49.6.0 > libavcodec version: 51.49.0 > libavformat version: 52.2.0 > built on Jun 18 2010 20:40:27, gcc: 4.0.1 (Apple Inc. build 5490) > sph.gif.%d.jpg: I/O error occured > Usually that means that input file is truncated and/or corrupted.
I just tried this with Fink's current ffmpeg-0.4.... and got the same result. However, there is a solution. > What concerns me first is that Fink obviously tried to compile the stuff > via Apples overaged GCC 4.0.1 instead of Fink's GCC 4.4. After all, ffmpeg > obviously does not know its own version. This is perfectly normal and expected. Most Fink packages use XCode's gcc unless they absolutely need to use one of Fink's newer GCCs. > Does anyone have any hints what's going on here? Actually, I do now :) - For pic.png.1 --> pic.png.%d: could not find codec parameters - For pic.png.001 --> pic.png.%d: I/O error occured. Usually that means that input file is truncated and/or corrupted. You need to pad %d as %03d for 001, 002, etc. thought that will still fail here at the end. - For pic001.png --> Success! So at least at Fink's current version, the file format extension apparently needs to be the last entry in a filename and %d must be padded appropriately. Hanspeter ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users