Jetson use gstreamer gst-launch-1.0 to get rtsp video,but can not show video

hello , I use gstreamer gst-launch-1.0 to get rtsp video, the command is
gst-launch-1.0 rtspsrc location=“rtsp://admin:hk123456@192.168.1.65/h264/ch1/main/av_stream” ! rtph264depay ! h264parse ! omxh264dec ! nveglglessink -e



then the program can not do work ,the video window show desktop image

then I click ctrl+ c quit .
I can not find error, I use “ACCELERATED GSTREAMER USER GUIDE” 's mothed
but can not run result.

please

run find have gstremer error please help
(gst-launch-1.0:12706): GStreamer-CRITICAL **: 11:25:41.839: gst_caps_is_empty: assertion ‘GST_IS_CAPS (caps)’ failed

(gst-launch-1.0:12706): GStreamer-CRITICAL **: 11:25:41.839: gst_caps_truncate: assertion ‘GST_IS_CAPS (caps)’ failed

(gst-launch-1.0:12706): GStreamer-CRITICAL **: 11:25:41.839: gst_caps_fixate: assertion ‘GST_IS_CAPS (caps)’ failed

(gst-launch-1.0:12706): GStreamer-CRITICAL **: 11:25:41.839: gst_caps_get_structure: assertion ‘GST_IS_CAPS (caps)’ failed

(gst-launch-1.0:12706): GStreamer-CRITICAL **: 11:25:41.839: gst_structure_get_string: assertion ‘structure != NULL’ failed

(gst-launch-1.0:12706): GStreamer-CRITICAL **: 11:25:41.839: gst_mini_object_unref: assertion ‘mini_object != NULL’ failed

Hi,
Please try

gst-launch-1.0 rtspsrc location="rtsp://admin:hk123456@192.168.1.65/h264/ch1/main/av_stream" ! rtph264depay ! h264parse ! nvv4l2decoder ! nvoverlaysink

If the URI is valid you should see video preview.

thanke you
I try

gst-launch-1.0 rtspsrc location="rtsp://admin:hk123456@192.168.1.65/h264/ch1/main/av_stream" ! rtph264depay ! h264parse ! omxh264dec ! video/x-raw ! nveglglessink

can look video , because need video/x-raw to convert gpu to cpu to show video image

Hi,
Do you use L4T platform or DRIVE platform? The category seems wrong and would like to confirm your platform first.

jetson nx, use jetson nx 4.6 platform

Hi,
We have deprecated omx plugin. Please try the suggested pipeline to use nvv4l2decoder.

thank you , I try to add nvv4l2decoder ,the pipeline is ok ,and can play !!thanke you

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.