[Ffmpeg-devel] saving frames - which function to use
Mon Feb 26 07:16:16 CET 2007
cool! thanks a lot. works great!!!
can you tell what i should change in this if i want to save it as a YUV
file? it is YUV 420P format.
thansk a lot!
On 23 Feb 2007 05:52:06 -0000, sanjay kumar gupta <sanjay417 at rediffmail.com>
> I am attaching a sample program which is saving each frame of video file
> in .ppm format in the disk as well as displaying each frame on sdl surface.
> you can modify it as per your taste.
> Thanks & Regards,
> On Fri, 23 Feb 2007 mark wrote :
> >I decode video using this function:
> > avcodec_decode_video( m_vDec, m_decodedPicture,
> > &got_picture, (uint8_t*)
> > sampleLength );
> >I want to save each m_decodedPicture to an image file. Can you tell
> >which function I should use for this?
> >Thanks a lot!
> >ffmpeg-devel mailing list
> >ffmpeg-devel at mplayerhq.hu
> <http://adworks.rediff.com/cgi-bin/AdWorks/sigclick.cgi/www.rediff.com/signature-home.htm/1507191490 at Middle5?PARTNER=3>
More information about the ffmpeg-devel