[Libav-user] How to Convert AV_PIX_FMT_RGB24 to AV_PIX_FMT_YUV420P

René J.V. Bertin rjvbertin at gmail.com
Fri Feb 15 11:41:58 CET 2013



Chris Share <cpsmusic at yahoo.com> wrote:

>Thanks for the sample code.
>
>I have a couple of further questions:
>
>1. If the input data is in a vector of unsigned chars (RGBRGB...), what
>is the best pixel format to use?

I think that'd by FMT_RGB24 .

R


More information about the Libav-user mailing list