libstagefright - Experimental hardware video decoding builds
Proper status:
  • Sources
    As a reminder, the sources of the builds are XBMC master + this PR: https://github.com/xbmc/xbmc/pull/1832. I've updated the OP to make this clear.

  • VC-1
    I could not get it to work on any of the device I have. There is probably some metadata I should send before decoding, but even AOSP uses a proprietary lib for demux, "libwvm.so". I' ll need help on this one (like the sources of libwvm.so if available) or VC-1 will be a no-go.

  • rk3066
    For those not following, the Rockchip OMX components crash hard when trying to HW decode non-MOD16 height vids, both in h264 and in MP4. E.g. a 1080 or 406 height video will crash, while 416, 576, 800, 816, 1040 will work fine.
    The MiniX guys who provided me with a device will try to get me in contact with Rockchip.

  • Blacklisting
    I've started blacklisting problematic components. For now:
    • MP4 on tegra3: Unreliable. Fails to decode some vids late in the process, too late for proper fallback to SW decoding.
    • Non MOD16 height vids on Rockchip (see above)

  • Advanced settings
    At least for the duration of tests (don't shoot, davilla Wink ), I've added some advanced settings tweaks.
    The "use...codec" are self-explanatory. The "useswrenderer" one uses the SW rendering method if some want to try it.
    In my tests, it only works fine for 720p on Tegra3.

    Code:
    <advancedsettings>
    ...
      <video>
        <stagefright>
          <!--  -1 is default, 0 is never used this codec, 1 is always use this codec, bypassing blacklist -->
          <useavccodec>-1</useavccodec>
          <usevc1codec>-1</usevc1codec>
          <usevpxcodec>-1</usevpxcodec>
          <usemp4codec>-1</usemp4codec>
          <usempeg2codec>-1</usempeg2codec>

          <useswrenderer>false</useswrenderer>
        </stagefright>
      </video>
    ...
    </advancedsettings>


Messages In This Thread
RE: libstagefright - Experimental hardware video decoding builds - by Koying - 2013-02-20, 12:13
libstagefright - by mo123 - 2013-05-14, 14:29
RE: libstagefright - by Koying - 2013-05-14, 14:30
RE: libstagefright - by Maverick5269 - 2013-05-16, 23:04
RE: libstagefright - by matander - 2013-05-19, 18:26
RE: libstagefright - by FreeFrag - 2013-05-22, 13:02
Logout Mark Read Team Forum Stats Members Help
libstagefright - Experimental hardware video decoding builds10