Multiple instances of MediaCodec used as video encoder in Android
问题 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 instances, for video/audio encoding/decoding. But is there any restriction on hardware/Android version on encoding multiple videos, besides the impact of performance? More specifically, if considering only Android version 4.3 or higher, is multiple instances of video encoder valid or still be device-dependent? 回答1: From my experience it