Custom gStreamer plugin with EGLStream as input

Hi All,

I need a module which works on video frames present in the device memory. It would do some processing with CUDA, then transfer the frames e.g. to an encoder plugin.

I know there is the nveglstreamsrc plugin which accepts an EGLStream as input, I need the same, my plugin would be the consumer of an EGLStream. Is this possible? How do I have to define the sink pad of this custom module if I want to do that, video/x-raw(memory:NVMM)?

Thank you,
Daniel

After further thinking I realised that nveglstreamsrc only has a source pad and its ‘eglstream’ property has to point to an existing EGLStream, so what I probably need is a pipeline like nveglstreamsrc ! video-x-raw(memory:NVMM) ! gst-custom-plugin ! …

Please refer to
[url]https://devtalk.nvidia.com/default/topic/1001636/jetson-tx1/tearing-in-gstreamer-captured-screen-video-with-opengl-full-screen-mode/post/5137203/#5137203[/url]
[url]https://devtalk.nvidia.com/default/topic/1010929/jetson-tx1/nveglstreamsrc-does-not-receive-egldisplay-and-eglstreamkhr-parameters/post/5160967/#5160967[/url]