Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android ffmpeg and hardware acceleration

I want my video streaming application to utilize hardware acceleration in android. I'm limited to udp video broadcasting so I can't use Android media player, so I plan to use ffmpeg. Is there a way to make ffmpeg utilize hardware acceleration on android ?

like image 888
ApriOri Avatar asked Dec 29 '11 16:12

ApriOri


People also ask

Does FFmpeg use hardware acceleration?

FFmpeg uses Video Codec SDKHardware-accelerated encoding of H. 264 and HEVC* Hardware-accelerated decoding of H. 264, HEVC, VP9, VP8, MPEG2, MPEG4*, and AV1.

Should I turn on hardware acceleration on Android?

Hardware acceleration is enabled by default if your Target API level is >=14, but can also be explicitly enabled. If your application uses only standard views and Drawable s, turning it on globally should not cause any adverse drawing effects.

How do I enable GPU acceleration on Android?

Go back to Settings, scroll down and you should be able to see a new option called Developer options. Tap on it. Scroll down to the Hardware accelerated rendering and enable the toggle next to Force GPU rendering.


1 Answers

Seems ffmpeg since 0.9 supports it http://freecode.com/projects/ffmpeg/releases/339441

How exactly to use/enable it, I have no idea.

like image 52
Tõnu Samuel Avatar answered Oct 05 '22 03:10

Tõnu Samuel