DeepStream-Yolo icon indicating copy to clipboard operation
DeepStream-Yolo copied to clipboard

How to configure h265 stream?

Open lida2003 opened this issue 1 year ago • 0 comments

I have rtp h265 stream, it's black. It's OK when h264 streaming on my jetson orin nano board. Is there any thing wrong with my configurations?

[source0]
enable=1
type=3
uri=rtp://0.0.0.0:5600
num-sources=1
gpu-id=0
cudadec-memtype=0
$ deepstream-app --version-all
deepstream-app version 6.3.0
DeepStreamSDK 6.3.0
CUDA Driver Version: 11.4
CUDA Runtime Version: 11.4
TensorRT Version: 8.5
cuDNN Version: 8.6
libNVWarp360 Version: 2.0.1d3

EDIT: it seems using h264 for decoding....


WARNING from rtph264depay0: Could not decode stream.
Debug info: gstrtph264depay.c(1287): gst_rtp_h264_depay_process (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin0/GstURIDecodeBin:src_elem/GstDecodeBin:decodebin0/GstRtpH264Depay:rtph264depay0:
Undefined packet type
WARNING from rtph264depay0: Could not decode stream.
Debug info: gstrtph264depay.c(1287): gst_rtp_h264_depay_process (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin0/GstURIDecodeBin:src_elem/GstDecodeBin:decodebin0/GstRtpH264Depay:rtph264depay0:
Undefined packet type
WARNING from rtph264depay0: Could not decode stream.
Debug info: gstrtph264depay.c(1287): gst_rtp_h264_depay_process (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin0/GstURIDecodeBin:src_elem/GstDecodeBin:decodebin0/GstRtpH264Depay:rtph264depay0:
Undefined packet type
WARNING from rtph264depay0: Could not decode stream.
Debug info: gstrtph264depay.c(1287): gst_rtp_h264_depay_process (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin0/GstURIDecodeBin:src_elem/GstDecodeBin:decodebin0/GstRtpH264Depay:rtph264depay0:
Undefined packet type
WARNING from rtph264depay0: Could not decode stream.
Debug info: gstrtph264depay.c(1287): gst_rtp_h264_depay_process (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin0/GstURIDecodeBin:src_elem/GstDecodeBin:decodebin0/GstRtpH264Depay:rtph264depay0:
Undefined packet type
**PERF:  0.00 (0.00)

EDIT2: If I try video-viewer rtp://@:5600 --input-codec=h265, then it's OK.

EDIT3: Env

Software part of jetson-stats 4.2.12 - (c) 2024, Raffaello Bonghi
Model: NVIDIA Orin Nano Developer Kit - Jetpack 5.1.4 [L4T 35.6.0]
NV Power Mode[0]: 15W
Serial Number: [XXX Show with: jetson_release -s XXX]
Hardware:
 - P-Number: p3767-0005
 - Module: NVIDIA Jetson Orin Nano (Developer kit)
Platform:
 - Distribution: Ubuntu 20.04 focal
 - Release: 5.10.216-tegra
jtop:
 - Version: 4.2.12
 - Service: Active
Libraries:
 - CUDA: 11.4.315
 - cuDNN: 8.6.0.166
 - TensorRT: 8.5.2.2
 - VPI: 2.4.8
 - OpenCV: 4.9.0 - with CUDA: YES
DeepStream C/C++ SDK version: 6.3

Python Environment:
Python 3.8.10
    GStreamer:                   YES (1.16.3)
  NVIDIA CUDA:                   YES (ver 11.4, CUFFT CUBLAS FAST_MATH)
        OpenCV version: 4.9.0  CUDA True
          YOLO version: 8.3.33
         Torch version: 2.1.0a0+41361538.nv23.06
   Torchvision version: 0.16.1+fdea156
DeepStream SDK version: 1.1.8

lida2003 avatar Dec 10 '24 08:12 lida2003