OES-AD
December 21, 2022, 7:29am
1
Hi All,
Currently testing Gstreamer command to record video on the Jetson TX2 NX, but current command is only producing 20 second video file. Here is the gstreamer command being used:
gst-launch-1.0 nvarguscamerasrc sensor-id=0 num-buffers=1200 ! ‘video/x-raw(memory:NVMM), width=3840, height=2160, framerate=60/1’ ! nvtee ! omxh264enc bitrate=2000000 ! qtmux ! filesink location=video.mp4
Any explanation for the record limitation? Replacement command to test fix would be helpful.
Thanks in advance.
DaneLLL
December 21, 2022, 9:24am
3
Hi,
Please not to set num-buffers=1200 in the command:
gst-launch-1.0 -e nvarguscamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM), width=3840, height=2160, framerate=60/1' ! nvv4l2h264enc ! h264parse ! qtmux ! filesink location=video.mp4
And we have deprecated omx plugins. Please use nvv4l2h264enc plugin. For saving to mp4, please add -e
so that EoS is sent in termination.
OES-AD
December 21, 2022, 9:42am
4
Ok thanks for your prompt reply! We’ll try this today and circle back.
OES-AD
December 22, 2022, 3:42am
5
Thanks again @DaneLLL everything worked perfectly. Wanted to circle back with that information. Greatly appreciate the support.
1 Like
system
Closed
January 11, 2023, 6:04am
7
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.