[Ffmpeg-devel] jpg to flv not /always/ working
Joris
ffmpeg
Tue Oct 24 12:21:08 CEST 2006
Hi there,
when converting a jpeg file (renamed to <filename>.mjpeg) to flv using
# ffmpeg -vcodec mjpeg -i works.jpeg.mjpeg works.flv
everything is working fine:
FFmpeg version SVN-r6663, Copyright (c) 2000-2006 Fabrice Bellard, et al.
configuration: --enable-gpl --enable-a52 --enable-libgsm --enable-xvid
--enable-amr_nb --enable-amr_wb --enable-mp3lame --enable-libogg --enable-vorbis
libavutil version: 49.0.1
libavcodec version: 51.20.0
libavformat version: 50.6.0
built on Oct 19 2006 20:22:42, gcc: 4.1.2 20060901 (prerelease) (Debian
4.1.1-13)
Input #0, mjpeg, from 'works.jpeg.mjpeg':
Duration: N/A, bitrate: N/A
Stream #0.0: Video: mjpeg, yuvj420p, 640x416, 25.00 fps(r)
Output #0, flv, to 'works.flv':
Stream #0.0: Video: mjpeg, yuvj420p, 640x416, 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= 24kB time=0.0 bitrate=4822.2kbits/s
video:23kB audio:0kB global headers:0kB muxing overhead 0.752162%
But, not always.
Using a different jpeg file
I get
# ffmpeg -vcodec mjpeg -i doesntwork.jpg.mjpeg doesntwork.flv
<as above>
[mjpeg @ 0xa5a330]mjpeg: unsupported coding type (c2)
[mjpeg @ 0x8549d0]Could not find codec parameters (Video: mjpeg)
doesntwork.jpg.mjpeg: could not find codec parameters
As this is working in one case and not the other I though I should post this
to devel.
The both files used can be found here:
http://nettsein.net/tesclips/works.jpeg
and
http://nettsein.net/testclips/doesntwork.jpg
Thank you for your help and your great work!
-Joris
More information about the ffmpeg-devel
mailing list