Jetson Xavier NX GStreamer example pipelines for video capture and display



Previous: GStreamer/Example_Pipelines Index Next: Gstreamer/Example_Pipelines/Encoding





Problems running the pipelines shown on this page? Please see our GStreamer Debugging guide for help.

Camera Capture

Camera capture pipelines were tested with a Sony IMX219 CMOS (Raspberry Pi V2.1 camera) image sensor. The Jetson Xavier NX has the following power mode "NV Power Mode: MODE_15W_6CORE" and jetson_clocks binary was executed.

Max Resolution

gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=3264, height=2464, format=NV12, framerate=21/1' ! fakesink


1080p

gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=1920, height=1080, format=NV12, framerate=30/1' ! fakesink
Table 1. Performance results
Resolution CPU% FPS
3264x2464 3.8% 21
3264x1848 4.9% 28
1080p 4.5% 30
720p 8.9% 60
720p 16.4% 120

Videotestsrc display

The Jetson Xavier NX has the following power mode "NV Power Mode: MODE_15W_6CORE" and jetson_clocks binary was executed.

gst-launch-1.0 videotestsrc is-live=true ! video/x-raw, width=1920, height=1080  ! nvoverlaysink

Camera capture display

The Jetson Xavier NX has the following power mode "NV Power Mode: MODE_15W_6CORE" and jetson_clocks binary was executed.

3264x2464

gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=3264, height=2464, format=NV12, framerate=21/1' ! nvoverlaysink


1080p

gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=1920, height=1080, format=NV12, framerate=30/1' ! nvoverlaysink
Table 1. Performance results
Resolution CPU% FPS Glass to Glass Latency (ms)
3264x2464 4% 21 -
3264x1848 4.8% 28 -
1080p 4.7% 30 103.29
720p 9% 60 -
720p 16% 120 -


Previous: GStreamer/Example_Pipelines Index Next: Gstreamer/Example_Pipelines/Encoding