Adding video codec to Android

后端 未结 2 435
情书的邮戳
情书的邮戳 2020-12-29 07:18

Can someone please explain the steps I need to take in order to add a new codec to Android?

Also, I would like the codec to be installed as part of an application in

2条回答
  •  庸人自扰
    2020-12-29 08:03

    I think it maybe possible to add custom codec(though I have not tried) by referring to the android developer page Adding custom codec to android.

    You can try out adding your codec through openMAX IL layer then call up the android media player to play it(I believe vlc has done in this way but uses its own player). The awesome player, the android default player, just fetch a list of codecs available through openMAX API and if there is a codec, it plays. So it is worth to try adding your codec during initialization of your app, and call up media player.

提交回复
热议问题