Log in

View Full Version : AutoGK can't decode AC3 files


Chengbin
29th October 2007, 00:37
When I try to have a AC3 audio file in the file I'm converting, when I start converting, it will just give me a Sylia script error saying expected. Then the log says the audio file is corrupted, but it is not corrupted. It happened to every single file with AC3. Can somebody help me? Thanks so much. BTW I'm using AutoGK 2.45

len0x
3rd November 2007, 12:01
what's your OS/hardware? (and logs)

Chengbin
7th November 2007, 14:19
Windows XP
Pentium 4 @ 2.8GHz
512MB
80GB HDD
Integrated video card

Log

[2007-10-29 21:25:14] AutoGK 2.45
[2007-10-29 21:25:14] OS: WinXP (5.1.2600).2
[2007-10-29 21:25:14] Job started.
[2007-10-29 21:25:14] Input file: D:\1.AVI
[2007-10-29 21:25:14] Input codec: XviD
[2007-10-29 21:25:14] Source duration: 40mn 36s 603ms
[2007-10-29 21:25:14] Output file: D:\1_agk.avi
[2007-10-29 21:25:14] Output codec: XviD
[2007-10-29 21:25:14] Audio 1: 448 Kbps AC3 6ch
[2007-10-29 21:25:14] Subtitles: none
[2007-10-29 21:25:14] Format: AVI
[2007-10-29 21:25:14] Target size: 300Mb
[2007-10-29 21:25:14] Custom resolution settings: fixed width of 640 pixels
[2007-10-29 21:25:14] Audio 1 settings: Original
[2007-10-29 21:25:14] Started encoding.
[2007-10-29 21:25:14] Source resolution: 960x544
[2007-10-29 21:25:14] Source fps: 23.976
[2007-10-29 21:25:14] Output will contain 58420 frames
[2007-10-29 21:25:14] Demuxing audio.
[2007-10-29 21:26:06] Audio1 size: 136,446,456 bytes (130.13 Mb)
[2007-10-29 21:26:06] Overhead: 406,144 bytes (0.39 Mb)
[2007-10-29 21:26:06] Video size: 177,720,200 bytes (169.49 Mb)
[2007-10-29 21:26:06] Running compressibility test.
[2007-10-29 21:26:06] Writing the following script to D:\agk_tmp\1_agk_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE3.dll")

movie = DirectShowSource("D:\1.AVI",23.976).KillAudio()
movie = isRGB(movie) ? ConvertToYV12(movie) : movie
movie = isYUY2(movie) ? ConvertToYV12(movie) : movie
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 1
c_width = width(cropclip)
c_height = round(height(cropclip) / fixed_aspect)
input_par = float(c_width)/float(c_height)
input_par = (input_par > 1.4) || (input_par < 1.25) ? input_par : (4.0/3.0)
out_width = 640
out_height = round(float(out_width) / input_par)
hmod = out_height - (floor(out_height / 16 ) * 16)
out_height = (hmod > 4) ? (out_height + (16 - hmod)) : (out_height - hmod)
new_aspect = (float(out_width) / float(out_height)) / fixed_aspect
autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=new_aspect,threshold=0,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
SelectRangeEvery(300,15)
===========================================================
*************************************
EXCEPTION: Job aborted
*************************************
[2007-10-29 21:26:10] Job finished. Total time: 56 seconds

Now it will not decode any audio format. So strange

len0x
8th November 2007, 22:20
I don't see anything Audio related in the logs. Its not transcoded as original is kept and comp test step doesn't require audio at all... So I don't understand what your "Now it will not decode any audio format" actually mean.

Chengbin
8th November 2007, 23:59
Audio1 is original, but after the compressibility test it goes to demuxing audio, then sylia script error comes up and it says Audio1 is corrupted. BTW the sylia script error says expected.