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
From my experience it completely depends on a device. And there are devices that are able to support only one instance of video encoder in one time
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.