Log in

View Full Version : large audio sync error and more with AutoGK


roofrabbit
14th October 2008, 00:12
I want to make a WMF of an old movie, so I planned this multi-step process:

1. Re-author DVD disk using DVD Shrink 3.2;
2. Use AutoGK to convert to an AVI file;
3. Use Pinnacle Studio 9 to convert to WMF

I am stalled at step 2 with AutoGK. In the converted AVI file, the problem is that the audio is greatly out of sync, the sound is distorted so much that voices can't be understood, and the sound track seems to be on a different time scale than the video. By greatly out of sync, I mean that at the beginning the sound begins maybe 10 seconds after the video, and the sound "rumbles" far longer than that it should.

The re-authored DVD file plays OK.

I am a newbie with AutoGK, downloading it just for this one purpose. I have tried various options with exactly the same result. (BTW, the video is a little squeezed horizontally, but I assume that this is easily corrected.)

Is there a problem with the re-authored file, or with AutoGK? What should I do?

==================

The latest log file is here:

[10/12/2008 9:06:01 PM] AutoGK 2.45
[10/12/2008 9:06:01 PM] OS: WinXP (5.1.2600).2
[10/12/2008 9:06:01 PM] Job started.
[10/12/2008 9:06:01 PM] Input file: F:\Pink Panther AVI\VIDEO_TS\VTS_01_0.IFO
[10/12/2008 9:06:01 PM] Output file: W:\DVD\Pink Panther\Pink Panther AVI.avi
[10/12/2008 9:06:01 PM] Output codec: XviD
[10/12/2008 9:06:01 PM] Audio 1: English AC3 6ch
[10/12/2008 9:06:01 PM] Audio 2: English AC3 2ch
[10/12/2008 9:06:01 PM] Subtitles: none
[10/12/2008 9:06:01 PM] Format: AVI
[10/12/2008 9:06:01 PM] Target size: 2100Mb
[10/12/2008 9:06:01 PM] Audio 1 settings: Auto
[10/12/2008 9:06:01 PM] Audio 2 settings: Auto
[10/12/2008 9:06:01 PM] Started encoding.
[10/12/2008 9:06:01 PM] Demuxing and indexing.
[10/12/2008 9:13:53 PM] Processing file: F:\Pink Panther AVI\VIDEO_TS\VTS_01_1.VOB
[10/12/2008 9:13:53 PM] Processing file: F:\Pink Panther AVI\VIDEO_TS\VTS_01_2.VOB
[10/12/2008 9:13:53 PM] Processing file: F:\Pink Panther AVI\VIDEO_TS\VTS_01_3.VOB
[10/12/2008 9:13:53 PM] Processing file: F:\Pink Panther AVI\VIDEO_TS\VTS_01_4.VOB
[10/12/2008 9:13:53 PM] Processing file: F:\Pink Panther AVI\VIDEO_TS\VTS_01_5.VOB
[10/12/2008 9:13:53 PM] Source resolution: 720x480
[10/12/2008 9:13:53 PM] Found NTSC source.
[10/12/2008 9:13:53 PM] Source aspect ratio: 4:3
[10/12/2008 9:13:53 PM] Source seems to be pure FILM.
[10/12/2008 9:13:53 PM] Color correction enabled.
[10/12/2008 9:13:53 PM] Output will contain 165583 frames
[10/12/2008 9:13:53 PM] Decoding audio.
[10/12/2008 9:15:55 PM] Normalizing audio.
[10/12/2008 9:18:38 PM] Encoding audio.
[10/12/2008 9:32:58 PM] Audio1 size: 386,745,856 bytes (368.83 Mb)
[10/12/2008 9:32:58 PM] Audio2 size: 89,482,512 bytes (85.34 Mb)
[10/12/2008 9:32:58 PM] Overhead: 7,774,336 bytes (7.41 Mb)
[10/12/2008 9:32:58 PM] Video size: 1,718,006,896 bytes (1638.42 Mb)
[10/12/2008 9:32:58 PM] Running compressibility test.
[10/12/2008 9:32:58 PM] Writing the following script to W:\DVD\Pink Panther\agk_tmp\Pink Panther AVI_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\ColorMatrix.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE2.dll")

movie = mpeg2source("W:\DVD\Pink Panther\agk_tmp\Pink Panther AVI.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 0.888888888888889
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 = 704
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=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
ColorMatrix("Rec.709->Rec.601",opt=0,hints=false,threads=0)
SelectRangeEvery(300,15)
===========================================================
[10/12/2008 9:40:33 PM] Duration was: 7 minutes 33 seconds
[10/12/2008 9:40:33 PM] Speed was: 18.25 fps.
[10/12/2008 9:40:33 PM] Compressibility percentage is: 98.94
[10/12/2008 9:40:33 PM] Chosen resolution is: 720x432 ( AR: 1.67 )
[10/12/2008 9:40:33 PM] Predicted comptest value is: 93.16%
[10/12/2008 9:40:33 PM] Running first pass.
[10/12/2008 9:40:33 PM] Writing the following script to W:\DVD\Pink Panther\agk_tmp\Pink Panther AVI_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\ColorMatrix.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\RemoveGrainSSE2.dll")

movie = mpeg2source("W:\DVD\Pink Panther\agk_tmp\Pink Panther AVI.d2v")
cropclip = autocrop(movie,mode=0,wmultof=4,hmultof=4,samples=10,aspect=0,threshold=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
fixed_aspect = 0.888888888888889
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 = 720
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=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
RemoveGrain(mode=2)
ColorMatrix("Rec.709->Rec.601",opt=0,hints=false,threads=0)
===========================================================
[10/12/2008 11:10:34 PM] Duration was: 1 hour, 30 minutes 0 seconds
[10/12/2008 11:10:34 PM] Speed was: 30.66 fps.
[10/12/2008 11:10:34 PM] Expected quality of first pass size: 90.35%
[10/12/2008 11:10:34 PM] Running second pass.
[10/13/2008 1:30:07 AM] Duration was: 2 hours 19 minutes 31 seconds
[10/13/2008 1:30:07 AM] Speed was: 19.78 fps.
[10/13/2008 1:30:09 AM] Splitting video into: W:\DVD\Pink Panther\Pink Panther AVI.cd1.avi
[10/13/2008 1:32:35 AM] Splitting video into: W:\DVD\Pink Panther\Pink Panther AVI.cd2.avi
[10/13/2008 1:34:48 AM] Splitting video into: W:\DVD\Pink Panther\Pink Panther AVI.cd3.avi
[10/13/2008 1:37:05 AM] Job finished. Total time: 4 hours 31 minutes 4 seconds

setarip_old
14th October 2008, 00:59
Hi!

Why the need for the intermediate creation of an .AVI file?

http://forum.videohelp.com/topic319304.html