Hi,
Trying to use two USB cameras (1920x1080 60fps) with deepstream5.0 with no lock:
-
when using deepstream-app as is it opens the camera in YUV format and the video is choppy with low fps not usable
-
looking the forums I manage to HW decode mjpeg with this pipeline (60fps per camera):
gst-launch-1.0 v4l2src device=/dev/video0 io-mode=2 ! ‘image/jpeg,width=1920,height=1080’ ! nvjpegdec ! ‘video/x-raw(memory:NVMM)’ ! fpsdisplaysink video-sink=fakesink sync=false text-overlay=false -v
v4l2src device=/dev/video1 io-mode=2 ! ‘image/jpeg,width=1920,height=1080’ ! nvjpegdec ! ‘video/x-raw(memory:NVMM)’ ! fpsdisplaysink video-sink=fakesink sync=false text-overlay=false -v -
Trying to change the deepstream-app according to this pipeline fails to link to the streammux
-
I need some info on how to integrate it with deepstream. or if you can provide a pipeline that also connects to streammux, nvinfer and saves each camera in h265 that would be great.
-
I also tried this pipeline but getting only 30fps recording?
gst-launch-1.0 v4l2src device=/dev/video1 io-mode=2 ! ‘image/jpeg, width=1920, height=1080, framerate=60/1’ ! nvjpegdec ! ‘video/x-raw, format=I420’ ! nvvidconv ! ‘video/x-raw(memory:NVMM), format=NV12’ ! nvv4l2h265enc ! h265parse ! filesink location=test.h265 -e
Thanks!