looking for simple example playing h264 via OpenGL

I imagine there must be some example out there but I have not managed to find it… looking for an example that uses V4L2 to decode H264 directly (or as directly as possible) into OpenGL accessible textures (or perhaps OpenGL pixel buffers containing planar YUV data which could be converted to a RGB texture w/an appropriate compute shader).


1 Like

We have tegra_multimedia_api samples installed through sdkmanager. After installation, please check 00_video_decode sample.

The renderer is in


The implementation is not pure OpenGL and need to involve EGL. Please check the source code and see if it can be applied to your usecase.