MediaMuxer error “Failed to stop the muxer”

前端 未结 3 1709
猫巷女王i
猫巷女王i 2020-12-06 17:08

I\'m encoding Camera preview data using MediaCodec with mime-type \"video/avc\" and passing the encoded data (video-only, no audio) to MediaM

3条回答
  •  旧时难觅i
    2020-12-06 17:43

    There are 2 Problems with Android 5.0.2 Devices Moto E 1) The Width & height if not supplied multiples of 16 its crashing 2) The mediaBuffer to be set after the First Frame is Encoded

提交回复
热议问题