I want to convert .wmv video file to mp4 video file. Is possible to using MediaMuxer and MediaCodec classes?
Asked
Active
Viewed 498 times
5

gunr2171
- 16,104
- 25
- 61
- 88

nguoitotkhomaisao
- 1,247
- 1
- 13
- 24
-
Please see this... I need your help... [MP4ParserMergeAudioVideo][1] [1]: http://stackoverflow.com/questions/30230709/no-audio-in-mp4-file-android – Kalai Arasi May 14 '15 at 07:20
1 Answers
1
MediaMuxer is used to create .mp4 files. It is not a format converter.
If you have a way to decode .wmv into video frames and a PCM audio stream, then you can feed that data to MediaCodec encoders, and direct that into MediaMuxer to construct an output file.

fadden
- 51,356
- 5
- 116
- 166
-
Thank you for your reply. Can you suggest me a solution to decode .wmv video file? – nguoitotkhomaisao Oct 28 '14 at 01:50
-