Hello all.
We are currently encountering a synchronization issue while using GMSL cameras that support external trigger mode.
We have ported and are using cameras with external trigger mode.
However, when we run the preview using the command below,
the synchronization between the channels appears to be misaligned.
We are currently encountering a synchronization issue while using GMSL cameras that support external trigger mode.
🔧 System Setup
We have ported and are using cameras with external trigger mode. However, when we run the preview using the command below, the synchronization between the channels appears to be misaligned.
When using another application processor (AP) to encode and decode four channels from the same deserializer,
all four channels are perfectly synchronized.
The images below show the results when encoding and decoding:
4 channels from Deserializer A (highlighted in red)
2 channels from Deserializer B (highlighted in blue)
All channels were synchronized correctly when tested on a different AP,
which suggests that the synchronization problem may not be related to the deserializer or the cameras themselves.
I used below command to preview cameras
GST_DEBUG=4 gst-launch-1.0 \
nvcompositor name=comp \
sink_0::xpos=0 sink_0::ypos=0 sink_0::width=800 sink_0::height=600 \
sink_1::xpos=800 sink_1::ypos=0 sink_1::width=800 sink_1::height=600 \
sink_2::xpos=0 sink_2::ypos=600 sink_2::width=800 sink_2::height=600 \
sink_3::xpos=800 sink_3::ypos=600 sink_3::width=800 sink_3::height=600 \
! nvvidconv ! nveglglessink sync=true \
v4l2src device=/dev/video0 ! ‘video/x-raw, format=UYVY, width=1920, height=1200, io-mode=4’ \
! nvvidconv ! ‘video/x-raw(memory:NVMM), width=800, height=600’ ! queue ! comp.sink_0 \
v4l2src device=/dev/video1 ! ‘video/x-raw, format=UYVY, width=1920, height=1200, io-mode=4’ \
! nvvidconv ! ‘video/x-raw(memory:NVMM), width=800, height=600’ ! queue ! comp.sink_1 \
v4l2src device=/dev/video2 ! ‘video/x-raw, format=UYVY, width=1920, height=1200, io-mode=4’ \
! nvvidconv ! ‘video/x-raw(memory:NVMM), width=800, height=600’ ! queue ! comp.sink_2 \
v4l2src device=/dev/video3 ! ‘video/x-raw, format=UYVY, width=1920, height=1200, io-mode=4’ \
! nvvidconv ! ‘video/x-raw(memory:NVMM), width=800, height=600’ ! queue ! comp.sink_3
We appreciate your prompt response in advance.

