hikvision camera rstp problem

Alejandro Vazquez avazquez.dev at gmail.com
Wed Sep 21 10:07:11 UTC 2022


Hi all!
I am testing a hikvision camera (RTSP/H264) and sometimes It takes several
seconds (sometimes +1minutes) for the camera to play back the stream.

I get the log and I see some warnings and errors,

The main problem is an internal data error and can't be linked.

...
gstelement.c:1012:gst_element_get_static_pad: no such pad 'stream_%u' in
element "rtspsrc0"
gst_element_get_compatible_pad:<rtspsrc0> Could not find a compatible pad
to link to rtph264depay0:sink
gst_element_link_pads_filtered: Could not link pads: rtspsrc0:(null) -
rtph264depay0:(null)
...
gst_base_src_loop:<udpsrc3> pausing after gst_pad_push() = not-linked
gst_base_src_loop:<udpsrc3> error: Internal data stream error.
gst_base_src_loop:<udpsrc3> error: streaming stopped, reason not-linked (-1)
...

I uploaded a complete debug log https://pastebin.com/mJzHuYpB

I would like to know why this happens sometimes and see if it is possible
to solve the problem.

Thank you, I appreciate any feedback.

Conf:
- GStreamer 1.21.0.1
- Pipeline:  gst-launch-1.0 rtspsrc location="rtsp://
admin:admin at 192.168.0.226/streaming/channels/101/" ! rtph264depay !
h264parse ! avdec_h264 ! xvimagesink
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20220921/4a82dad0/attachment.htm>


More information about the gstreamer-devel mailing list