[FFmpeg-devel] feeding FFmpeg with images

Dennis Yurichev dennis
Wed Feb 17 15:39:46 CET 2010


-----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?

Next question: it seems, it is not possible to set timestamps for all
input images? Only possible to set framerate? If I want to add this
feature, what is the best place if FFmpeg to start hacking?

I probably need to modify img_read_header() and img_read_packet(). What
structures fields I should use?

Thanks in advance!

- -- 
My PGP public key: http://yurichev.com/dennis.yurichev.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkt7/7IACgkQ1YPmFmJG++MIcwCgy0q+9Bw+emiE7UKwMlxNYEiP
n8kAoLAuq1HIoyqy18106h+As6sEWEck
=GJNA
-----END PGP SIGNATURE-----



More information about the ffmpeg-devel mailing list