Jump to content

RidgeRun Linux Camera Drivers - Jetson GStreamer Examples

From RidgeRun Developer Wiki

Follow us on: YouTube Twitter LinkedIn Email Share this page

Share This Page

Preferred Partner Logo 3 Partner Program Banner




GStreamer Examples

The following GStreamer pipelines demonstrate how to capture, display, and encode video from a MIPI CSI camera:

1080p@30 capture and display

gst-launch-1.0 nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=1920, height=1080, format=NV12, framerate=30/1' ! queue ! nvvidconv ! autovideosink

1080p@30 capture and h264 encoding

FILE=filename.mp4
gst-launch-1.0 -e nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=1920, height=1080, format=NV12, framerate=30/1' ! nvv4l2h264enc bitrate=8000000 ! h264parse ! qtmux ! filesink location=$FILE

1080p@30 capture and h265 encoding

FILE=filename.mp4
gst-launch-1.0 -e nvarguscamerasrc ! 'video/x-raw(memory:NVMM), width=1920, height=1080, format=NV12, framerate=30/1' ! nvv4l2h265enc bitrate=8000000 ! h265parse ! qtmux ! filesink location=$FILE -e
Note
Visit our NVIDIA Jetpack Reference guide wiki for more information about Jetson boards and NVIDIA Jetpack.






Cookies help us deliver our services. By using our services, you agree to our use of cookies.