Concatenate multiple mp4 audio files using android´s MediaMuxer

后端 未结 2 1444
悲&欢浪女
悲&欢浪女 2020-12-20 01:58

I am trying to concatenate multiple mp4 audio files (each containing only one audio track, all recorded with the same MediaRecorder and the same parameters) into one using t

2条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-20 02:42

    I am looking to do the same, and thinking about it more, it can't work. Wished it did, because I need it too. It's like trying to push two bottles together and expecting them to become one bigger bottle. You need to take the... beer? from each (decode audio from each file) and then pour it in a new bottle (encode audio again, feeding from the second one when the first is done)... Once the bottle is capped, you cannot add more beer in it

提交回复
热议问题