View Full Version : MeGUI + Nero AAC encodes audio then deletes it ("moov box not found")
komarovsky
7th August 2008, 02:01
I am running MeGUI 0.3.0.1020 on Windows 2000 SP4. I ripped the AC3 file (6 channels, 448kbps) from the DVD (to a raw .ac3 file) and I am trying to encode it in MeGUI (just it, I have already encoded the video) with Nero AAC. I am trying to keep the number of channels and encode it to HE-AAC at 128kbps (average). It seems to work fine until the very end where MeGUI just stops and deletes the file that it had been encoding. I have checked the log file but I don't understand what is wrong. I think that the line "Output from encoder via stdout: ERROR: moov box not found" is the most important line for information, and I have been googling it and searching on this site for the last few hours, but I don't know what it means. I don't know what a moov box is. I thought it might be a problem with the muxer, so I installed YAMB (and along with that comes mp4box). That didn't help. I have AviSynth (latest 2.5 stable) installed, FFDShow, MatroskaSplitter (or is that just the file name for Haali media splitter?). I have what I think is the latest NicAudio installed, but I don't think that is the problem. Force decoding via DirectShow is not checked.
I hope that this hasn't alreay been answered because I have searched for a long time and it wouldn't be good to have taken that time but missed it, but would anyone know how to fix the problem? I think it would be easy for someone that knows what a moov box is. I can only guess it has something to do with the finalizing of the MP4 container, but I don't know for sure or how to fix it.
I have attached a screenshot of the log.
EDIT: It says it is pending approval. I can see it, I am not sure if others can. I should just upload it to a picture hosting site:
http://xs230.xs.to/xs230/08323/untitled743.png
Kurtnoise
7th August 2008, 13:45
a screenshot is meaningless...post the log file instead.
Moreover, a sample of your ac3 file could be great too...
komarovsky
9th August 2008, 03:51
Here's the log when it fails. I edited it to split the Nero AAC command from one line to two so it didn't stretch out the page.
[Error] Log
-[Information] Version information
--[NoImage] MeGUI Version : 0.3.0.1020
--[NoImage] OS : Microsoft Windows 2000 Professional Service Pack 4
--[NoImage] Framework used : 2.0 SP1
-[Information] Settings
--[NoImage] YadifPath: C:\Program Files\megui\tools\yadif\yadif.dll
--[NoImage] AudioSamplesPerUpdate: 100000
--[NoImage] AutoScrollLog: True
--[NoImage] AcceptableFPSError: 0.01
--[NoImage] MaxServersToTry: 5
--[NoImage] AutoUpdateServerSubList: 0
--[NoImage] AutoUpdateServerLists
---[NoImage] array.Length: 2
---[NoImage] array[0]
----[NoImage] array.Length: 3
----[NoImage] array[0]: Stable
----[NoImage] array[1]: http://megui.org/auto/stable/
----[NoImage] array[2]: http://mewiki.project357.com/auto/stable/
---[NoImage] array[1]
----[NoImage] array.Length: 3
----[NoImage] array[0]: Development
----[NoImage] array[1]: http://megui.org/auto/
----[NoImage] array[2]: http://mewiki.project357.com/auto/
--[NoImage] AfterEncoding: DoNothing
--[NoImage] AfterEncodingCommand: null
--[NoImage] AcceptableAspectErrorPercent: 1
--[NoImage] UseAdvancedTooltips: True
--[NoImage] AlwaysOnTop: False
--[NoImage] BeSplitPath: besplit.exe
--[NoImage] FFMpegPath: C:\Program Files\megui\tools\ffmpeg\ffmpeg.exe
--[NoImage] EncAacPlusPath: C:\Program Files\megui\tools\enc_aacplus\enc_aacplus.exe
--[NoImage] EncAudXPath: C:\Program Files\megui\tools\encaudxcli\encaudxcli.exe
--[NoImage] OggEnc2Path: C:\Program Files\megui\tools\oggenc2\oggenc2.exe
--[NoImage] MencoderPath: C:\Program Files\megui\tools\mencoder\mencoder.exe
--[NoImage] FaacPath: C:\Program Files\megui\tools\faac\faac.exe
--[NoImage] LamePath: C:\Program Files\megui\tools\lame\lame.exe
--[NoImage] NeroAacEncPath: neroAacEnc.exe
--[NoImage] MkvmergePath: C:\Program Files\megui\tools\mkvmerge\mkvmerge.exe
--[NoImage] Mp4boxPath: C:\Program Files\megui\tools\mp4box\mp4box.exe
--[NoImage] X264Path: C:\Program Files\megui\tools\x264\x264.exe
--[NoImage] DgIndexPath: C:\Program Files\megui\tools\dgindex\dgindex.exe
--[NoImage] XviDEncrawPath: C:\Program Files\megui\tools\xvid_encraw\xvid_encraw.exe
--[NoImage] Avc2aviPath: C:\Program Files\megui\tools\avc2avi\avc2avi.exe
--[NoImage] AviMuxGUIPath: C:\Program Files\megui\tools\avimux_gui\avimux_gui.exe
--[NoImage] AftenPath: C:\Program Files\megui\tools\aften\aften.exe
--[NoImage] AvisynthPluginsPath: C:\Program Files\AviSynth 2.5\plugins
--[NoImage] MeGUIUpdateCache: C:\Program Files\megui\update_cache
--[NoImage] RecalculateMainMovieBitrate: False
--[NoImage] AutoForceFilm: True
--[NoImage] FreshOggEnc2: True
--[NoImage] AutoStartQueue: False
--[NoImage] AutoOpenScript: True
--[NoImage] AutoSetNbThreads: True
--[NoImage] OpenProgressWindow: True
--[NoImage] ForceFilmThreshold: 95
--[NoImage] DefaultLanguage1: English
--[NoImage] DefaultLanguage2: English
--[NoImage] DefaultPriority: NORMAL
--[NoImage] EnableMP3inMP4: False
--[NoImage] OverwriteStats: True
--[NoImage] Keep2of3passOutput: False
--[NoImage] NbPasses: 2
--[NoImage] DeleteCompletedJobs: False
--[NoImage] DeleteIntermediateFiles: True
--[NoImage] DeleteAbortedOutput: True
--[NoImage] VideoExtension
--[NoImage] AudioExtension
--[NoImage] AutoUpdate: True
--[NoImage] DialogSettings
---[NoImage] OverwriteJobOutputResponse: True
---[NoImage] AskAboutOverwriteJobOutput: True
---[NoImage] DuplicateResponse: True
---[NoImage] AskAboutDuplicates: True
---[NoImage] WarnAboutRDO2: True
---[NoImage] AskAboutError: True
---[NoImage] ContinueDespiteError: True
---[NoImage] AskAboutYV12: True
---[NoImage] AddConvertToYV12: True
---[NoImage] AskAboutVOBs: True
---[NoImage] UseOneClick: True
--[NoImage] SourceDetectorSettings
---[NoImage] CombedFrameMinimum: 5
---[NoImage] MinimumUsefulSections: 20
---[NoImage] DecimationThreshold: 2
---[NoImage] MaxPortions: 5
---[NoImage] Priority: BelowNormal
---[NoImage] PortionsAllowed: False
---[NoImage] PortionThreshold: 5
---[NoImage] HybridFOPercent: 10
---[NoImage] MinimumAnalyseSections: 150
---[NoImage] AnalysePercent: 1
---[NoImage] HybridPercent: 5
--[NoImage] AedSettings
---[NoImage] AddAdditionalContent: False
---[NoImage] NoTargetSizeMode: False
---[NoImage] BitrateMode: False
---[NoImage] FileSizeMode: True
---[NoImage] Container: MP4
---[NoImage] Bitrate: 700
---[NoImage] FileSize: 700 MB
---[NoImage] SplitSize: null
--[NoImage] safeProfileAlteration: False
-[Error] Log for job1 (audio, audio128_fixed.ac3 -> audio128_fixed.mp4)
--[Information] [8/8/2008 12:27:53 PM] Started handling job
--[Information] [8/8/2008 12:27:53 PM] Preprocessing
--[NoImage] Avisynth script
---[NoImage] NicAc3Source("C:\Documents and Settings\User\Desktop\Encoding\audio128_fixed.ac3", DRC=1)
---[NoImage] ConvertAudioToFloat()
---[NoImage] Normalize()
---[NoImage] ConvertAudioTo16bit()
---[NoImage] return last
--[NoImage] Commandline used: -ignorelength -he -br 125000 -if - -of "{0}"
--[Information] [8/8/2008 12:27:53 PM] Encode thread started
--[Information] [8/8/2008 12:27:53 PM] Encoding started
--[Information] [8/8/2008 12:27:53 PM] Avisynth script environment opened
--[Information] [8/8/2008 12:27:56 PM] Script loaded
--[Information] Input
---[NoImage] Channels: 6
---[NoImage] Bits per sample: 16
---[NoImage] Sample rate: 48000
--[NoImage] Commandline: C:\Program Files\megui\neroAacEnc.exe -ignorelength -he -br 125000 -if -
-of "C:\Documents and Settings\User\Desktop\Encoding\audio128_fixed.mp4"
--[Information] [8/8/2008 12:27:56 PM] Encoder process started
--[Error] An error occurred
---[NoImage] Exception message: Abnormal encoder termination 1
---[NoImage] Stacktrace: at MeGUI.AviSynthAudioEncoder.encode()
---[NoImage] Inner exception: null
--[NoImage] Output from encoder via stderr
---[NoImage] *************************************************************
---[NoImage] * *
---[NoImage] * Nero Digital Audio Reference MPEG-4 & 3GPP Audio Encoder *
---[NoImage] * Copyright 2007 Nero AG *
---[NoImage] * All Rights Reserved Worldwide *
---[NoImage] * *
---[NoImage] * Package build date: Aug 6 2007 *
---[NoImage] * Package version: 1.1.34.2 *
---[NoImage] * *
---[NoImage] * See -help for a complete list of available parameters. *
---[NoImage] * *
---[NoImage] *************************************************************
--[NoImage] Output from encoder via stdout: ERROR: moov box not found
--[Information] [8/8/2008 1:00:12 PM] Job completed
I didn't think it was a problem with the particular ac3 file though. It seemed to play fine when I watched through the whole DVD a few days ago, but it didn't work (in MeGUI) after I ripped it using both mplayer and DGIndex. It also didn't work (In MeGUI) with some other ac3 files from other DVDs, but strangely enough I split the file in to a 30 second sample and I think it did work in both MeGUI and BeLight (the other files also didn't work in BeLight when I tried them, if I remember correctly). I then ran the ac3 file through the splitter but with no change but it just produced an exactly identical file (same md5). I'm going to do some more testing to try and see what works and what doesn't (in particular to confirm that the 30 second samples work.) I can upload the sample, but where should I upload it to? something like rapidshare?
Thank you for helping :)
edit: i've done some testing with belight. it seems to work great (from the thousand seconds of the file that I encoded) except that the bitrate seems to be higher than I set. 128kbps turns in to 138kbps and 112kbps turns in to 121kbps (in the few sample encodes I did). Nero AAC seems to go a few kbps above the set bitrate in stereo, so I guess the problem is worsened with more channels. I think BeLight has an option to show the BeSweet command, so when I have time I will look at that and try the command (because belight doesn't allow to set the bitrate exactly, just popular presets) with the bitrate set the amount under 128kbps I need to achieve it.
another edit: I realised BeLight has an option to edit the command line and then run it, so I set it to a lower bitrate to compensate and get the output to be 128Kbps. Any split encodes seemed to work fine, but when I did the full encode something very strange happened. It still took the time to encode, but it just split the AC3 file in to the size that the encode should have been. The resultant file is a 43 minute long cut of the original AC3 file. it has an .mp4 extension, but I don't think it is in an mp4 container (MP4Box extract: "Error opening file audio128.mp4: IsoMedia File is truncated").
another edit: BeLight seems to have this problem with long encodes. I've tried up to 500 seconds and that seems to have worked, but it doesn't work when encoding the whole file.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.