Fusing NvEgl Renderer on top of gtk window


I’m creating an app that requires the renderer to be fused on top of gtk window. Is there any way through which we can achieve this, how can we get the handler from renderer and use it on gtk window?

I’m going to render camera frames which I will get from nvargus camera src

1 Like

Please let me know when you found solution for this


hello yashrajs,

may I know which JetPack release version you’re using?

you may have a try with gst pipeline,
for example, $ gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM),width=1920, height=1080, framerate=30/1, format=NV12' ! nvoverlaysink -ev

note, nvoverlaysink is invalid for the latest JetPack-5.x release version.
you may use other element to render camera frames,
for example, $ gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM),framerate=30/1,format=NV12' ! nvvidconv ! fpsdisplaysink text-overlay=0 video-sink=ximagesink sync=0 -v

please see-also developer guide, Approaches for Validating and Testing the V4L2 Driver.
it also shows some sample pipelines to access the camera stream.