PDA

View Full Version : Troubles muxing m4v to mp4


HookedOnTV
20th July 2005, 16:57
I've just started playing with MeGUI for encoding my HD TS files. While I would like to use x264 the playback requirements are a little too high so I am doing XviD for now.

The behaviour I am experiencing is happening on three different pc's all with different source files.

In MeGUI when the "mux m4v to mp4" job starts the "projected file size" is some huge negative number and the progress will eventually reach 101% and then nothing updates in MeGUI but the temp file in the root of the c: drive will continue to grow until it reaches 3.99GB then everything just sits.

If I run mp4box from the command line the "importing" status bar reaches 200/100 and then starts over.

I remember reading somewhere that earlier versions of mp4box had a 4GB limitation but had been fixed (I am using the 0.3.1 compiled by Sharktooth with a file date of 6/30/05 and linked in the GPAC MP4Box thread).

For the encoding job in MeGUI I only made a couple changes to the codec config. I changed the "mode" to "automated 2 pass" and the min quant's from 2 to 1.

Any ideas? Different tool? A way to verify that the m4v file is good?

Any suggestions would be greatly appreciated.

bond
20th July 2005, 19:21
sounds like some megui problem

you can also try muxing the .m4v into .mp4 manually with mp4box or mp4creator till doom9 responds

Doom9
20th July 2005, 19:43
you can also try muxing the .m4v into .mp4 manually with mp4box or mp4creator till doom9 respondshe did that:
If I run mp4box from the command line the "importing" status bar reaches 200/100 and then starts over.
And I told him to come here because it's not a MeGUI problem..

bond
20th July 2005, 19:46
what version of mp4box?

does mp4creator work?

upload a small sample of the .m4v which shows this problem

HookedOnTV
20th July 2005, 21:43
mp4box: I have tried one dated 7/15/2005 and one 6/30/2005.

mp4creator: Turns out I was using a rather old build. It would only create a 242MB file. Found a build from celtic druid which got to 243MB then error'd out "buffer overflow, invalid video stream?"

The m4v is 6GB, can I just use any old file splitter to cut out a sample?

leowai
21st July 2005, 08:14
6GB is HUGE! It will help if you could describe the steps how you created this m4v file.

Or before this, try the same steps but creating a smaller file (says 10MB) from the same source. Mux it and see how. If it mux with new m4v (small size) using same procedure as the 6GB m4v, I afraid this means MP4Box doesn't handle such a large file.

Besides, what's your output drive format? NTFS or Fat32?

ToS_Maverick
4th March 2007, 12:56
i still got this problem with mp4box 0.4.3!

i have a xvid .m4v file, made with megui/xvid_encraw,which is 4.04 GB. if i try to mux it, mp4box overflows, it's tempfile gets bigger and bigger, until i have to kill it.

i tried other applications to mux the file into *.mp4 but i had no success. even mkvmerge doesn't work (why can't it just support raw ASP an AVC streams?)

SeeMoreDigital
4th March 2007, 14:02
i still got this problem with mp4box 0.4.3!

i have a xvid .m4v file, made with megui/xvid_encraw,which is 4.04 GB. if i try to mux it, mp4box overflows, it's tempfile gets bigger and bigger, until i have to kill it.

i tried other applications to mux the file into *.mp4 but i had no success. even mkvmerge doesn't work (why can't it just support raw ASP an AVC streams?)Sometimes I see this too when muxing .M4V strams with YAMB. From what I understand MediaInfo sometimes crashes the stream.

Often changing the (Xvid streams) file extension from .M4V to .CMP helps with MP4box.... But I've never muxing such large streams!


Cheers

ToS_Maverick
4th March 2007, 14:07
well, mp4box HAS to support it, since HD-movies become more and more poular...

bond
4th March 2007, 14:43
i still got this problem with mp4box 0.4.3!

i have a xvid .m4v file, made with megui/xvid_encraw,which is 4.04 GB. if i try to mux it, mp4box overflows, it's tempfile gets bigger and bigger, until i have to kill it.does it get bigger than 4.04gb?

ToS_Maverick
4th March 2007, 14:48
video + audio should be 4.35 GB

usually mp4box creates a tempfile and writes the stream after caching. if a file is bigger than 4 GB, the temfile grows and grows until the disk is full.

i'm quite astonished that this bug wasn't fixed till today :(

bond
4th March 2007, 20:58
so the tempfile gets bigger than 4.35gb?

ToS_Maverick
4th March 2007, 23:58
i have 15.8 GB of free disk space, which would be occupied if i would not stop mp4box. i didn't want to test it, as the tempfile was about 8 GB i killed mp4box.

bond
5th March 2007, 19:38
seems to be a bug :D

make a bug report here please:
http://sourceforge.net/tracker/?atid=571738&group_id=84101&func=browse

ToS_Maverick
6th March 2007, 09:48
there are already a few threads about this issue. i hope it's fixed soon ;)

Appu
7th March 2007, 06:58
Hi HookedOnTV,

You can use Mplayer or VLC to check whether your m4v file is good. Both these players are capable of playing mpeg-4 elementary streams.

To convert m4v to MP4 ( you don't have any audio? ) you can use ffmpeg. Haven't tried with huge files though...

bond
7th March 2007, 19:49
To convert m4v to MP4 ( you don't have any audio? ) you can use ffmpeg. Haven't tried with huge files though...ffmpeg cant produce correct mp4 files from raw .m4v sources

Appu
8th March 2007, 06:23
ffmpeg cant produce correct mp4 files from raw .m4v sources

In what way the mp4 file is not correct?. The generated mp4 files seems to be playing properly with PC based players. Can you please provide more information on this?.

bond
8th March 2007, 21:07
http://sourceforge.net/tracker/index.php?func=detail&aid=999556&group_id=16082&atid=116082