Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) : Jetson Nano • DeepStream Version 6.0.1 • JetPack Version (valid for Jetson only) (4.6.4-b39) • TensorRT Version • NVIDIA GPU Driver Version (valid for GPU only) • Issue Type( questions, new requirements, bugs) h265 encoging issue • How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
Just use a sink with rtsp out with source as h.265 and rtsp out as h.265 and use rtsp out with ffplay • Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)
ffplay rtsp://192.168.55.1:8555/ds-test
[hevc @ 0x7e24440062c0] PPS id out of range: 00KB sq= 0B f=0/0
Last message repeated 1 times
[hevc @ 0x7e24440062c0] Error parsing NAL unit #0.
[hevc @ 0x7e24440062c0] PPS id out of range: 00KB sq= 0B f=0/0
Last message repeated 1 times
[hevc @ 0x7e24440062c0] Error parsing NAL unit #0.
Input #0, rtsp, from ‘rtsp://192.168.55.1:8555/ds-test’: 0B f=0/0
Metadata:
title : Session streamed with GStreamer
comment : rtsp-server
Duration: N/A, start: 0.066800, bitrate: N/A
Stream #0:0: Video: hevc (Main), yuv420p(tv), 1920x1080, 30 fps, 30 tbr, 90k tbn, 90k tbc
=> NOTE: ffplay with source rtsp from IP camera works fine (192.168.144.25:8554/main.264)
I dont see the error on deepstream-app console. The errors are coming from ffplay command.
Btw, is there a reference solution / sample, config which works with h.265 rtsp out which I can refer to?
What direction i should go to debug this issue.
could you share the deepstream-app configuration file? please check if it is encoding issue, if using filesink(record to the local file), does this error still happen playing by ffplay?
you can enable sink1 to use filesink. please refer to /opt/nvidia/deepstream/deepstream/samples/configs/deepstream-app/source4_1080p_dec_infer-resnet_tracker_sgie_tiled_display_int8.txt.
you can use “ctrl +c” to close the application, then use ffplay to play the local file. please check if using ffplay to play the local file also output the same errors.
No errors on ffplay local file.
I copied 1.mp4 (from jetson) on the same machine (host) (192.168.55.100) on which i was doing ffplay, so it was same ffplay in both cases
[NULL @ 0x7801380062c0] PPS id out of range: 00KB sq= 0B f=0/0
[hevc @ 0x7801380be780] PPS id out of range: 0
[hevc @ 0x7801380be780] Error parsing NAL unit #0.
[NULL @ 0x7801380062c0] PPS id out of range: 0
[hevc @ 0x7801381e2c00] PPS id out of range: 0
[hevc @ 0x7801381e2c00] Error parsing NAL unit #0.
[NULL @ 0x7801380062c0] PPS id out of range: 00KB sq= 0B f=0/0
[hevc @ 0x7801381f3180] PPS id out of range: 0
[hevc @ 0x7801381f3180] Error parsing NAL unit #0.
[NULL @ 0x7801380062c0] PPS id out of range: 00KB sq= 0B f=0/0
[hevc @ 0x780138203740] PPS id out of range: 0
[hevc @ 0x780138203740] Error parsing NAL unit #0.
[NULL @ 0x7801380062c0] PPS id out of range: 0
[hevc @ 0x780138213d40] PPS id out of range: 0
[hevc @ 0x780138213d40] Error parsing NAL unit #0.
[NULL @ 0x7801380062c0] PPS id out of range: 00KB sq= 0B f=0/0
[hevc @ 0x780138224340] PPS id out of range: 0
[hevc @ 0x780138224340] Error parsing NAL unit #0.
[NULL @ 0x7801380062c0] PPS id out of range: 00KB sq= 0B f=0/0
[hevc @ 0x780138234d00] PPS id out of range: 0
[hevc @ 0x780138234d00] Error parsing NAL unit #0.
[NULL @ 0x7801380062c0] PPS id out of range: 0
[hevc @ 0x780138245680] PPS id out of range: 0
[hevc @ 0x780138245680] Error parsing NAL unit #0.
[NULL @ 0x7801380062c0] PPS id out of range: 00KB sq= 0B f=0/0
[hevc @ 0x7801382560c0] PPS id out of range: 0
[hevc @ 0x7801382560c0] Error parsing NAL unit #0.
[NULL @ 0x7801380062c0] PPS id out of range: 0
[hevc @ 0x780138266a80] PPS id out of range: 0
[hevc @ 0x780138266a80] Error parsing NAL unit #0.
^Cmj@mjmsibox:~$ ^C fd= 0 aq= 0KB vq= 8KB sq= 0B f=0/0
here is my log: log.txt (937 Bytes)
using ffplay to play on rtsp server machine, I can reproduce this issue. using VLC to play on client, this issue can’t be reproduced. so it is ffplay 's issue.
yes gst-launch is better.
But there is a substantial lag in it.
If I run gst-launch on jetson nano to save to a mp4, will it take gpu / cpu.
There is a substantial lag of few seconds due to this
Yes i have disabled that sink. Now I am sending the rtsp from deepstream to my rtsp server on AWS.
gst-launch 265 is slower as compared to ffmpeg (when doing h.264) (-v copy).
Can deepstream directly send to an external rtsp, so gst-launch can be avoided, possibly?
There is no update from you for a period, assuming this is not an issue any more. Hence we are closing this topic. If need further support, please open a new one. Thanks.
currently deepstream-app can suuport this kinds of sink 1=FakeSink 2=EglSink 3=File 4=UDPSink 5=nvdrmvideosink 6=MsgConvBroker directly. deepstream-app code is opensource, you can customize it. creating sink code is in \opt\nvidia\deepstream\deepstream-6.4\sources\apps\apps-common\src\deepstream_sink_bin.c. please refer to the command-line in this link.