At first, I could execute the following script using nvivafilter element in JetPack3.2.1.
gst-launch-1.0 -v -e
rtspsrc location=rtsp://xx.xx.xx.xx:554
! rtph265depay
! h265parse
! omxh265dec
! nvivafilter cuda-process=true customer-lib-name=“libnvsample_cudaprocess.so”
! ‘video/x-raw(memory:NVMM), format=NV12’
! nvegltransform
! nveglglessink
I use the original as the library “libnvsample_cudaprocess.so”.
Next, I added nvcompositor element above script like the following.
gst-launch-1.0 -v -e
rtspsrc location=rtsp://xx.xx.xx.xx:554
! rtph265depay
! h265parse
! omxh265dec
! nvivafilter cuda-process=true customer-lib-name=“libnvsample_cudaprocess.so”
! ‘video/x-raw(memory:NVMM), format=NV12’
! nvcompositor
! ‘video/x-raw(memory:NVMM), format=RGBA’
! nvegltransform
! nveglglessink
But, I got the next message(almost error for me) immadiately after execustion.
Got EOS from element " pipeline0".
I can’t understandk this situation.
How can I use both nvivafilter and nvcompositor element in one pipeline of gstreamer?