Gaurav Pathak 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/liba
Hello all,
I am working on encoding a raw yuv stream coming directly from webcam,
using v4l2. The issue that I am facing is that even after using *avpicture_fill
*and assigning every buffer separately as
*frame->data[0] = buffers[buf.index].start;frame->data[1] =
(buffers[buf.index].start)+1;fr