Jetson Nano gstreamer1.0 how to use gtkglsink

“gst-launch-1.0 rtspsrc location=“rtsp://192.168.0.108/1080p.mkv” ! queue ! rtph264depay ! h264parse ! omxh264dec ! nvvidconv ! gtksink” --> ok
but
“gst-launch-1.0 rtspsrc location=“rtsp://192.168.0.108/1080p.mkv” ! queue ! rtph264depay ! h264parse ! omxh264dec ! nvvidconv ! gtkglsink” --> failed

Hi,
Please refer to gstreamer user guide:
https://developer.nvidia.com/embedded/dlc/l4t-accelerated-gstreamer-guide-32-2

On Jetson Nano, we would suggest use nvoverlaysink, nvdrmvideosink, or nveglglessink. Other sink plugin may not bring good performance.

Hi,
Thank you for your support!Now I can play 4k video ,but I want to create a UI and add some controls, and show the video on the added controls, any Suggestions?.Thank you!

Hi,
You mae utilize nvivafilter to access buffers and implement UI. Please check
https://devtalk.nvidia.com/default/topic/1046218/jetson-tx2/unable-to-overlay-text-when-using-udpsrc-/post/5310313/#5310313