[Libav-user] Converting YUV Data to AVFrame

Carl Eugen Hoyos cehoyos at ag.or.at
Wed Apr 29 13:00:00 CEST 2015


Gaurav Pathak <gauravpathak129 at ...> writes:

> static void YUV422toRGB888()

This is what libswscale is there for.

But since you are using the following below:

> c->pix_fmt = AV_PIX_FMT_YUV420P;

This conversion is definitely completely wrong.

This is how your email looks like here:
https://ffmpeg.org/pipermail/libav-user/2015-April/008105.html
Consider telling your mailer to send text-only.

Carl Eugen



More information about the Libav-user mailing list