[Libav-user] 回复: How to Convert AVPicture to AVFrame
Tocy
zyvj at qq.com
Tue Jul 2 15:36:35 CEST 2013
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20130702/55ceec51/attachment.html>
More information about the Libav-user
mailing list