Important: Please read the Qt Code of Conduct -

Display Raw NV12 Pixel-Map

  • Hello, I'm working on an application that receives a uchar* buffer of raw pixel data, formatted in NV12 pixel format. This data is received from a live source through GStreamer. The pixel data is information for a single complete frame. I was wondering if there was a method to paint this live pixel data to the screen with little latency. I have tried using both QImage and QPixmap, neither have been successful, due to QImage's reliance on RGB pixel formats, and QPixmap's reliance on a file format when loading through loadFromData.

    Of note is that colorspace conversion is not available on my machine, as I am running an embedded processor that gets bottlenecked by such processes.

    Thank you.

  • Lifetime Qt Champion


    Are you using GStreamer directly ? If so, what about QtGStreamer ?

Log in to reply