How enable GPU with gstreamer in maaxboard-zeus?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How enable GPU with gstreamer in maaxboard-zeus?

930件の閲覧回数
gonewithwind-peter
Senior Contributor I

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.

 

0 件の賞賛
返信
2 返答(返信)

877件の閲覧回数
Alejandro_Salas
NXP TechSupport
NXP TechSupport

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!

0 件の賞賛
返信

865件の閲覧回数
gonewithwind-peter
Senior Contributor I

@Alejandro_Salas 

Thank you so much.

let me try