Log in

View Full Version : Creating MP4 file from large AVI


sprit
7th January 2004, 03:13
I'm trying to put a XviD AVI in a MP4 file, without luck.

The AVI is 4.3 GByte (running time 3:45:44), compressed in VirtualDub 1.5.10 with Xvid compiled January 1st (should be equivivalent to beta3; default settings, apart from trellis enabled, no B-frames, and packed BS disabled), and I've tried:[list=1] mp4creator60 0.9.7.7 with and without -use64bits -- error at the end: "MP4ERROR: ReadAtom: invalid atom size" [1]
mp4creator60 1.0 with and without -use64bits -- error at the end: "MP4ERROR: ReadAtom: invalid atom size" [1]
AVGen 1.1.1 -- stops at 2GB
MP4Box - GPAC version 0.1.1 -- eats all memory (1GB phys + 1GB virt) and hangs
3ivx DS Muxer -- crashes Graphedit after ~290MBytes
[/list=1]The mp4creators have been feed both the AVI and the raw Xvid stream (as described in (http://sourceforge.net/forum/forum.php?thread_id=972693&forum_id=59136): The AVI was split into 3 ~1.5GByte pieces which were stripped using avi2raw60. The raw pieces were cat'ed into a big m4v, which in turn was feed to mp4creator.
I also tried stripping the file with ffmpeg (ffmpeg 0.4.8; -vcodec copy), which didn't work either with mp4creator.

Which other MP4 muxers are there, or is there something I can do to make mp4creator work?

[1] Actually, when using '-use64bits', even after the error the mp4 file from both mp4creators are playable and seekable in vlc
and in ZoomPlayer (with the 3vix splitter and ffdshow).

Stux
7th January 2004, 07:13
the 3ivx Muxer in 4.5.0 has a bug which means that it fails when the bitrate of the video exceeds 8mbps

Ooops.

Anywho, its fixed in 4.5.1 which should be released soonish

ChristianHJW
7th January 2004, 08:05
Originally posted by Stux the 3ivx Muxer in 4.5.0 has a bug which means that it fails when the bitrate of the video exceeds 8mbps

... average or max bitrate ? AFAIK, average bitrate of XviD can not be more then 6 mbps ?

sprit
7th January 2004, 08:30
Originally posted by Stux
the 3ivx Muxer in 4.5.0 has a bug which means that it fails when the bitrate of the video exceeds 8mbps
I threw together a awk script to parse xvid's debugview output and calculate the bitrate per second (just summing the 25 latest frame sizes) I get:Max/s: 1130622 bytes/s, 9044976 bits/s
Min/s: 2725 bytes/s, 21800 bits/sAt approx. frame 24500 (when Aragorn has his ear to the ground) there's a peak at ~8.3Mbps. Saving the frames 0 to 24500 gives a new file of ~290Mbytes... So, when will 4.5.1 be released? :-)

begu
14th January 2004, 08:51
God damn, this is the problem, I'm having too. I should come more often here, tried so many many times with different options ;)

Thanks for this info.