RidgeRun Linux Camera Drivers/Examples/Jetson/GStreamer Examples: Difference between revisions
Efernandez (talk | contribs) No edit summary |
Efernandez (talk | contribs) No edit summary |
||
Line 3: | Line 3: | ||
|previous=https://developer.ridgerun.com/wiki/index.php/RidgeRun_Linux_Camera_Drivers/Examples/Jetson/OpenCV_Examples | |previous=https://developer.ridgerun.com/wiki/index.php/RidgeRun_Linux_Camera_Drivers/Examples/Jetson/OpenCV_Examples | ||
|next=https://developer.ridgerun.com/wiki/index.php/RidgeRun_Linux_Camera_Drivers/Examples/Jetson/RidgeRun_Product_Use_Cases | |next=https://developer.ridgerun.com/wiki/index.php/RidgeRun_Linux_Camera_Drivers/Examples/Jetson/RidgeRun_Product_Use_Cases | ||
|title=Jetson GStreamer Examples|description=A list of examples for video capture using GStreamer | |title=Jetson GStreamer Examples|description=A list of examples for video capture using GStreamer on NVIDIA Jetson boards.}} | ||
</noinclude> | </noinclude> | ||
<br> | <br> |
Latest revision as of 21:22, 11 October 2024
GStreamer Examples
The following GStreamer pipelines demonstrates 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