[FFmpeg-devel] JPEG conversion

Jesse L. Zamora xtremek2008
Sun Sep 14 12:52:24 CEST 2008


On Sunday 14 September 2008 01:15:08 am compn wrote:
> 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
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel

Hmm....I tried to use mjpeg....but it says only 8 bits/component 
accepted......maybe I need to make sure the frames are getting to it! :-) And 
also I need to figure out how to send it a part of the jpeg image, since the 
frames are tiled..... :-)

Xtreme Kommander




More information about the ffmpeg-devel mailing list