Difference between revisions of "Xavier/Video Capture and Display/Software Support/GStreamer"

From RidgeRun Developer Connection
Jump to: navigation, search
m
m
Line 2: Line 2:
 
{{Xavier/Head|previous=Video Capture and Display/Software Support|next=Video Capture and Display/Software Support/Libargus|keywords=video,capture,display,video capture,video display,video capture subsystem,software,gstreamer}}
 
{{Xavier/Head|previous=Video Capture and Display/Software Support|next=Video Capture and Display/Software Support/Libargus|keywords=video,capture,display,video capture,video display,video capture subsystem,software,gstreamer}}
 
</noinclude>
 
</noinclude>
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 the Oregon Graduate Institute, as well as some ideas from DirectShow.
  
==Gstreamer Capture==
+
==GStreamer Capture==
Gstreamer provides different commands for capture images were two is nvarguscamerasrc and v4l2src.
+
GStreamer provides different commands for capture images were two is nvarguscamerasrc and v4l2src.
 
===nvarguscamerasrc===
 
===nvarguscamerasrc===
nvarguscamera src is used when the camera generates images of the bayer format, because it uses the ISP to change the images to a visible format.
+
nvarguscamera src is used when the camera generates images of the Bayer format because it uses the ISP to change the images to a visible format.
 
[[Image:ISP.png|thumb|center|455px|ISP.png]]  
 
[[Image:ISP.png|thumb|center|455px|ISP.png]]  
 
<div style="text-align: center;">'''Figure 1'''. ISP bayer to yuv</div>  
 
<div style="text-align: center;">'''Figure 1'''. ISP bayer to yuv</div>  
Line 22: Line 22:
  
 
==Gstreamer Display==
 
==Gstreamer Display==
Gstreamer provides different commands for display images were two is nvoverlaysink and xvimagesink.
+
Gstreamer provides different commands for display images where two is nvoverlaysink and xvimagesink.
  
 
===nvoverlaysink===
 
===nvoverlaysink===
Line 28: Line 28:
  
 
===xvimagesink===
 
===xvimagesink===
xvimagesink is used when you need to use normal memory, this command open a screen with the output   
+
xvimagesink is used when you need to use normal memory, this command opens a screen with the output   
  
 
==Pipeline Examples==
 
==Pipeline Examples==
For a complete summary of the samples go to: https://developer.ridgerun.com/wiki/index.php?title=Xavier/GStreamer_Pipelines
+
For a complete summary of the samples go to https://developer.ridgerun.com/wiki/index.php?title=Xavier/GStreamer_Pipelines
  
 
<noinclude>
 
<noinclude>
 
{{Xavier/Foot|Video Capture and Display/Software Support|Video Capture and Display/Software Support/Libargus}}
 
{{Xavier/Foot|Video Capture and Display/Software Support|Video Capture and Display/Software Support/Libargus}}
 
</noinclude>
 
</noinclude>

Revision as of 13:39, 1 December 2020



Previous: Video Capture and Display/Software Support Index Next: Video Capture and Display/Software Support/Libargus



Nvidia-preferred-partner-badge-rgb-for-screen.png


GStreamer is a framework for creating streaming media applications. The fundamental design comes from the video pipeline at the Oregon Graduate Institute, as well as some ideas from DirectShow.

GStreamer Capture

GStreamer provides different commands for capture images were two is nvarguscamerasrc and v4l2src.

nvarguscamerasrc

nvarguscamera src is used when the camera generates images of the Bayer format because it uses the ISP to change the images to a visible format.

ISP.png
Figure 1. ISP bayer to yuv


Error creating thumbnail: Unable to save thumbnail to destination
nvarguscamerasrc road
Figure 2. nvarguscamerasrc road

v4l2src

v4l2src captures the images in the format provided by the camera, is used when the camera uses visible formats.

Error creating thumbnail: Unable to save thumbnail to destination
v4l2src road
Figure 3. v4l2src road

Gstreamer Display

Gstreamer provides different commands for display images where two is nvoverlaysink and xvimagesink.

nvoverlaysink

nvoverlaysink is used when you need to use NVMM memory but also could use normal memory, this command writes directly into the screen buffer.

xvimagesink

xvimagesink is used when you need to use normal memory, this command opens a screen with the output

Pipeline Examples

For a complete summary of the samples go to https://developer.ridgerun.com/wiki/index.php?title=Xavier/GStreamer_Pipelines



Previous: Video Capture and Display/Software Support Index Next: Video Capture and Display/Software Support/Libargus