GstCUDA - cudafilter: Difference between revisions
No edit summary |
No edit summary |
||
Line 8: | Line 8: | ||
==Description== | ==Description== | ||
cudafilter: Filter element that allows video frames to be processed by the GPU using a custom CUDA library algorithm. cudafilter is flexible and adaptable to many project requirements, making it ideal for quick prototyping. Users develop their own CUDA processing library, pass the library into cudafilter, which executes the library on the GPU, passing upstream frames from the GStreamer pipeline and passing the modified frames downstream to the next element in the GStreamer pipeline. | |||
Provides a one input/output pad video filter GStreamer element (cudafilter), that allows video frames to be processed by the GPU using a custom CUDA library algorithm. This element executes the CUDA algorithm from a custom CUDA library (XXX.so file) loaded dynamically during run-time, passed trough an element's property. It is ideal for quick prototyping, because the CUDA algorithm is completely separate from the GStreamer element, so the user could make modifications to the CUDA algorithm, recompile the custom CUDA library and run the GStreamer pipeline again to test it. | |||
==Element inspect== | |||
<syntaxhighlight lang=bash line=true> | |||
$ sudo apt-get update | |||
Factory Details: | |||
Rank none (0) | |||
Long-name cudafilter | |||
Klass Filter | |||
Description Allows frames to be processed by the GPU using a custom CUDA library algorithm | |||
Author Adrian Cervantes <adrian.cervantes@ridgerun.com> | |||
Daniel Garbanzo <daniel.garbanzo@ridgerun.com> | |||
Michael Gruner <michael.gruner@ridgerun.com> | |||
Plugin Details: | |||
Name cuda | |||
Description Allows frames to be processed by the GPU using a custom CUDA library algorithm | |||
Filename /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstcuda.so | |||
Version 0.1.0.1 | |||
License Proprietary | |||
Source module gst-cuda | |||
Source release date 2017-09-21 17:31 (UTC) | |||
Binary package GStreamer CUDA Plug-in | |||
Origin URL Unknown package origin | |||
GObject | |||
+----GInitiallyUnowned | |||
+----GstObject | |||
+----GstElement | |||
+----GstBaseTransform | |||
+----GstCudafilter | |||
Pad Templates: | |||
SRC template: 'src' | |||
Availability: Always | |||
Capabilities: | |||
ANY | |||
SINK template: 'sink' | |||
Availability: Always | |||
Capabilities: | |||
ANY | |||
Element Flags: | |||
no flags set | |||
Element Implementation: | |||
Has change_state() function: gst_element_change_state_func | |||
Element has no clocking capabilities. | |||
Element has no URI handling capabilities. | |||
Pads: | |||
SINK: 'sink' | |||
Pad Template: 'sink' | |||
SRC: 'src' | |||
Pad Template: 'src' | |||
Element Properties: | |||
name : The name of the object | |||
flags: readable, writable | |||
String. Default: "cudafilter0" | |||
parent : The parent of the object | |||
flags: readable, writable | |||
Object of type "GstObject" | |||
qos : Handle Quality-of-Service events | |||
flags: readable, writable | |||
Boolean. Default: false | |||
</syntaxhighlight> | |||
}} | }} |
Revision as of 17:25, 22 September 2017
← |
⌂ Home |
→ |
This page describes in detail the cudafilter element of the GstCUDA plugin.
Description
cudafilter: Filter element that allows video frames to be processed by the GPU using a custom CUDA library algorithm. cudafilter is flexible and adaptable to many project requirements, making it ideal for quick prototyping. Users develop their own CUDA processing library, pass the library into cudafilter, which executes the library on the GPU, passing upstream frames from the GStreamer pipeline and passing the modified frames downstream to the next element in the GStreamer pipeline.
Provides a one input/output pad video filter GStreamer element (cudafilter), that allows video frames to be processed by the GPU using a custom CUDA library algorithm. This element executes the CUDA algorithm from a custom CUDA library (XXX.so file) loaded dynamically during run-time, passed trough an element's property. It is ideal for quick prototyping, because the CUDA algorithm is completely separate from the GStreamer element, so the user could make modifications to the CUDA algorithm, recompile the custom CUDA library and run the GStreamer pipeline again to test it.
Element inspect
$ sudo apt-get update
Factory Details:
Rank none (0)
Long-name cudafilter
Klass Filter
Description Allows frames to be processed by the GPU using a custom CUDA library algorithm
Author Adrian Cervantes <adrian.cervantes@ridgerun.com>
Daniel Garbanzo <daniel.garbanzo@ridgerun.com>
Michael Gruner <michael.gruner@ridgerun.com>
Plugin Details:
Name cuda
Description Allows frames to be processed by the GPU using a custom CUDA library algorithm
Filename /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstcuda.so
Version 0.1.0.1
License Proprietary
Source module gst-cuda
Source release date 2017-09-21 17:31 (UTC)
Binary package GStreamer CUDA Plug-in
Origin URL Unknown package origin
GObject
+----GInitiallyUnowned
+----GstObject
+----GstElement
+----GstBaseTransform
+----GstCudafilter
Pad Templates:
SRC template: 'src'
Availability: Always
Capabilities:
ANY
SINK template: 'sink'
Availability: Always
Capabilities:
ANY
Element Flags:
no flags set
Element Implementation:
Has change_state() function: gst_element_change_state_func
Element has no clocking capabilities.
Element has no URI handling capabilities.
Pads:
SINK: 'sink'
Pad Template: 'sink'
SRC: 'src'
Pad Template: 'src'
Element Properties:
name : The name of the object
flags: readable, writable
String. Default: "cudafilter0"
parent : The parent of the object
flags: readable, writable
Object of type "GstObject"
qos : Handle Quality-of-Service events
flags: readable, writable
Boolean. Default: false
← |
⌂ Home |
→ |