[Ffmpeg-devel] saving frames - which function to use

mark rkmr.em
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!
 mark


On 23 Feb 2007 05:52:06 -0000, sanjay kumar gupta <sanjay417 at rediffmail.com>
wrote:
>
> 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,
> sanjay
>
>
> On Fri, 23 Feb 2007 mark wrote :
> >Hi
> >I decode video using this function:
> >
> >  avcodec_decode_video( m_vDec, m_decodedPicture,
> >                                              &got_picture, (uint8_t*)
> >samplePtr,
> >                                              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!
> >mark
> >_______________________________________________
> >ffmpeg-devel mailing list
> >ffmpeg-devel at mplayerhq.hu
> >http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>
>
> <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 mailing list