Hi,
we have four camera and we are trying to capture video from ov9732,ov2735 and ov2775.
some times gst-launch is not working,what could be the issue
gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! ‘video/x-raw(memory:NVMM),width=1280, height=720, framerate=30/1, format=NV12’ ! omxh264enc control-rate=2 bitrate=2000000 ! splitmuxsink max-files=3 send-keyframe-requests=true location=/home/ubuntu/videos/left_video%02d.mp4 max-size-time=30000000000 -e nvarguscamerasrc sensor-id=1 ! ‘video/x-raw(memory:NVMM),width=1280, height=720, framerate=30/1, format=NV12’ ! omxh264enc control-rate=2 bitrate=2000000 ! splitmuxsink max-files=3 send-keyframe-requests=true location=/home/ubuntu/videos/right_video%02d.mp4 max-size-time=30000000000 -e nvarguscamerasrc sensor-id=2 ! ‘video/x-raw(memory:NVMM),width=1920, height=1080, framerate=30/1, format=NV12’ ! omxh264enc control-rate=2 bitrate=2000000 ! splitmuxsink max-files=3 send-keyframe-requests=true location=/home/ubuntu/videos/inward_video%02d.mp4 max-size-time=30000000000 -e v4l2src device=/dev/video0 do-timestamp=true ! ‘video/x-raw , width=(int)1920 , height=(int)1080 , format=(string)UYVY’ ! nvvidconv ! ‘video/x-raw(memory:NVMM) , width=(int)1920 , height=(int)1080 , format=(string)NV12’ ! omxh264enc control-rate=2 bitrate=8000000 ! splitmuxsink max-files=3 send-keyframe-requests=true location=/home/ubuntu/videos/out_video%02d.mp4 max-size-time=30000000000 -ev &
This is the command which we are using to capture video by all four cameras
Hi,
We are deprecating omx plugins. You may try to replace omxh264enc with nvv4l2h264enc.
And you can break down the pipeline to make sure the sources are stable:
gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM),width=1280, height=720, framerate=30/1, format=NV12' ! fakesink nvarguscamerasrc sensor-id=1 ! 'video/x-raw(memory:NVMM),width=1280, height=720, framerate=30/1, format=NV12' ! fakesink nvarguscamerasrc sensor-id=2 ! 'video/x-raw(memory:NVMM),width=1920, height=1080, framerate=30/1, format=NV12' ! fakesink v4l2src device=/dev/video0 do-timestamp=true ! 'video/x-raw , width=(int)1920 , height=(int)1080 , format=(string)UYVY' ! nvvidconv ! 'video/x-raw(memory:NVMM) , width=(int)1920 , height=(int)1080 , format=(string)NV12' ! fakesink &
I have shared you above command for capturing all 4 cameras one by one.
can you please modify it and send it to me as per latest command,sometimes i am getting pipeline issue…is it due to nvargus-deamon??
any help will be appreciated
Hi,
Since we don’t observe the issue on r32.4.4/TX2, it might be an issue in the camera sources. In our tests, we use OV5693.
ok it may be the issue with our driver…
can you please confirm the gst-launch command which we should use for SDK32.4.3,with your given command i am not able to capture video
Hi,
In our setting, the USB camera is at /dev/video6. So we run the command:
$ gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM),width=1280, height=720, framerate=30/1, format=NV12' ! fakesink nvarguscamerasrc sensor-id=1 ! 'video/x-raw(memory:NVMM),width=1280, height=720, framerate=30/1, format=NV12' ! fakesink nvarguscamerasrc sensor-id=2 ! 'video/x-raw(memory:NVMM),width=1920, height=1080, framerate=30/1, format=NV12' ! fakesink v4l2src device=/dev/video6 do-timestamp=true ! 'video/x-raw , width=(int)1920 , height=(int)1080 , format=(string)UYVY' ! nvvidconv ! 'video/x-raw(memory:NVMM) , width=(int)1920 , height=(int)1080 , format=(string)NV12' ! fakesink