Jump to content

GstCUDA - Evaluating GstCUDA: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 70: Line 70:
== Testing the Binary ==
== Testing the Binary ==


=== Dependencies ===
First, make sure the dependencies are fulfilled:
First, make sure the dependencies are fulfilled:


Line 83: Line 84:
</syntaxhighlight>
</syntaxhighlight>


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.
Also, be sure that [[https://developer.ridgerun.com/wiki/index.php?title=GstCUDA_-_Building_and_Installation_Guide#CUDA_L4T_package CUDA L4T package]] dependency is successfully installed.


=== Eval Binary structure ===
The provided GstCUDA eval version tarball must have the following structure:
<syntaxhighlight lang="bash">
└── usr
    ├── include
    │   └── gstreamer-1.0
    │      └── sys
    │          └── cuda
    │              ├── gstcudaalgorithm.hpp
    │              ├── gstcudabasefilter.h
    │              └── gstcuda.h
    ├── lib
       └── aarch64-linux-gnu
          ├── gstreamer-1.0
          │   ├── libgstcudaexamplefilter.so
          │   └── libgstcuda.so
          ├── libgstcuda-1.0.so -> libgstcuda-1.0.so.0.100.0
          ├── libgstcuda-1.0.so.0 -> libgstcuda-1.0.so.0.100.0
          └── libgstcuda-1.0.so.0.100.0
</syntaxhighlight>
=== Eval Binary Installation ===
To use the binary provided by RidgeRun, export the location of the evaluation binary in your environment.
To use the binary provided by RidgeRun, export the location of the evaluation binary in your environment.
<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
export GST_PLUGIN_PATH=${GST_PLUGIN_PATH}:/path/to/evaluation/binary/
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}:/path/to/evaluation/binary/usr/lib/aarch64-linux-gnu/
</syntaxhighlight>
</syntaxhighlight>
where ''/path/to/evaluation/binary'' is the location in your file system where you have the binary provided by RidgeRun.
where ''/path/to/evaluation/binary'' is the location in your file system where you have the binary provided by RidgeRun.
1,433

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.