tags:

views:

15

answers:

0

Hi,

I have a raw YUYV422 buffer with 8-bit 4:2:2 Component Y’CbCr format (Y0, Cb, Y1, Cr order). I know that ffmpeg's PIX_FMT_YUYV422 only handle 16-bit buffers.So I am getting Bad memory error when scaling that buffer into YUV420P.

Can any one give me a clue, how can I use this buffer with ffmpeg to covert into YUV420.

Thanks,

Raghu