[FFmpeg-devel] JPEG conversion

Benjamin Larsson banan
Sat Sep 13 22:03:27 CEST 2008

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:
>> One of them must suit your needs.
> Hmm......do you think any of them would work with regular JFIF jpeg images?

CODEC_ID_MJPEG is a good bet, but try all and see what works best.

Benjamin Larsson

More information about the ffmpeg-devel mailing list