I want to merge audio of mp3 file in to video mp4 file .is it possible via media for moile library.if yes then how can we do this in android.
You can use
but it works only for AAC audio, since all frames should be equal sizes. mp3 frames sizes are different from frame to frame.
I have ever done this using an audio and video joiner called Joyoshare Video Joiner on my Windows. I have not tried it on mobiles.
For more complete information about compiler optimizations, see our Optimization Notice.