Nano b01- ubuntu 18.04LTS-nvarguscamera src-dual recording synchro at 120 fps

system: jetson nano b01 4GB
OS: ubutu 18.04 LTS
Cameras: 2 picamera V2.1
Target: recording 2 files synchronized files at 120 fps

Hello Nvidia people,

please find below my code, I tried many configurations but I can’t go higher than 60 fps in my recordings (Even if i consider only one camera). Would you have an idea for reaching sensor-mode=5 performance on 2 synchronized files? I can accept a lower resolution of 640*480 if necessary.

import os

pipeline=(
"gst-launch-1.0 -e "
"nvarguscamerasrc sensor-id=0 sensor-mode=5 wbmode=0 timeout=7 ! "
"‘video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, format=(string)NV12, framerate=(fraction)120/1’ ! "
"nvv4l2h264enc maxperf-enable=1 ! "
"h264parse ! "
"qtmux ! "
"filesink location=R-h264.mp4 "

	"nvarguscamerasrc sensor-id=1 sensor-mode=5 wbmode=0 timeout=7 ! "
	"'video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, format=(string)NV12, framerate=(fraction)120/1' ! "
	"nvv4l2h264enc maxperf-enable=1 ! "
	"h264parse ! "
	"qtmux ! "
	"filesink location=L-h264.mp4"
	)

os.system(pipeline)

Kind regards
Michael

Hi,
Please run with fpsdisplaysink to check if the source can reach 120fps:

gst-launch-1.0 nvarguscamerasrc sensor-id=0 sensor-mode=5 wbmode=0 timeout=7 ! 'video/x-raw(memory:NVMM), width=(int)1280, height=(int)720, format=(string)NV12, framerate=(fraction)120/1' ! fpsdisplaysink text-overlay=0 video-sink=fakesink sync=0 -v

Hello Danell,

thanks for support. Please find below results of your tests for sensor-modes 3,4 and 5.

nvidiasupport210331 (5.3 KB).

In fact, if i well understand logs it seems that this picam v2.1 has a maximum fps at 60 with nvarguscamsrc.

Nevertheless, before trying nano b01 for its dual mipi connection, I used a lot raspberry and with the same device I can record easily at 120fps w1280 h720 with raspivid (here is my command line: raspivid -v -md 7 -fps 120 -pts 120.pts -w 1280 -h 720 -o 120.h264 -t 7000)

In addition, I can reach 200 fps with a lower resolution and a disabled automatic exposure
settings (raspivid -v -md 7 -fps 200 -pts 200.pts -w 640 -h 480 -o 200.h264 -t 7000 -ex off)

if nvarguscamerasrc has somehow a limitation with this device that fits fine for rpi, is there any other way to reach dual sync mipi-csi recording at 120fps (or more) ?

Kind regards
Michael

Hi,
Please refer to this post:
120 fps mode support removed for imx219 sensor - #8 by DaneLLL
to add 120fps mode.