[FFmpeg-devel] feeding FFmpeg with images

Víctor Paesa victorpaesa
Wed May 5 23:20:37 CEST 2010


Hi,

On Wed, Feb 17, 2010 at 16:39, Dennis Yurichev wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi.
>
> I tried to use image2 option to feed FFmpeg with series of PNG files.
> I got latest FFmpeg from ?http://www.videohelp.com/tools/ffmpeg and it
> works.
> I got latest source code from SVN, build it with MinGW and configure
> with "--enable-memalign-hack" option. It doesn't work:
>
> ==
> C:\msys\1.0\local\bin>ffmpeg -r 1 -f image2 -i tmp_%04d.png out.avi
> FFmpeg version SVN-r21861, Copyright (c) 2000-2010 Fabrice Bellard, et al.
> ?built on Feb 17 2010 16:15:26 with gcc 3.4.5 (mingw-vista special r3)
> ?configuration: --enable-memalign-hack --enable-bzlib --enable-avisynth
> ?libavutil ? ? 50. 9. 0 / 50. 9. 0
> ?libavcodec ? ?52.54. 0 / 52.54. 0
> ?libavformat ? 52.52. 0 / 52.52. 0
> ?libavdevice ? 52. 2. 0 / 52. 2. 0
> ?libswscale ? ? 0.10. 0 / ?0.10. 0
> [image2 @ 0036c630]Could not find codec parameters (Video: 0x0000)
> tmp_%04d.png: could not find codec parameters
> ==
>
> OK, do I need another library, which one?

Yes. The PNG encoder and decoder depend on zlib. You should add it
to your configure command.

This first question really belongs to the ffmpeg-user mail list, as a
"how-to-use-ffmpeg" question.
Your second question is fine in ffmpeg-devel because you talked about
adding a feature to ffmpeg.

Regards,
V?ctor



More information about the ffmpeg-devel mailing list