PDA

View Full Version : Audio encoding error in meGUI


gekan
17th April 2007, 12:43
Hi.
I've been having a strange error regarding audio encoding (Nero AAC) with meGUI.
Here's the story. I have 5 DVDs with 3 episodes in each. I ripped the DVDs to my HD and then, using DVD Shrink, I cut each episode to its own DVD-like folder (with VOB files etc).
I encoded the four out of the six episodes I had in the queue (1, 2, 3 and 5) and the other two produced the same error. I tried encoding number 4 by itself and I had the same error. I tried deleting all the files and creating them again with DVD Shrink but meGUI gave me the same error.
I've encoded stuff before (movies and episodes) without any problem.

This is the d2v creation job:
<?xml version="1.0"?>
<Job xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="IndexJob">
<FilesToDelete />
<Input>E:\Media\PL2_1-Caves\VTS_01_1.VOB</Input>
<Output>E:\Media\PL2_1-Caves\VTS_01_1.d2v</Output>
<Name>job1</Name>
<Priority>IDLE</Priority>
<Status>DONE</Status>
<Position>0</Position>
<Start>2007-04-17T12:01:17.4375+03:00</Start>
<End>2007-04-17T12:02:51.359375+03:00</End>
<FPS>0</FPS>
<NextJobName />
<PreviousJobName />
<Commandline>-AIF=[E:\Media\PL2_1-Caves\VTS_01_1.VOB] -OF=[E:\Media\PL2_1-Caves\VTS_01_1] -exit -minimize -OM=2</Commandline>
<AutoForceFilm>true</AutoForceFilm>
<LoadSources>true</LoadSources>
<AudioTrackID1>-1</AudioTrackID1>
<AudioTrackID2>-1</AudioTrackID2>
<DemuxMode>2</DemuxMode>
<ForceFilmThreshold>95</ForceFilmThreshold>
</Job>

This is the AVS script:
DGDecode_mpeg2source("E:\Media\PL2_1-Caves\VTS_01_1.d2v",info=3)
ColorMatrix(hints=true)
edeintted = last.SeparateFields().SelectEven().EEDI2(field=-1)
TDeint(full=false,edeint=edeintted)
crop( 2, 2, -2, -2)

Spline36Resize(672,368) # Spline36 (Neutral)
Undot() # Minimal Noise

This is the job that produces the error:
<?xml version="1.0"?>
<Job xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xsi:type="AudioJob">
<FilesToDelete />
<Input>E:\Media\PL2_1-Caves\VTS_01_1 T01 3_2ch 448Kbps DELAY 0ms.ac3</Input>
<Output>E:\Media\PL2_1-Caves\VTS_01_1 T01 3_2ch 448Kbps DELAY 0ms.mp4</Output>
<Name>job2-1</Name>
<Priority>NORMAL</Priority>
<Status>WAITING</Status>
<Position>1</Position>
<Start>0001-01-01T00:00:00</Start>
<End>0001-01-01T00:00:00</End>
<FPS>0</FPS>
<NextJobName>job2-2</NextJobName>
<PreviousJobName />
<Commandline />
<CutFile />
<Settings xsi:type="NeroAACSettings">
<ImproveAccuracy>true</ImproveAccuracy>
<ForceDecodingViaDirectShow>false</ForceDecodingViaDirectShow>
<DownmixMode>KeepOriginal</DownmixMode>
<BitrateMode>ABR</BitrateMode>
<Bitrate>128</Bitrate>
<Delay>0</Delay>
<DelayEnabled>false</DelayEnabled>
<AutoGain>true</AutoGain>
<Profile>HE</Profile>
<Quality>0.5</Quality>
<CreateHintTrack>false</CreateHintTrack>
</Settings>
</Job>

This is the log file:
Looking for job processor for job...
Processor found!
Starting job job1 at 11:30:57 πμ
Starting preprocessing of job...
Preprocessing finished!
encoder commandline:
-AIF=[E:\Media\PL2_1-Caves\VTS_01_1.VOB] -OF=[E:\Media\PL2_1-Caves\VTS_01_1] -exit -minimize -OM=2
successfully started encoding
Processing ended at 11:32:24 πμ
----------------------------------------------------------------------------------------------------------

Log for job job1


----------------------------------------------------------------------------------------------------------
Starting postprocessing of job...
Postprocessing finished!
Generating jobs. No desired size.
User doesn't care what the filesize is. Leaving bitrate/qp/crf at the profile's valueLooking for job processor for job...
Processor found!
Starting job job2-1 at 11:49:21 πμ
Starting preprocessing of job...
Preprocessing finished!
encoder commandline:

successfully started encoding
Processing ended at 11:50:25 πμ
----------------------------------------------------------------------------------------------------------

Log for job job2-1

Channels=6, BitsPerSample=16, SampleRate=48000Hz
C:\Program Files\megui\tools\neroaacenc\neroaacenc.exe -ignorelength -he -br 128000 -if - -of "E:\Media\PL2_1-Caves\VTS_01_1 T01 3_2ch 448Kbps DELAY 0ms.mp4"Error:
MeGUI.AviSynthException: m2AudioAC3Source: error in file "E:\Media\PL2_1-Caves\VTS_01_1 T01 3_2ch 448Kbps DELAY 0ms.ac3"
at MeGUI.AviSynthAudioEncoder.encode()
----------------------------------------------------------------------------------------------------------
The current job contains errors. Skipping chained jobs
Looking for job processor for job...
Processor found!
Starting job job3 at 11:50:25 πμ
Starting preprocessing of job...
Preprocessing finished!
encoder commandline:
vobsub.dll,Configure E:\Media\PL2_1-Caves\VTS_01_0.vobsub
successfully started encoding
Processing ended at 11:52:51 πμ
----------------------------------------------------------------------------------------------------------

Log for job job3


----------------------------------------------------------------------------------------------------------
Starting postprocessing of job...
Postprocessing finished!



Thanks in anvance for your answers.

geKan.

gekan
20th April 2007, 08:43
Good morning.

Any idea?.. ;)

Selur
23rd April 2007, 10:12
Did you try to enable 'Force Decoding via DirectShow'? (might help)

Henrikx
23rd April 2007, 10:36
Maybe E:\Media is write protected ?

gekan
24th April 2007, 15:55
Did you try to enable 'Force Decoding via DirectShow'? (might help)
No I didn't do that. What does this do? Does it try to do things the normal way and, if it fails, it uses DirectShow?
I'll give it a try.


Maybe E:\Media is write protected ?
No, it's not write protected or full. I use it all the time.


Thanks for your answers. :)
I'm trying something that is a strange approach to a solution. If it succeed I'll post it here.
After that I'll try Selur's suggestion.

gekan
2nd May 2007, 15:38
Sorry for the delay but I was away for a few days.

The only thing that worked is when I did the whole encoding with AutoMkv. AutoMkv, during the encoding process, produces a file called fixed.ac3. When I used this instead of the "VTS_01_1 T01 3_2ch 448Kbps DELAY 0ms.ac3" file the encoding with meGUI finished without any errors and the produced file is as good as expected.

I don't know what happened but I know it worked this way. :)