[Libav-user] How to Convert AVPicture to AVFrame

Chris Share cpsmusic at yahoo.com
Tue Jul 2 14:00:22 CEST 2013


Hi,

I'm resurrecting a project that I was working on a few months ago. The project involves converting a series of images (pngs) into a movie.

So far I've managed to load the pngs and convert them from RGB24 to YUV420P using sws_scale(...). For each image sws_scale produces an AVPicture.

What I'm not clear about is how to convert the AVPicture to an AVFrame as per the encoding_decoding.c example.

Cheers,

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130702/30c50b4d/attachment.html>


More information about the Libav-user mailing list