Jump to content

GStreamer Based Image Signal Processor/Troubleshoot: Difference between revisions

m
no edit summary
mNo edit summary
 
Line 24: Line 24:
Please use the following command to inspect the element and the available devices and platforms available on your system.
Please use the following command to inspect the element and the available devices and platforms available on your system.


<source lang="bash">
<syntaxhighlight lang=bash style="background-color: #f0fff0">
gst-inspect-1.0 ispcldebayer
gst-inspect-1.0 ispcldebayer
</source>
</syntaxhighlight>


Please notice the device and platform elements in the command output and make sure you are using the output device that has the correct OpenCL runtime. For example, if the GPU device 0 is used (selected by default) the exact same result as a black output image is obtained because the runtime installed is for the Intel platform.
Please notice the device and platform elements in the command output and make sure you are using the output device that has the correct OpenCL runtime. For example, if the GPU device 0 is used (selected by default) the exact same result as a black output image is obtained because the runtime installed is for the Intel platform.
Line 58: Line 58:
Add the properties in the pipeline to select the required device and platform. For example:
Add the properties in the pipeline to select the required device and platform. For example:


<source lang="bash">
<syntaxhighlight lang=bash style="background-color: #f0fff0">
gst-launch-1.0 videotestsrc is-live=true ! "video/x-bayer, format=(string)bggr, width=$WIDTH, height=$HEIGHT,framerate=(fraction)30/1" ! queue ! ispcldebayer device=1 platform=1 ! videoconvert ! fpsdisplaysink
gst-launch-1.0 videotestsrc is-live=true ! "video/x-bayer, format=(string)bggr, width=$WIDTH, height=$HEIGHT,framerate=(fraction)30/1" ! queue ! ispcldebayer device=1 platform=1 ! videoconvert ! fpsdisplaysink
</source>
</syntaxhighlight>


[[File:Gst isp fpsdisplaysink.png|800px|frameless|center]]
[[File:Gst isp fpsdisplaysink.png|800px|frameless|center]]
Cookies help us deliver our services. By using our services, you agree to our use of cookies.