[MEncoder-users] Remuxing to mp4 on windows

Raimund Berger raimund.berger at gmail.com
Thu May 8 09:22:11 CEST 2008


Nicolas Hesler <nicolas.hesler at sheridanc.on.ca> writes:

> I then dump the streams using Mplayer.

You didn't say how you dumped them. Presumed it's "dumpvideo" and/or
friends, mplayer doesn't seem to produce valid h264 streams that
way. Don't ask me why, I never followed up on this issue myself.

So demuxing should be done differently, and apparently MP4Box itself can
deal with the avi's created by mplayer pretty well. What I usually do is

 MP4Box -aviraw video clip.avi
 MP4Box -aviraw audio clip.avi

which produces raw AAC/AVC stream files "clip_audio.raw" and
"clip_video.h264". Then I rename the audio file to "clip_audio.aac"
and mux with MP4Box

 MP4Box -add clip_video.h264 -add clip_audio.aac clip.mp4

That works on Linux at least, and I'm pretty confident it will work on
Windows either.




More information about the MEncoder-users mailing list