Log in

View Full Version : MeGUI mutex troubles!


hackaro70
2nd April 2009, 15:34
Hi there,

I'm a newbie and, following your instructions I was almost able to convert a full HD stream in MP4 (H.264) format. Here is what I did:


decrypt the stream files (.m2ts, MPEG2 coded) on my hard disk

demute the stream files with DGIndex and got the D2V and the .demuxed files.


I use the D2V file with Avisynth creator to output the .avs batch script that I used with MeGUI


I launched MeGUI with x.264 Blue-ray profile and got an .mp4 file 1080p without the sound as expected.


then I used HdBrStreamExtractor to extract the AC3 sound track (in my language) the chapters file and the subtitles file (.sub format)


I converted the AC3 sound file in ACC Multichannel-HQ 256 Kbs profile (NERO codec) with MeGUI


and till here everything went fine. Then the troubles:

I tried a muxing job with MeGUI using MP4 Mutex and giving as input:

video: the moviefile.mp4
audio: the accfile.m4a
subtitle: the .sub file
chapter: .txt chapter file

1st of all the MeGUI return me an error about the .sub file telling me that's a wrong format ... I didn't understand what it means! :confused:

2nd, I excluded the subtitles from the process and I launched the MP4 mutex (here I understood that it's necessary to "join" an video h.264 compliant with ACC sound file to have a compliant iso mp4 file. Correct me if wrong) that returned me always the same error:

------------------
Error] Log for job8 (mux, 00005.mp4 -> 00005-muxed.mp4)
-[Information] [02/04/2009 14.08.15] Started handling job
-[Information] [02/04/2009 14.08.15] Preprocessing
-[NoImage] Job commandline: "C:\Program Files (x86)\megui\tools\mp4box\mp4box.exe" -add "M:\temp2\00005.mp4#trackID=1:fps=25.0" -add "M:\temp2\2_4_audio.m4a#trackID=1:lang=Italian:nam e=italian" -chap "M:\temp2\2_1_chapter.txt" -tmp "M:\temp2" -new "M:\temp2\00005-muxed.mp4"
-[Information] [02/04/2009 14.08.15] Encoding started
-[Error] Error line: Error: Out Of Memory :mad: (I have 8 GB RAM!) :mad:
-[NoImage] Standard output stream
--[NoImage] IsoMedia import - track ID 1 - Video (size 1920 x 1080)
--[NoImage] IsoMedia import - track ID 1 - Audio (SR 48000 - 6 channels)
--[NoImage] Saving M:\temp2\00005-muxed.mp4: 0.500 secs Interleaving
--[NoImage] Error: Out Of Memory
-[NoImage] Standard error stream
-[Information] [02/04/2009 14.10.18] Job completed
-----------------

and at this point I really don't know what to do. My OS is Vista 64 Ultimate SP1 and I have updated MeGUI to the lastest stable version. Any hints? what am I doing wrong!? :confused:

Thanks in advance for all your replies and sorry for my bad english.

Have a nice day! ;)

buzzqw
2nd April 2009, 15:40
how big(mb) is the video file only ?

BHH

hackaro70
2nd April 2009, 15:42
ciao! (sono italiano anche io!)

the video file is around 4GB ...

Inspector.Gadget
2nd April 2009, 16:00
1st of all the MeGUI return me an error about the .sub file telling me that's a wrong format ... I didn't understand what it means!

Vobsub can't be put in mp4. I mean, you can probably do it with ffmpeg, but it isn't spec-compliant.

hackaro70
2nd April 2009, 16:03
Vobsub can't be put in mp4. I mean, you can probably do it with ffmpeg, but it isn't spec-compliant.

So what should I do to have selectable (you choose the option to see them or not) subtitles in an .MP4 !? :confused:

TIA ::)

buzzqw
2nd April 2009, 16:04
but there is memory error.. so it's no due to vobsub...

BHH

Inspector.Gadget
2nd April 2009, 16:40
but there is memory error.. so it's now due to vobsub...

BHH

Yeah, I don't have any ideas about the second problem because I'm a total noob.

Hackaro70 - Use Subrip or another program of your choice to use optical character recognition to convert Vobsub format (idx/sub) to Subrip format (SRT). When MeGUI's mp4 muxer is called, it will automatically convert SRT to mpeg-4 timed text (TTXT) and put those in the new mp4 file, where they will be selectable.

hackaro70
2nd April 2009, 18:07
Yeah, I don't have any ideas about the second problem because I'm a total noob.

Hackaro70 - Use Subrip or another program of your choice to use optical character recognition to convert Vobsub format (idx/sub) to Subrip format (SRT). When MeGUI's mp4 muxer is called, it will automatically convert SRT to mpeg-4 timed text (TTXT) and put those in the new mp4 file, where they will be selectable.

Hi Inspector.Gadget,

thanks very much for the hints, I will follow your procedure and let you know about it. Thanks again. :)

hackaro70
2nd April 2009, 18:12
but there is memory error.. so it's no due to vobsub...

BHH

Buzzqw,

Have you ever experienced the same "memory error" limit with MP4BOX? ... If it's so how can I split the audio and video files and then how can I join them once converted to the final MP4? :)

or is there another muxer, different from MP4BOX, that doesn't suffer from memory limitation!? :)

buzzqw
2nd April 2009, 20:19
MKVmerge has proven to be rock solid

BHH

smok3
2nd April 2009, 20:54
if i would have to guess: your M:\ drive is formated as fat32?

hackaro70
3rd April 2009, 00:36
if i would have to guess: your M:\ drive is formated as fat32?

no, NTFS , whY?

buzzqw
3rd April 2009, 07:24
on fat32 no files can be bigger than 4gb

another test:
try muxing without audio, just video
mp4box bombs again ?

BHH

hackaro70
3rd April 2009, 11:01
on fat32 no files can be bigger than 4gb

another test:
try muxing without audio, just video
mp4box bombs again!?
BHH


well ... no, it didn't crash in that case! :sly:

But I have to admit that it was very near under the 4GB limit. The only video file, in that case, was 3.9GB, while adding the ACC audio it becomes 4,1GB ... so I guess MP4BOX has the project file size limit to 4,0GB :(

Sharktooth
3rd April 2009, 13:10
that or the mingw environment of the builder (kurtnoise) needs to be patched with largefile support patch...

btw, it's "MUXER" or "MULTIPLEXER" not mutex...