Combine / merge / mix multiple audio files with MP4Parser on Android -


i have 2 mp4 audio files , 1 mp4 video file. need combine them reproduce video , 2 sounds @ same time (parallel, not concatenate), in order mp4 file.

for example, have mp4 audio file voice, music, , video. need play videoclip.

i have been trying add several audio tracks movie mp4parser with:

video.addtrack(audiotrack1); video.addtrack(audiotrack2); 

but when play it, can hear 1 of them. maybe mp4parser working correctly , didn't understand functionality, cause need answer it.

is possible mp4parser or wrong , impossible?

if possible, please give me working example code?

thank in advance.


Comments

Popular posts from this blog

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -