Impossible to mix audio file and video file using MediaMuxer?
android, android-mediacodec, audio, video
Solution
This is a full sample source code to merge wav audio file to mp4 video file :
https://github.com/tqnst/MP4ParserMergeAudioVideo
Problem
I'm developing an Android App that records screen video and audio. I recorded these 2 files : mp3 audio file and mp4 video file(no sound). Now I want to mix them and create a new mp4 video file(with sound). From Android 4.3, Google suggests using the `MediaMuxer` class to mix stream audio and video. I have tried many times without success. Any solution to resolve my issue with `MediaMuxer` API from Google? Any help will be greatly appreciated.