My setup
• Jetson AGX Xavier
• DeepStream Version 6.3
• JetPack Version 5.1.2
• NVIDIA GPU Driver Version 11.4
Issue
Hey,
I am running a dual camera setup. I want to acquire synchronised frame (the cameras have an external trigger) how ever when I ran a pipeline the frames are synchronised but there are offset (for example left7.jpg corresponds to right10.jpg). The pipeline I used to acquire images:
gst-launch-1.0 \
multiqueue max-size-buffers=1 name=mqueue \
nvarguscamerasrc sensor-id=0 sensor-mode=0 ! 'video/x-raw(memory:NVMM), framerate=60/1' ! mqueue.sink_1 \
nvarguscamerasrc sensor-id=1 sensor-mode=0 ! 'video/x-raw(memory:NVMM), framerate=60/1' ! mqueue.sink_2 \
mqueue.src_1 ! nvvidconv ! 'video/x-raw' ! nvjpegenc ! multifilesink location=left%d.jpg \
mqueue.src_2 ! nvvidconv ! 'video/x-raw' ! nvjpegenc ! multifilesink location=right%d.jpg
I also tried a pipeline with nvstreammux
like this but the same issue occurs.
gst-launch-1.0 \
nvarguscamerasrc sensor-id=0 sensor-mode=0 ! 'video/x-raw(memory:NVMM), framerate=60/1' ! mux.sink_1 \
nvarguscamerasrc sensor-id=1 sensor-mode=0 ! 'video/x-raw(memory:NVMM), framerate=60/1' ! mux.sink_2 \
nvstreammux name=mux batch-size=2 width=1920 height=1080 ! \
nvmultistreamtiler rows=1 columns=2 width=3840 height=1080 ! nvvidconv ! 'video/x-raw' ! nvjpegenc ! multifilesink location=frame%d.jpg
I want to eliminate the offset to so that file indexes are identical. My assumption is that the issue is related to initialisation of data streams in the nvarguscamerasrc
plugin. If it is the case it is not clear to me weather I can make the pipeline wait for both cameras to start acquisition ?