823
edits
Efernandez (talk | contribs) |
No edit summary |
||
Line 183: | Line 183: | ||
main() | main() | ||
</syntaxhighlight> | </syntaxhighlight> | ||
{{Colored box|background-content-color=#EDF1F7|background-title-color=#98CEFF|title-color=#FFFFFF|title='''Note'''|icon=notice-icon-white.png | |||
|style=overflow:hidden; | |||
|content= | |||
For this example to work, GStreamer must be enabled in OpenCV. You can verify this by running the following command: | |||
<code> | |||
python3 -c 'import cv2; print(cv2.getBuildInformation())' | |||
</code> | |||
In the output, the '''Video I/O''' section should indicate '''GStreamer: YES'''. | |||
<syntaxhighlight> | |||
Video I/O: | |||
DC1394: YES (2.2.6) | |||
FFMPEG: YES | |||
avcodec: YES (58.134.100) | |||
avformat: YES (58.76.100) | |||
avutil: YES (56.70.100) | |||
swscale: YES (5.9.100) | |||
avresample: NO | |||
GStreamer: YES (1.19.90) | |||
PvAPI: NO | |||
v4l/v4l2: YES (linux/videodev2.h) | |||
gPhoto2: YES | |||
</syntaxhighlight> | |||
}} | |||
== GStreamer Examples == | == GStreamer Examples == | ||
Line 244: | Line 272: | ||
{{Review|Maybe just change a bit the redaction on this one? Something like. If you want to give these examples a try, you can contact us (add link) and ask for an evaluation version of the products, you will receive a tar file ... Maybe as a note so it is more visible}} | {{Review|Maybe just change a bit the redaction on this one? Something like. If you want to give these examples a try, you can contact us (add link) and ask for an evaluation version of the products, you will receive a tar file ... Maybe as a note so it is more visible}} | ||
{{Colored box|background-content-color=#EDF1F7|background-title-color=#98CEFF|title-color=#FFFFFF|title='''Note'''|icon=notice-icon-white.png | |||
|style=overflow:hidden; | |||
|content= | |||
If you would like to try these examples, feel free to [[RidgeRun_Linux_Camera_Drivers/Contact_Us | contact us]] and request an evaluation version of the products, you will receive a .tar file with the evaluation version, along with additional instructions on how to install it. | |||
}} | |||
To install the test evaluation, make sure to follow this [[GstRtspSink_-_Evaluating_GstRtspSink#Testing_the_Binary | section]] to install '''GstRtspSink''', to install '''GstSEIMetadata''' you can follow the same steps with the corresponding <code>.tar</code> file. | To install the test evaluation, make sure to follow this [[GstRtspSink_-_Evaluating_GstRtspSink#Testing_the_Binary | section]] to install '''GstRtspSink''', to install '''GstSEIMetadata''' you can follow the same steps with the corresponding <code>.tar</code> file. This example streams the video using the available hardware accelerators and from a MIPI CSI camera: | ||
This example streams the video using the available hardware accelerators and from a MIPI CSI camera: | |||
<pre> | <pre> |
edits