[FFmpeg-devel] JPEG conversion

compn tempn
Sun Sep 14 07:15:08 CEST 2008


On Sat, 13 Sep 2008 16:01:51 -0400, Jesse L. Zamora wrote:
>On Saturday 13 September 2008 12:08:47 pm Mike Melanson wrote:
>> Jesse L. Zamora wrote:
>> > Hello everyone,
>> >
>> >     Are there any routines in ffmpeg for JPEG decoding? If so, I'd like
>> > to use them for my SMV decoder now that the demuxer is working.
>>
>> You have a few different variations to choose from in FFmpeg. Check the
>> codec list in libavcodec/avcodec.h:
>>
>> CODEC_ID_MJPEG
>> CODEC_ID_MJPEGB
>> CODEC_ID_LJPEG
>> CODEC_ID_JPEGLS
>>
>> One of them must suit your needs.
>
>Hmm......do you think any of them would work with regular JFIF jpeg images?

mplayer uses ffmjpeg to decode standalone jpeg images
mplayer mf://file.jpg to see it in action.

-compn




More information about the ffmpeg-devel mailing list