HI,
I am using gstreamer to capture video streaming in maaxboard (yocto zeus), I run command:
gst-launch-1.0 v4l2src device=/dev/video0 io-mode=0 ! image/jpeg, width=1920, height=1080,framerate=30/1 ! jpegdec ! video/x-raw ! xvimagesink &
it works.
but how to enable GPU?
or it's default enabled?
if not, how to do in yocto image building process ,or some commands or some options in gstreamer.
any ideas?
Thank you.
Hello @gonewithwind-peter
In video streaming the responsible of the execution is the CPU, there are some commands in IMX8 GStreamer User's Guide to reduce the CPU usage.
About the GPU you can use some plugin for example glimagevideo (glimagesink). Glimagesink renders video frames to a drawable on a local or remote display using OpenGL in GPU, but only the GPU executes the plugin.
I hope I had answered your question.
Best regards!