PDA

View Full Version : Newbie need help a/v sync problem using autogk


jtan2000
2nd March 2005, 01:07
Hi, i don't have any a/v sync problem when using autogk v1.60; however when i use the v1.91beta the audio is ahead of video.

Should i try encoding again with v1.93beta. I just realized there a new version.

I was also wondering that the original dvd is NTSC - 720x480 - 4:3 - 29.997fps, does autogk automatically encode it to 23.976fps ? Is there a way to maintain the same 29.997fps?



The following is the log when i use v1.91:

[2/28/2005 7:59:36 PM] AutoGK 1.91b
[2/28/2005 7:59:36 PM] OS: WinXP (5.1.2600).2
[2/28/2005 7:59:36 PM] Job started.
[2/28/2005 7:59:36 PM] Input dir: G:\FOREIGN_CORRESPONDENT for divx\VIDEO_TS
[2/28/2005 7:59:36 PM] Output file: H:\foreign correspondent (dvd).avi
[2/28/2005 7:59:36 PM] Audio: English
[2/28/2005 7:59:36 PM] Subtitles: none
[2/28/2005 7:59:36 PM] Codec: DivX
[2/28/2005 7:59:36 PM] Target size: 700Mb
[2/28/2005 7:59:36 PM] Started encoding.
[2/28/2005 7:59:36 PM] Demuxing and indexing.
[2/28/2005 8:05:45 PM] Processing file: G:\FOREIGN_CORRESPONDENT for divx\VIDEO_TS\VTS_02_PGC_01_1.VOB
[2/28/2005 8:05:45 PM] Processing file: G:\FOREIGN_CORRESPONDENT for divx\VIDEO_TS\VTS_02_PGC_01_2.VOB
[2/28/2005 8:05:45 PM] Processing file: G:\FOREIGN_CORRESPONDENT for divx\VIDEO_TS\VTS_02_PGC_01_3.VOB
[2/28/2005 8:05:45 PM] Processing file: G:\FOREIGN_CORRESPONDENT for divx\VIDEO_TS\VTS_02_PGC_01_4.VOB
[2/28/2005 8:05:45 PM] Processing file: G:\FOREIGN_CORRESPONDENT for divx\VIDEO_TS\VTS_02_PGC_01_5.VOB
[2/28/2005 8:05:45 PM] Source aspect ratio: 4:3
[2/28/2005 8:05:45 PM] Source resolution: 720x480
[2/28/2005 8:05:45 PM] Found NTSC source.
[2/28/2005 8:05:45 PM] Source seems to be pure FILM.
[2/28/2005 8:05:46 PM] Output will contain 173230 frames
[2/28/2005 8:05:46 PM] Decoding audio.
[2/28/2005 8:15:52 PM] Normalizing audio.
[2/28/2005 8:20:10 PM] Encoding audio.
[2/28/2005 8:47:28 PM] Audio size: 55,213,152 bytes (52.66 Mb)
[2/28/2005 8:47:28 PM] Overhead: 11,176,192 bytes (10.66 Mb)
[2/28/2005 8:47:28 PM] Video size: 667,613,856 bytes (636.69 Mb)
[2/28/2005 8:47:28 PM] Target bitrate is: 739kbps
[2/28/2005 8:47:28 PM] Running compressibility test.
[2/28/2005 8:47:28 PM] Writing the following script to H:\agk_tmp\foreign correspondent (dvd)_comptest.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")

movie = mpeg2source("H:\agk_tmp\foreign correspondent (dvd).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 : (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=34,samplestartframe=0,leftadd=0,rightadd=0,topadd=0,bottomadd=0)
LanczosResize(out_width,out_height)
SelectRangeEvery(280,14)
===========================================================
[2/28/2005 10:10:55 PM] Duration was: 1 hour, 23 minutes 26 seconds
[2/28/2005 10:10:55 PM] Speed was: 1.73 fps.
[2/28/2005 10:10:56 PM] Compressibility percentage is: 18.13
[2/28/2005 10:10:56 PM] Using softer resizer.
[2/28/2005 10:10:56 PM] Chosen resolution is: 352x272 ( AR: 1.29 )
[2/28/2005 10:10:56 PM] Predicted comptest value is: 62.43
[2/28/2005 10:10:56 PM] Running first pass.
[2/28/2005 10:10:56 PM] Writing the following script to H:\agk_tmp\foreign correspondent (dvd)_movie.avs
===========================================================
LoadPlugin("C:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\autocrop.dll")

movie = mpeg2source("H:\agk_tmp\foreign correspondent (dvd).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 : (4.0/3.0)
out_width = 352
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)
BicubicResize(out_width,out_height,0,0.5)
===========================================================
[3/1/2005 7:34:11 AM] Duration was: 9 hours 23 minutes 14 seconds
[3/1/2005 7:34:11 AM] Speed was: 5.13 fps.
[3/1/2005 7:34:11 AM] Running second pass.
[3/1/2005 3:23:11 PM] Duration was: 7 hours 48 minutes 59 seconds
[3/1/2005 3:23:11 PM] Speed was: 6.16 fps.
[3/1/2005 3:23:11 PM] Job finished. Total time: 19 hours 23 minutes 34 seconds

len0x
2nd March 2005, 12:09
Originally posted by jtan2000
Should i try encoding again with v1.93beta. I just realized there a new version.


Yes, you should. There were indeed some synch problems in rare cases.

Originally posted by jtan2000
I was also wondering that the original dvd is NTSC - 720x480 - 4:3 - 29.997fps, does autogk automatically encode it to 23.976fps ? Is there a way to maintain the same 29.997fps?


It does encode it as 23.976 (log says that its a FILM source), because that is actual framerate of a movie (see more on the subject here (http://www.doom9.org/ivtc-tut.htm))