PDA

View Full Version : DivX AVI to MP4 without re-encoding?


ziphnor
26th December 2007, 18:55
I have some AVI files with DivX/XVid encoded video (not highdef). I have a portable media player (actually my phone) where my preferred player supports the MP4 container, but not AVI's. Therefore i would really like to convert those AVI files to MP4.

If i understand correctly it should be possible to do this without re-encoding the video.

I was hoping that there was an easy way to accomplish this. I guess i need a tool to demux the AVI and then mux the result into an MP4 file. I would greatly appreciate if someone could point me to the right tool(s) for this.

Btw, i did take a look at the MP4 FAQ thread which did list some tools that could perform the muxing, but i think i might need a little more help than that :)

EDIT: From a more detailed reading of the FAQ it sounds like the MP4Box utility is what i should be using. Does there exist a GUI for that that can used for the AVI->MP4 conversion?

Thanks for reading.

ziphnor
26th December 2007, 19:32
Seems the answer is to use MP4BOX like this:

MP4Box.exe -import file.avi dest.mp4
(found this by chance in http://gpac.sourceforge.net/doc_mp4box.php)

The resulting MP4 file does play on my media player but unfortunately the sound doesnt. The source audio is reported by GSpot as MPEG-1 Layer 3 VBR Joint stereo, 163kbps (which is just an MP3, right?).

Another file of mine has AC3 audio, and MP4Box says the audio format is unsupported. Is there a simple way to re-encode the audio?

foxyshadis
26th December 2007, 22:05
Try loading it into avidemux (which can also save to mp4 format) and setting the audio to AAC there. If your mobile requires QCLEP or AMR, it may not be possible to freely re-encode it, I'm not sure on the status of those codecs yet.

Stux
28th December 2007, 02:48
I have some AVI files with DivX/XVid encoded video (not highdef). I have a portable media player (actually my phone) where my preferred player supports the MP4 container, but not AVI's. Therefore i would really like to convert those AVI files to MP4.


You can use the 3ivx Filter Suite to convert from DivX AVI to MP4.

If the audio is AC3 you might need to re-encode the audio. But if it was MP3, although you don't need to, you probably do want to encode the audio AAC.

http://3ivx.com/support/windows/encoding/ge_avi2mp4.html