hello, I wanna to show H264 video in QWidget. I decode the video into yv12,can some one help me how to show yuv directly in QWidget or QML Item with convert to RGB. I have already know that SDL can render yuv which use glsl but with GLX1.2 .
actually vaapi may help,but I dont know how to use it with ffmpeg.
I found QVideoSurfaceGLPainter using qt_glsl_yuvPlanarShaderProgram that support render yuv directly , but I dont know how to use it, would you please show me the way ,