I am working on drawing shapes on a rtsp stream on Yocto on an imx.8 board. In order to do that, I have constructed a Gstreamer pipeline to a glimagesink. The video is rendered successfully. However, I am looking for a way to render some shapes on the video. Then I want to send the video with shapes via UDP.
I would appreciate suggestions or working examples on:
- How to get opengl context from glimagesink
- How to bind textures to the video before it is rendered.