PDA

View Full Version : A/v out of sync in AutoGk 1.95


archish
19th April 2005, 21:29
I was encoding the Cast Away Film and the first hald seems to be ok and at the End of the file the audio and video are totally out of sync. What might be the problem?

thanks

unskinnyboy
19th April 2005, 21:33
1) Try 2.06 beta. It is pretty stable.

2) Please SEARCH this same forum. I cannot count how many times this same issue has been discussed here. :rolleyes:

archish
19th April 2005, 21:34
sorry :(

archish
19th April 2005, 21:40
Sorry to bug in again but i searched the forums but most problems were related to MGM logo only. This one is having a delay at the end of the movie.

unskinnyboy
19th April 2005, 22:13
Hmm..Can you post your log file?

Meanwhile, other A/V sync issue threads:

http://forum.doom9.org/showthread.php?s=&threadid=69405
http://forum.doom9.org/showthread.php?s=&threadid=87613
http://forum.doom9.org/showthread.php?s=&threadid=90884

archish
19th April 2005, 22:30
[19/4/2005 8:52:43 PM] AutoGK 1.95
[19/4/2005 8:52:43 PM] OS: WinXP (5.1.2600).2
[19/4/2005 8:52:43 PM] Job started.
[19/4/2005 8:52:43 PM] Input file: Cast Away.vob
[19/4/2005 8:52:43 PM] Output file: F:\Cast Away\Cast Away.avi
[19/4/2005 8:52:43 PM] Audio: Audio Stream 0
[19/4/2005 8:52:43 PM] Subtitles: none
[19/4/2005 8:52:43 PM] Codec: XviD
[19/4/2005 8:52:43 PM] Target size: 1400Mb
[19/4/2005 8:52:43 PM] Custom resolution settings: minimum width of 640 pixels
[19/4/2005 8:52:43 PM] Custom audio settings: VBR MP3 with average bitrate: 128Kbps
[19/4/2005 8:52:43 PM] Started encoding.
[19/4/2005 8:52:43 PM] Demuxing and indexing.
[19/4/2005 8:55:06 PM] Processing file: I:\Movies\Cast Away DVD\Cast Away.vob
[19/4/2005 8:55:06 PM] Source aspect ratio: 16:9
[19/4/2005 8:55:06 PM] Source resolution: 720x480
[19/4/2005 8:55:06 PM] Found NTSC source.
[19/4/2005 8:55:06 PM] Source seems to be pure FILM.
[19/4/2005 8:55:06 PM] Output will contain 197481 frames
[19/4/2005 8:55:06 PM] Decoding audio.
[19/4/2005 8:59:04 PM] Normalizing audio.
[19/4/2005 9:01:42 PM] Encoding audio.
[19/4/2005 9:11:23 PM] Audio size: 131,257,272 bytes (125.18 Mb)
[19/4/2005 9:11:23 PM] Overhead: 7,899,264 bytes (7.53 Mb)
[19/4/2005 9:11:23 PM] Video size: 1,328,849,864 bytes (1267.29 Mb)
[19/4/2005 9:11:23 PM] Running compressibility test.
[19/4/2005 9:11:23 PM] Writing the following script to F:\Cast Away\agk_tmp\Cast Away_comptest.avs
===========================================================
LoadPlugin("f:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("f:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("f:\PROGRA~1\AutoGK\filters\RemoveGrainSSE2.dll")

movie = mpeg2source("F:\Cast Away\agk_tmp\Cast Away.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 = 1.18518518518519
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 = 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)
SelectRangeEvery(300,15)
===========================================================
[19/4/2005 9:18:23 PM] Duration was: 6 minutes 59 seconds
[19/4/2005 9:18:23 PM] Speed was: 23.52 fps.
[19/4/2005 9:18:24 PM] Compressibility percentage is: 44.74
[19/4/2005 9:18:24 PM] Using softer matrix.
[19/4/2005 9:18:24 PM] Chosen resolution is: 640x352 ( AR: 1.82 )
[19/4/2005 9:18:24 PM] Predicted comptest value is: 72.46
[19/4/2005 9:18:24 PM] Running first pass.
[19/4/2005 9:18:24 PM] Writing the following script to F:\Cast Away\agk_tmp\Cast Away_movie.avs
===========================================================
LoadPlugin("f:\PROGRA~1\AutoGK\DGMPGDec\DGDecode.dll")
LoadPlugin("f:\PROGRA~1\AutoGK\filters\autocrop.dll")
LoadPlugin("f:\PROGRA~1\AutoGK\filters\RemoveGrainSSE2.dll")

movie = mpeg2source("F:\Cast Away\agk_tmp\Cast Away.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 = 1.18518518518519
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)
RemoveGrain(mode=2)
===========================================================
[19/4/2005 10:32:59 PM] Duration was: 1 hour, 14 minutes 35 seconds
[19/4/2005 10:32:59 PM] Speed was: 44.13 fps.
[19/4/2005 10:33:00 PM] Expected quality of first pass size: 69.04
[19/4/2005 10:33:00 PM] Running second pass.
[20/4/2005 12:30:34 AM] Duration was: 1 hour, 57 minutes 34 seconds
[20/4/2005 12:30:35 AM] Speed was: 27.99 fps.
[20/4/2005 12:30:35 AM] Splitting video into: F:\Cast Away\Cast Away.cd1.avi
[20/4/2005 12:32:20 AM] Splitting video into: F:\Cast Away\Cast Away.cd2.avi
[20/4/2005 12:34:05 AM] Job finished. Total time: 3 hours 41 minutes 22 seconds

len0x
20th April 2005, 22:52
Gradual asynch is a sign of audio being different length then video. Check original AC3 and converted MP3 length and see how is it different from the video.