Tieu Vinh Long Posted May 17, 2017 Posted May 17, 2017 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 : #ffplay test_fullhd.mp4 (download form: http://mirror.vp9.tv/video/test_fullhd.mp4) Video demo: https://www.youtube.com/edit?o=U&video_id=GBZ9s8ScHA8 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 Driver Mali GPU: http://mirror.vp9.tv/arm/mali-gpu/gpu-2016-08-18-fe6d7b1d1b.tar.gz Guide build gator-master: https://pastebin.com/cPQPutB4 Use Kernel Configure 1
Tieu Vinh Long Posted May 20, 2017 Author Posted May 20, 2017 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 https://github.com/LongChair/FFmpeg/commit/90735fcbc47fae185ed59f63a9e0350c77ed9c8e Try use it!
THLEE Posted September 8, 2017 Posted September 8, 2017 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 https://github.com/LongChair/FFmpeg/commit/90735fcbc47fae185ed59f63a9e0350c77ed9c8e 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!
Recommended Posts