5

I want to convert .wmv video file to mp4 video file. Is possible to using MediaMuxer and MediaCodec classes?

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 Answers1

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