[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:
Consider telling your mailer to send text-only.

Carl Eugen

More information about the Libav-user mailing list