Hi!
I have used this pipeline on many Hikvision camera models successfully but for one particular model it doesn’t work (does not show any image although cannot find explicit error in log):
gst-launch-1.0 rtspsrc location=rtsp://usr:psw@192.168.38.51/Streaming/Channels/101 latency=80 ! queue ! rtph264depay ! h264parse ! nvv4l2decoder ! nvvidconv ! 'video/x-raw(memory:NVMM), format=(string)NV12' ! nv3dsink -e
Compared to other models: a wide-angle (5120x1440) is the only significant difference I can assume. Needless to say that same RTSP H264 stream is tested perfectly over VLC.
After enabling verbose mode among other logs I noticed this:
**gstv4l2object.c:4532:gst_v4l2_object_probe_caps:<nvv4l2decoder0:sink> probed caps:**
**video/x-h264**, stream-format=(string)byte-stream, alignment=(string)au, width=(int)[ 48, 4096 ], height=(int)[ 48, 4096 ], parsed=(boolean)true;
Does it mean GStreamer can’t handle H264 higher than 4096 px? If yes, what would be the workarounds?
I can’t lower input resolution at this camera’s channel because it is non-editable. I tried with: width=(int)4095, height=(int)1153
in pipeline but doesn’t work neither!
I’m attaching debug log…
Many thanks in advance!
GST_DEBUG=5.txt|attachment (40.3 MB)