On date Thursday 2009-08-06 12:50:59 +0530, Vivekanand Kumar encoded: > Hi all, > I am new to FFMpeg . > I have got some jpeg data in a buffer and need to display > on x86 PC's terminal. > > can some one please give me the starting clue to implement this? > > I need clue of Api's on following steps. > > a. FFmpeg should decode the image format.
You can use libavformat to open the file and extract the image. At this point you need to use libavcodec to decode the extracted frame containing the image, then you should have e.g. a YUV image. > b.FFMpeg should convert the image data to RGB or any > other raw format which FFmpeg will use to put the image > data on framebuffer. libswscale can be used for this. > c.FFMpeg should put the raw data on display. That's not achievable with FFmpeg, you need an external lib such as libsdl for that (check at how this is done in ffplay.c). > With Regards, > Vivek [...] > This Email may contain confidential or privileged information for the > intended recipient (s) If you are not the intended recipient, please do > not use or disseminate the information, notify the sender and delete it > from your system. Try to avoid such notices the next times, we're on the public Internet... Regards. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
