1,638
edits
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
</center> | </center> | ||
== Evaluation Version Feature == | |||
The GstCUDA evaluation version contains all the features of the full version, with the exception that it is limited to process a maximum of 600 frames. Also, it is provided in binary form, so you won't have access to the source code. | |||
The 600 frames maximum processing limitation allows to test GstCUDA for 10 seconds on a 60 fps pipeline, or for 20 seconds on a 30 fps pipeline. | |||
The 600 frames maximum processing limitation allows to test GstCUDA for 10 seconds on a | |||
The following table summarizes the features available in both the professional and evaluation version of the element. | The following table summarizes the features available in both the professional and evaluation version of the element. | ||
Line 38: | Line 37: | ||
<tr> | <tr> | ||
<td>cudafilter Element</td> | <td>cudafilter Element</td> | ||
<td style="background-color:#DAF7A6">Y</td> | <td style="center background-color:#DAF7A6">Y</td> | ||
<td style="background-color:#DAF7A6">Y</td> | <td style="center background-color:#DAF7A6">Y</td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
Line 65: | Line 64: | ||
</center> | </center> | ||
</html> | </html> | ||
(1) The evaluation version will limit the processing to a maximum of 600 frames. | |||
== | == Installation and testing == | ||
=== Dependencies === | === Dependencies === | ||
First, make sure the dependencies are fulfilled: | First, make sure the dependencies are fulfilled: | ||
Line 84: | Line 84: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Also, be sure that | Also, be sure that [https://developer.ridgerun.com/wiki/index.php?title=GstCUDA_-_Building_and_Installation_Guide#CUDA_L4T_package CUDA L4T package] is successfully installed. | ||
=== Eval Binary structure === | === Eval Binary structure === | ||
Line 117: | Line 117: | ||
=== Eval Binary Installation === | === Eval Binary Installation === | ||
To use the binary provided by RidgeRun, export the location of the evaluation binary libraries in your environment. | To use the binary provided by RidgeRun, export the location of the evaluation binary libraries in your environment. | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
export GST_PLUGIN_PATH=${GST_PLUGIN_PATH}: | export GST_PLUGIN_PATH=${GST_PLUGIN_PATH}:$PATH_TO_EVALUATION_BINARY/usr/lib/aarch64-linux-gnu/gstreamer-1.0/ | ||
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}: | export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:$PATH_TO_EVALUATION_BINARY/usr/lib/aarch64-linux-gnu/ | ||
</syntaxhighlight> | </syntaxhighlight> | ||
where ' | |||
where '$PATH_TO_EVALUATION_BINARY' is the location in your file system where you have stored the binary provided by RidgeRun. | |||
Alternatively, you may just copy the binaries into the standard GStreamer plug-in search path as the follow instructions: | Alternatively, you may just copy the binaries into the standard GStreamer plug-in search path as the follow instructions: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
sudo cp | sudo cp $PATH_TO_EVALUATION_BINARY/usr/lib/aarch64-linux-gnu/gstreamer-1.0/{libgstcudaexamplefilter.so,libgstcuda.so} /usr/lib/aarch64-linux-gnu/gstreamer-1.0 | ||
sudo cp | sudo cp $PATH_TO_EVALUATION_BINARY/usr/lib/aarch64-linux-gnu/{libgstcuda-1.0.so,libgstcuda-1.0.so.0,libgstcuda-1.0.so.0.100.0} /usr/lib/aarch64-linux-gnu | ||
sudo cp | sudo cp $PATH_TO_EVALUATION_BINARY/usr/include/gstreamer-1.0/sys/cuda/{gstcudaalgorithm.hpp,gstcudabasefilter.h,gstcuda.h} /usr/include/gstreamer-1.0/sys/cuda | ||
</syntaxhighlight> | </syntaxhighlight> | ||
Line 138: | Line 142: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
gst-inspect-1.0 cuda | |||
</syntaxhighlight> | |||
with expected output: | |||
<syntaxhighlight lang="bash"> | |||
Plugin Details: | Plugin Details: | ||
Name cuda | Name cuda | ||
Line 158: | Line 167: | ||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> | ||
gst-inspect-1.0 | grep cuda | |||
</syntaxhighlight> | |||
with expected output: | |||
<syntaxhighlight lang="bash"> | |||
cudaexamplefilter: cudaexamplefilter: GstCUDA Example Filter Element | cudaexamplefilter: cudaexamplefilter: GstCUDA Example Filter Element | ||
cuda: cudafilter: cudafilter | cuda: cudafilter: cudafilter | ||
Line 165: | Line 179: | ||
You should see the inspect output for the evaluation binary as shown above. | You should see the inspect output for the evaluation binary as shown above. | ||
== Example Pipelines == | == Example Pipelines == | ||
Please refer to the [[GstCUDA - Examples|Examples]] page for reference pipelines. | Please refer to the [[GstCUDA - Examples|Examples]] page for reference pipelines. | ||
== Troubleshooting == | == Troubleshooting == |