You can see the definition of AVPicture and AVFrame, the starting parameters
are the same.
so just use type conversion. All things is ok.
------------------ ???????? ------------------
??????: "Chris Share";
????????: 2013??7??2??(??????) ????8:00
??????: "This list is about using libavco";
????: [Libav-user] How to Convert AVPicture to AVFrame
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
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user