How to apply hardware acceleration for RTSP streaming on Android?

I use VA-API for this on Linux. I know VA-API was made for Intel cards. Does it work for Android as well?

There’s the androidmedia plugin for Android.

1 Like

It is included in my app. will androidmedia + avdec_h264/5 have hardware acceleration? Any other settings needed?

avdec_h264 etc will always be software decoders based on ffmpeg.

The androidmedia plugin will have its own amcviddec-* decoders which should be accelerated.

1 Like

Thanks a lot for your reply. Are these decoders correct on Android?
h264 decoder: amcviddec-omxgoogleh264decoder
h265 decoder: amcviddec-omxgooglehevcdecoder

They will generally be software based. Hardware based codecs will have a different name. E.g. qualcomm chips will have something with qcom in the name Samsung chips exynos I think.

1 Like

Thanks for your reply. Where to get the exact name?

Checkout my reply here:

1 Like