Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums Compression Techniques wrong chroma buffer offset after decode

  • wrong chroma buffer offset after decode

    Posted by Sanjay Soni on November 9, 2011 at 10:58 am

    Hi,
    I am using ffmpeg to decoder my H264 stream.
    My problem is that in the output yuv – I am seeing that
    data[1] != data[0] + (linesize[0] * height)

    rather data[1] is data[0] + (linesize[0] * height) + some more offset.

    Can somebody tell, why ffmpeg allocates y, u and v pointers separately and not give offset from a big buffer ?

    Reuben Martin replied 14 years, 8 months ago 2 Members · 1 Reply
  • 1 Reply
  • Reuben Martin

    November 13, 2011 at 5:32 pm

    Perhaps your video stream includes VBI?

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy