Using h264parse to parse data from an XProtect stream

raw rawane at zaka.ai
Fri Aug 28 10:36:19 UTC 2020


I am developing a cpp plugin that can be called by an Xprotect camera using
the VMS VPService. I've built this pipeline:

fromxprotectconverter: VPS plugin
queue: 'src' pad linked to the 'src_metadata' pad of the
fromxprotectconverter
fakesink: linked to the above queue
queue: src' of the queue linked to the 'src_video' pad of the
fromxprotectconverter
h264parse: linked to the latter queue
nvv4l2decoder: linked to h264parse
nvstreammux: linked to nvv4l2decoder
Other nvidia plugins..

When the XProtect camera connects to my plugin, I get the following and
everything hangs afterwards:

0:07:32.068834397  76 0x7f4cc0003ed0 WARN        h264parse
gsth264parse.c:1237:gst_h264_parse_handle_frame:<parser> broken/invalid nal
Type: 5 Slice IDR, Size: 7 will be dropped

0:07:32.068847829  76 0x7f4cc0003ed0 WARN        h264parse
gsth264parse.c:1237:gst_h264_parse_handle_frame:<parser> broken/invalid nal
Type: 2 Slice DPA, Size: 27 will be dropped

0:07:32.068857950  76 0x7f4cc0003ed0 WARN        h264parse
gsth264parse.c:1237:gst_h264_parse_handle_frame:<parser> broken/invalid nal
Type: 29 Invalid, Size: 179 will be dropped

0:07:32.192218867  76 0x7f4cc0003ed0 WARN        h264parse
gsth264parse.c:1237:gst_h264_parse_handle_frame:<parser> broken/invalid nal
Type: 2 Slice DPA, Size: 17794 will be dropped

 
It seems that h264parse gstreamer plugin is not able to properly parse the
incoming stream. Any ideas? Thanks.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list