• Hardware Platform (Jetson / GPU) GPU
• DeepStream Version docker image: nvcr.io/nvidia/deepstream:6.0-base
• Issue Type( questions, new requirements, bugs) question
Hi,
I trying to put the rtsp stream in a simple pipleline using uridecodebin and fakesink, but It doesn’t work.
I use H.265 ip camera. It works when I change the same camera to H.264.
It’s not a URL issue. I can play it using vlc media player.
I found this line. Is it related my issue?
0:00:00.161800899 574 0x7fb3d0004370 WARN h265parse gsth265parse.c:613:gst_h265_parse_process_nal:<h265parse0> failed to parse PPS:
Here are the logs:
root@aa7129b0a930:/opt/nvidia/deepstream/deepstream-6.0/myapp# gst-launch-1.0 --gst-debug=h265parse:5 uridecodebin uri=rtsp://<user>:<password>@<ip address>:554/live/sub ! fakesink
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Progress: (open) Opening Stream
Progress: (connect) Connecting to rtsp://admin:12345@192.168.1.188:554/live/sub
Progress: (open) Retrieving server options
Progress: (open) Retrieving media info
Progress: (request) SETUP stream 0
Progress: (open) Opened Stream
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Progress: (request) Sending PLAY request
Progress: (request) Sending PLAY request
Progress: (request) Sent PLAY request
0:00:00.160277253 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:248:gst_h265_parse_start:<h265parse0> start
0:00:00.160317008 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:176:gst_h265_parse_reset_frame:<h265parse0> reset frame
0:00:00.160977661 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:303:gst_h265_parse_format_from_caps: parsing caps: video/x-h265, stream-format=(string)hvc1, alignment=(string)au, codec_data=(buffer)01420101014000000300000300f000fcfdfffa00000f03200001001840010c01ffff01400000030000030000030000030099ac09210001002042010101400000030000030000030000030099a0058200907f96bb91b06b954122000100044401c073
0:00:00.161002822 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:2217:gst_h265_parse_set_caps:<h265parse0> have packetized h265
0:00:00.161019714 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:2242:gst_h265_parse_set_caps:<h265parse0> nal length size 4
0:00:00.161063555 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:540:gst_h265_parse_process_nal:<h265parse0> processing nal of type 32 VPS, size 24
0:00:00.161087227 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:551:gst_h265_parse_process_nal:<h265parse0> triggering src caps check
0:00:00.161101052 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:434:gst_h265_parser_store_nal:<h265parse0> storing vps 0
0:00:00.161134232 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:540:gst_h265_parse_process_nal:<h265parse0> processing nal of type 33 SPS, size 32
0:00:00.161161408 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:586:gst_h265_parse_process_nal:<h265parse0> triggering src caps check
0:00:00.161185747 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:438:gst_h265_parser_store_nal:<h265parse0> storing sps 0
0:00:00.161204557 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:540:gst_h265_parse_process_nal:<h265parse0> processing nal of type 34 PPS, size 4
0:00:00.161226718 574 0x7fb3d0004370 WARN h265parse gsth265parse.c:613:gst_h265_parse_process_nal:<h265parse0> failed to parse PPS:
0:00:00.161428924 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:349:gst_h265_parse_negotiate:<h265parse0> allowed caps: video/x-h265, parsed=(boolean)true, stream-format=(string)byte-stream, alignment=(string)au; video/x-h265, parsed=(boolean)true, stream-format=(string){ hvc1, hev1, byte-stream }, alignment=(string)au; video/x-h265, parsed=(boolean)true, stream-format=(string){ hvc1, hev1, byte-stream }, alignment=(string){ au, nal }
0:00:00.161455168 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:356:gst_h265_parse_negotiate:<h265parse0> negotiating with caps: video/x-h265, parsed=(boolean)true, stream-format=(string)byte-stream, alignment=(string)au
0:00:00.161474048 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:303:gst_h265_parse_format_from_caps: parsing caps: video/x-h265, parsed=(boolean)true, stream-format=(string)byte-stream, alignment=(string)au
0:00:00.161492233 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:383:gst_h265_parse_negotiate:<h265parse0> selected format byte-stream, alignment au
0:00:00.161563782 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:303:gst_h265_parse_format_from_caps: parsing caps: video/x-h265, stream-format=(string)hvc1, alignment=(string)au, codec_data=(buffer)01420101014000000300000300f000fcfdfffa00000f03200001001840010c01ffff01400000030000030000030000030099ac09210001002042010101400000030000030000030000030099a0058200907f96bb91b06b954122000100044401c073
0:00:00.161581644 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:2217:gst_h265_parse_set_caps:<h265parse0> have packetized h265
0:00:00.161595992 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:2242:gst_h265_parse_set_caps:<h265parse0> nal length size 4
0:00:00.161613126 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:540:gst_h265_parse_process_nal:<h265parse0> processing nal of type 32 VPS, size 24
0:00:00.161638805 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:551:gst_h265_parse_process_nal:<h265parse0> triggering src caps check
0:00:00.161652620 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:434:gst_h265_parser_store_nal:<h265parse0> storing vps 0
0:00:00.161687914 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:403:gst_h265_parse_wrap_nal:<h265parse0> nal length 24
0:00:00.161709007 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:540:gst_h265_parse_process_nal:<h265parse0> processing nal of type 33 SPS, size 32
0:00:00.161731740 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:586:gst_h265_parse_process_nal:<h265parse0> triggering src caps check
0:00:00.161750065 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:438:gst_h265_parser_store_nal:<h265parse0> storing sps 0
0:00:00.161767585 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:403:gst_h265_parse_wrap_nal:<h265parse0> nal length 32
0:00:00.161785900 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:540:gst_h265_parse_process_nal:<h265parse0> processing nal of type 34 PPS, size 4
0:00:00.161800899 574 0x7fb3d0004370 WARN h265parse gsth265parse.c:613:gst_h265_parse_process_nal:<h265parse0> failed to parse PPS:
0:00:00.161945979 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:349:gst_h265_parse_negotiate:<h265parse0> allowed caps: video/x-h265, parsed=(boolean)true, stream-format=(string)byte-stream, alignment=(string)au; video/x-h265, parsed=(boolean)true, stream-format=(string){ hvc1, hev1, byte-stream }, alignment=(string)au; video/x-h265, parsed=(boolean)true, stream-format=(string){ hvc1, hev1, byte-stream }, alignment=(string){ au, nal }
0:00:00.161969233 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:356:gst_h265_parse_negotiate:<h265parse0> negotiating with caps: video/x-h265, parsed=(boolean)true, stream-format=(string)byte-stream, alignment=(string)au
0:00:00.161986948 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:303:gst_h265_parse_format_from_caps: parsing caps: video/x-h265, parsed=(boolean)true, stream-format=(string)byte-stream, alignment=(string)au
0:00:00.162011134 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:383:gst_h265_parse_negotiate:<h265parse0> selected format byte-stream, alignment au
0:00:00.162898028 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:839:gst_h265_parse_handle_frame_packetized:<h265parse0> HEVC nal offset 69
0:00:00.162927185 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:540:gst_h265_parse_process_nal:<h265parse0> processing nal of type 39 PREFIX_SEI, size 65
0:00:00.162943025 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:652:gst_h265_parse_process_nal:<h265parse0> marking SEI in frame at offset 64
0:00:00.162956408 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:403:gst_h265_parse_wrap_nal:<h265parse0> nal length 65
0:00:00.162972265 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:839:gst_h265_parse_handle_frame_packetized:<h265parse0> HEVC nal offset 60422
0:00:00.162989795 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:540:gst_h265_parse_process_nal:<h265parse0> processing nal of type 19 SLICE_IDR_W_RADL, size 60349
0:00:00.163007797 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:1559:gst_h265_parse_update_src_caps:<h265parse0> sps: 0x7fb3f3c16a50
0:00:00.163023079 574 0x7fb3d0004370 INFO h265parse gsth265parse.c:1601:gst_h265_parse_update_src_caps:<h265parse0> resolution changed 704x576
0:00:00.196345190 574 0x7fb3d0004370 FIXME h265parse gsth265parse.c:1798:gst_h265_parse_parse_frame:<h265parse0> Implement timestamp/duration interpolation based on SEI message
0:00:00.196464913 574 0x7fb3d0004370 DEBUG h265parse gsth265parse.c:176:gst_h265_parse_reset_frame:<h265parse0> reset frame