Xavier/Video Capture and Display/Software Support/GStreamer: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 11: | Line 11: | ||
===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. | ||
<br> | |||
<br> | |||
[[Image:ISP.png|thumb|center|455px|ISP.png]] | [[Image:ISP.png|thumb|center|455px|ISP.png]] | ||
<div style="text-align: center;">'''Figure 1'''. ISP | <div style="text-align: center;">'''Figure 1'''. ISP Bayer to YUV</div> | ||
<br> | |||
<br> | <br> | ||
[[File: nvarguscamerasrcli.png|thumb| center | 600px |nvarguscamerasrc road]] | [[File: nvarguscamerasrcli.png|thumb| center | 600px |nvarguscamerasrc road]] | ||
<div style="text-align: center;">'''Figure 2'''. nvarguscamerasrc road</div> | <div style="text-align: center;">'''Figure 2'''. nvarguscamerasrc road</div> | ||
Line 20: | Line 22: | ||
===v4l2src=== | ===v4l2src=== | ||
v4l2src captures the images in the format provided by the camera, and is used when the camera uses visible formats. | v4l2src captures the images in the format provided by the camera, and is used when the camera uses visible formats. | ||
<br> | |||
<br> | |||
[[File: v4llin.png|thumb| center | 600px |v4l2src road]] | [[File: v4llin.png|thumb| center | 600px |v4l2src road]] | ||
<div style="text-align: center;">'''Figure 3'''. v4l2src road</div> | <div style="text-align: center;">'''Figure 3'''. v4l2src road</div> |
Revision as of 02:48, 8 September 2022
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 capturing images where two are 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.
v4l2src
v4l2src captures the images in the format provided by the camera, and is used when the camera uses visible formats.
GStreamer Display
GStreamer provides different commands for displaying images where two are 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