3 3
Tieu Vinh Long

How to use Mali-450 hardware video decoder in Linux

Recommended Posts

FFMPEG - FFPLAY - Hardware acceleration for mali gpu.


I want use GPU of CPU S905x (Mali 450) for hardware video decoder 

Use FFMPEG with vdpau or vaapi but not better.

Download ffplay, my ffmpeg compiled with vdpau, vaapi and run ffplay for test video full hd: http://mirror.vp9.tv/ffmpeg/ffmpeg-3.3-vdpau-vaapi.tar.gz
How to play file full hd not lag, and smooth.


Pls try test :

You can see clip so lag. CPU busy, 

I using board: MXQPro S905XQ - v1.0



Use ARM Studio - streamline for check GPU.

Linux: http://mirror.vp9.tv/ffmpeg/DS500-BN-00019-r5p0-27rel0-forlinux.tgz

Window: http://mirror.vp9.tv/ffmpeg/DS500-BN-00022-r5p0-27rel0-forwindow.zip


Kernel:  https://github.com/150balbes/Amlogic_s905-kernel

Gator Module: http://mirror.vp9.tv/arm/gator-master.zip

Kernel Configure


Share this post

Link to post
Share on other sites
On 5/20/2017 at 10:28 PM, Tieu Vinh Long said:

Today, i have found new commit for ffmpeg:


It's Add AML HW decoders

This adds the ffmpeg harware decoders to use the amcodec library on AMLogic devices



Try use it!


Did you try it and make it work?

I tried to build it but nothing shown by ffmpeg -hwaccels. Of course the result is still CPU bound. 

Appreciate if you can share how to make it work, thanks!

Share this post

Link to post
Share on other sites
This topic is now closed to further replies.
3 3