comeon
March 4, 2022, 2:59pm
1
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
comeon
March 5, 2022, 4:04am
2
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.
comeon
March 7, 2022, 8:56am
5
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.
comeon
March 7, 2022, 10:30am
7
jetson nx, use jetson nx 4.6 platform
Hi,
We have deprecated omx plugin. Please try the suggested pipeline to use nvv4l2decoder .
comeon
March 8, 2022, 1:45am
9
thank you , I try to add nvv4l2decoder ,the pipeline is ok ,and can play !!thanke you
system
Closed
March 30, 2022, 3:49am
11
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.