Hi.
I tested live-source option for multi camera syncing.
- Jetson Xavier, JetPack 4.3, DeepStream 4.0
When I tested 8 cams in gstreamer pipeline withlive-source
option on, it worked.
gst-launch-1.0 \
uridecodebin uri=RTSP_SRC0 ! nvvideoconvert ! m.sink_0 \
...
uridecodebin uri=RTSP_SRC7 ! nvvideoconvert ! m.sink_7 \
nvstreammux name=m width=1920 height=1080 batch-size=8 live-source=1 \
nvegltransform ! nveglglessink sync=0
- Jetson Xavier NX, JetPack 4.4, DeepStream 5.0
But, when I test 4cams in gstreamer pipeline withlive-source
option on, it didn’t work.
gst-launch-1.0 \
uridecodebin uri=RTSP_SRC ! nvvideoconvert ! m.sink_0 \
...
uridecodebin uri=RTSP_SRC3 ! nvvideoconvert ! m.sink_3 \
nvstreammux name=m width=1920 height=1080 batch-size=4 live-source=1 \
nvegltransform ! nveglglessink sync=0
Timestamp in second case (4 cams and 8 cams 's result are same) in the below.
milli seconds
are same but seconds
are different.
nvstreammux plugin’s attach-sys-ts
option turn off, and call configure_source_for_ntp_sync
function in each sources.
[ FRAME_NUM]
CAM_NUM: NTP_TIMESTAMP
…
[ 191 ]
0: 1598357055452333334
1: 1598357055452333333
2: 1598357054452333333
3: 1598357055452333334
4: 1598357055452333333
5: 1598357054452333334
6: 1598357054452333333
7: 1598357054452333333
[ 192 ]
0: 1598357055719000000
1: 1598357055719000000
2: 1598357054719000000
3: 1598357055719000000
4: 1598357055719000000
5: 1598357054719000000
6: 1598357054719000000
7: 1598357054719000000
[ 193 ]
0: 1598357055919000000
1: 1598357055919000000
2: 1598357054919000000
3: 1598357055919000000
4: 1598357055919000000
5: 1598357054919000000
6: 1598357054919000000
7: 1598357054919000000
[ 194 ]
0: 1598357056252333334
1: 1598357056252333333
2: 1598357055252333333
3: 1598357056252333334
4: 1598357056252333333
5: 1598357055252333334
6: 1598357055252333333
7: 1598357055252333333
[ 195 ]
0: 1598357056519000000
1: 1598357056519000000
2: 1598357055519000000
3: 1598357056519000000
4: 1598357056519000000
5: 1598357055519000000
6: 1598357055519000000
7: 1598357055519000000
[ 196 ]
0: 1598357056752333334
1: 1598357056752333333
2: 1598357055752333333
3: 1598357056752333334
4: 1598357056752333333
5: 1598357055752333334
6: 1598357055752333333
7: 1598357055752333333
[ 197 ]
0: 1598357056985666667
1: 1598357056985666666
2: 1598357055985666667
3: 1598357056985666667
4: 1598357056985666666
5: 1598357055985666667
6: 1598357055985666667
7: 1598357055985666667
[ 198 ]
0: 1598357057252333334
1: 1598357057252333333
2: 1598357056252333333
3: 1598357057252333334
4: 1598357057252333333
5: 1598357056252333334
6: 1598357056252333333
7: 1598357056252333333
[ 199 ]
0: 1598357057485666667
1: 1598357057485666666
2: 1598357056485666667
3: 1598357057485666667
4: 1598357057485666666
5: 1598357056485666667
6: 1598357056485666667
7: 1598357056485666667
[ 200 ]
0: 1598357057719000000
1: 1598357057719000000
2: 1598357056719000000
3: 1598357057719000000
4: 1598357057719000000
5: 1598357056719000000
6: 1598357056719000000
7: 1598357056719000000
[ 201 ]
0: 1598357058019000000
1: 1598357058019000000
2: 1598357057019000000
3: 1598357058019000000
4: 1598357058019000000
5: 1598357057019000000
6: 1598357057019000000
7: 1598357057019000000
I used same camera for test.
In first case multi camera syncing is working, but in second case not working.
I can’t upgrade JetPack Version on Jetson Xavier, because I’m using now.
In this case, what is the problem?
Xavier NX or DeepStream 5.0?
Thank you.