Multiple instances of MediaCodec used as video encoder in Android

前端 未结 2 612
無奈伤痛
無奈伤痛 2020-12-17 05:51

Is it possible to use two Android MediaCodec instances as video encoder to encode two videos simultaneously?

I know that MediaCodec itself can have multiple instance

2条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-17 06:19

    Yes, like what @Marlon said, it totally depends on what device you used. For example, I use OPPO A39 which can only create 8 mediacodec instance at the same time.

提交回复
热议问题