Hardware accelerated FFmpeg on android?

后端 未结 3 930
被撕碎了的回忆
被撕碎了的回忆 2020-12-31 09:37

I compiled an older version of FFmpeg for Android (if I recall correctly it was 0.6.X). FFmpeg decodes a video frame, scales it, then I\'m using OpenGL to draw it on the scr

相关标签:
3条回答
  • 2020-12-31 09:57

    What you need is ffmpeg compiled for ARM NEON. See: https://groups.google.com/forum/#!topic/android-ndk/mGF6t3uWZ4U

    0 讨论(0)
  • 2020-12-31 09:59
    1. I think so , yes. see : http://ffmpeg.org/#pr9 . the major release that has the hardware accelerated decoding of h264 on Android is Harmony 0.9

    2. if you use a decoder that takes advantage of the hardware acceleration, when it's available, I don't see how you can do better...

    0 讨论(0)
  • 2020-12-31 10:07

    You could also try compiling ffmpeg with libstagefright_h264, I was able to get it to compile and read video file properties, but have been unable to get avcodec_open to work with it... That would be hardware accelerated assuming it was supported by the device.

    0 讨论(0)
提交回复
热议问题