Deepstream 4.02 - Streaming from camera degrade the video quality

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
Nano Jetson
• DeepStream Version
SDK 4.02
• JetPack Version (valid for Jetson only)
4.3

Hello ,

I am trying to stream video from Logitech 930e camera and its working.

The problem is that the stream that i get in client side (e.g : VLC ) shows a degradation in the video quality.

What can be the reason ?

This is my deepstream_app_config_yoloV3_tiny.txt configuration :

Under deepstream_sdk_v4.0.2_jetson\sources\objectDetector_Yolo

[source0]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI
type=1
#uri=file://…/…/samples/streams/sample_1080p_h264.mp4
uri=file:out.mp4
num-sources=1
gpu-id=0

(0): memtype_device - Memory type Device

(1): memtype_pinned - Memory type Host Pinned

(2): memtype_unified - Memory type Unified

cudadec-memtype=0
camera-width=1920
camera-height=1080
camera-fps-n=30
camera-v4l2-dev-node=0
camera-fps-d=1
#num-extra-surfaces=10

[sink0]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File 4=RTSPStreaming
type=4
#1=mp4 2=mkv
container=2
#1=h264 2=h265 3=mpeg4
gpu-id=0
nvbuf-memory-type=0
#only mpeg4 is supported right now.
codec=1
sync=0
bitrate=4000
#set below properties in case of RTSPStreaming
rtsp-port=8554
udp-port=5400

[source0]
enable=1
#Type - 1=CameraV4L2 2=URI 3=MultiURI
type=1
#uri=file://…/…/samples/streams/sample_1080p_h264.mp4
uri=file:out.mp4
num-sources=1
gpu-id=0

(0): memtype_device - Memory type Device

(1): memtype_pinned - Memory type Host Pinned

(2): memtype_unified - Memory type Unified

cudadec-memtype=0
camera-width=1920
camera-height=1080
camera-fps-n=30
camera-v4l2-dev-node=0
camera-fps-d=1
#num-extra-surfaces=10

[sink0]
enable=1
#Type - 1=FakeSink 2=EglSink 3=File 4=RTSPStreaming
type=4
#1=mp4 2=mkv
container=2
#1=h264 2=h265 3=mpeg4
gpu-id=0
nvbuf-memory-type=0
#only mpeg4 is supported right now.
codec=1
sync=0
bitrate=4000
#set below properties in case of RTSPStreaming
rtsp-port=8554
udp-port=5400

Can you use higher bitrate for h264 encoding? 4000 is too low to get good quality.

Just solved by raising bitrate, and makes the frame resolution and FPS lower. 10x!