Jump to content

GstCUDA - Evaluating GstCUDA: Difference between revisions

m
no edit summary
No edit summary
mNo edit summary
Line 37: Line 37:
   <tr>
   <tr>
     <td>cudafilter Element</td>
     <td>cudafilter Element</td>
     <td style="center background-color:#DAF7A6">Y</td>  
     <td style="background-color:#DAF7A6">Y</td>  
     <td style="center background-color:#DAF7A6">Y</td>
     <td style="background-color:#DAF7A6">Y</td>
   </tr>
   </tr>
<tr>
<tr>
Line 121: Line 121:


<syntaxhighlight lang="bash">
<syntaxhighlight lang="bash">
export GST_PLUGIN_PATH=${GST_PLUGIN_PATH}:$PATH_TO_EVALUATION_BINARY/usr/lib/aarch64-linux-gnu/gstreamer-1.0/
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/
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 stored the binary provided by RidgeRun.
where PATH_TO_EVALUATION_BINARY is set 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 $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 ${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 $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 ${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 $PATH_TO_EVALUATION_BINARY/usr/include/gstreamer-1.0/sys/cuda/{gstcudaalgorithm.hpp,gstcudabasefilter.h,gstcuda.h} /usr/include/gstreamer-1.0/sys/cuda
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>


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