20,290
edits
mNo edit summary |
mNo 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. | ||
=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]] | ||
Line 15: | Line 15: | ||
<div style="text-align: center;">'''Figure 2'''. nvarguscamerasrc road</div> | <div style="text-align: center;">'''Figure 2'''. nvarguscamerasrc road</div> | ||
===v4l2src=== | |||
==v4l2src== | |||
v4l2src captures the images in the format provided by the camera, is used when the camera uses visible formats. | v4l2src captures the images in the format provided by the camera, is used when the camera uses visible formats. | ||
Line 22: | Line 21: | ||
<div style="text-align: center;">'''Figure 3'''. v4l2src road</div> | <div style="text-align: center;">'''Figure 3'''. v4l2src road</div> | ||
=Gstreamer Display= | ==Gstreamer Display== | ||
Gstreamer provides different commands for display images were two is nvoverlaysink and xvimagesink. | Gstreamer provides different commands for display images were two is nvoverlaysink and xvimagesink. | ||
==nvoverlaysink== | ===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. | 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=== | ||
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 open 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 | ||