[Ffmpeg-devel] RE: Image formats missing?
Víctor Paesa
wzrlpy
Thu Jul 20 16:15:36 CEST 2006
> I'm just reposting to ask if anybody else has managed
> to build ffmpeg on Windows recently with more image
> reading support than just GIF?
It is not a good idea to repost, your questions belongs more to the
ffmpeg-user list, probably that is why you get no answer here.
>> I'm trying to turn a bunch of jpegs into an AVI movie.
>>
http://ffmpeg.mplayerhq.hu/faq.html#TOC3
>> However aside from the already discussed .dll.xxx versioning
>> problems, there appears to be only GIF support in ffmpeg. I
>> noticed that the code for the image formats is commented
>> out in "libavformat/allformats.h and .cxx" by a #if 0 block.
>>
>> I read most of the docs and faq and compatibility notes
>> but don't see anything about how I get sgi, png, jpeg, or
>> tiff support added to the "configure" script anywhere - and
>> beside it looks like the current #if 0 block will stop this
>> anyway.
>>
Try also the mail archives, since some time ago the image formats
jpeg, png, ppm are supported (and listed) among the video codecs.
This is a good mail thread on it:
http://article.gmane.org/gmane.comp.video.ffmpeg.devel/17380
This is a command line example:
$ ffmpeg -f image2 -i menu.png -f image2 menu.jpg
FFmpeg version SVN-r5704, Copyright (c) 2000-2004 Fabrice Bellard
configuration: --enable-mp3lame --enable-a52 --enable-pthreads
--disable-static --enable-shared --enable-gpl
libavutil version: 49.0.0
libavcodec version: 51.10.0
libavformat version: 50.5.0
built on Jul 12 2006 10:17:45, gcc: 3.4.4 (cygming special) (gdc 0.12,
using dmd 0.125)
Input #0, image2, from 'menu.png':
Duration: 00:00:00.0, start: 0.000000, bitrate: N/A
Stream #0.0: Video: png, rgb24, 720x576, 25.00 fps(r)
Output #0, image2, to 'menu.jpg':
Stream #0.0: Video: mjpeg, yuvj420p, 720x576, q=2-31, 200 kb/s, 25.00
fps(c)
Stream mapping:
Stream #0.0 -> #0.0
Press [q] to stop encoding
frame= 1 q=5.9 Lsize= 0kB time=0.0 bitrate= 0.0kbits/s
video:51kB audio:0kB global headers:0kB muxing overhead -100.000000%
You may also use
"-vcodec ppm",
"-vcodec png",
"-vcodec mjpeg",
to force the encoding.
Beware that there is no codec "jpeg", use "mjpeg" instead.
Regards,
V?ctor Paesa
More information about the ffmpeg-devel
mailing list