intel / gstreamer-media-SDK

GNU Lesser General Public License v2.1
90 stars 53 forks source link

mfxh264dec not using GPU? #168

Open shakeeb80 opened 5 years ago

shakeeb80 commented 5 years ago

I am trying to decode a video stream using mfxh264dec but it looks like it is not using the GPU. I am comparing the cpu and gpu usage with avdec_h264 element.

I am using intel media driver 18.4.1, intel media sdk 18.4.1, libva 2.4 and gstreamer media sdk 1.3.3

eero-t commented 5 years ago

What's your command line and how did you deduce with avdec_h264 that it's not using GPU?

H264 decode on GPU is so lightweight that what you win with decoding, is easily lost by doing hwdownload, scaling and format conversion on CPU.