Xavier/Video Capture and Display/Software Support/GStreamer: Difference between revisions
Maumontero (talk | contribs) (Created page with "<noinclude> {{Xavier/Head}} </noinclude> GStreamer is a framework for creating streaming media applications. The fundamental design comes from the video pipeline at Oregon Gra...") |
No edit summary |
||
Line 4: | Line 4: | ||
GStreamer is a framework for creating streaming media applications. The fundamental design comes from the video pipeline at Oregon Graduate Institute, as well as some ideas from DirectShow. | GStreamer is a framework for creating streaming media applications. The fundamental design comes from the video pipeline at Oregon Graduate Institute, as well as some ideas from DirectShow. | ||
=Pipeline | =Pipeline Examples= | ||
'''Record stream (H264)''' | '''Record stream (H264)''' | ||
<pre style="white-space: pre-wrap;"> | <pre style="white-space: pre-wrap;"> | ||
gst-launch-1.0 | gst-launch-1.0 nvarguscamerasrc num-buffers=200 sensor-id=0 ! 'video/x-raw(memory:NVMM),width=1920, height=1080, framerate=30/1, format=NV12' ! omxh264enc ! qtmux ! filesink location=test.mp4 -e | ||
</pre> | |||
'''Capture and Display stream''' | |||
<pre style="white-space: pre-wrap;"> | |||
GST_DEBUG=3 DISPLAY=:0 gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM),width=1920, height=1080, framerate=30/1, format=NV12' ! nvoverlaysink -e | |||
</pre> | </pre> | ||
Revision as of 18:08, 1 November 2018
GStreamer is a framework for creating streaming media applications. The fundamental design comes from the video pipeline at Oregon Graduate Institute, as well as some ideas from DirectShow.
Pipeline Examples
Record stream (H264)
gst-launch-1.0 nvarguscamerasrc num-buffers=200 sensor-id=0 ! 'video/x-raw(memory:NVMM),width=1920, height=1080, framerate=30/1, format=NV12' ! omxh264enc ! qtmux ! filesink location=test.mp4 -e
Capture and Display stream
GST_DEBUG=3 DISPLAY=:0 gst-launch-1.0 nvarguscamerasrc sensor-id=0 ! 'video/x-raw(memory:NVMM),width=1920, height=1080, framerate=30/1, format=NV12' ! nvoverlaysink -e