View Full Version : Audio-video delay with autogk 2.6?
graidia
18th May 2006, 10:06
hi
i'm using autogk 2.26 for converting my recorded Mpeg2 files from my satellite card ( Skystar2), i'm glad because the video result is great however i have a problem of the synchronisation between video and audio ( the audio is in avance to the video)???
i remenber when i'm used to use virtualdub only for the conversion, there is a parameter in audio interliving that make a good video/audio synchronisation, but as you know autogk is using virtualdubmod and i can not find the audio interliving option?
please can someone help to get video sunchronized with audio?
thanks in advance for your help:thanks:
jggimi
18th May 2006, 14:18
Hello, and welcome to the forum.
Perhaps you mean AutoGK 2.26? The current release is 2.27. :)
There have been a number of threads in this forum on this subject; it is a common issue with certain discs.
See:
http://forum.doom9.org/showthread.php?t=109724
http://forum.doom9.org/showthread.php?t=107889
graidia
19th May 2006, 10:42
thanks for replay jggimi:)
i didn't find a consistent response:(
CWR03
19th May 2006, 21:45
In both linked threads, the very first response is setarip_old's, which clearly and accurately details the procedure.
graidia
20th May 2006, 09:53
hi
i have a new problem:
yesterday i converted some MPEG2 to xvod using autogk 2.27 and all i get mute avi ???
when i opened the autogk temp directory i found all mp3 files like this:
vid1-4785422587msdelay
vid2-4785422587msdelay
vid3-4785422587msdelay
what's wrong?
please help me how i can get sunchronized videos?
CWR03
20th May 2006, 11:17
Where is your AutoGK log file?
graidia
23rd May 2006, 16:25
i'll try tomorrow to bring u the Autogk log files
today i've tried gordian knot and i got the same problem like autogk :(
I tried also encoding an Mpeg2 files using virtualdubmod only and the file is ok the sound and the video are synchronized.
i guess that my problem is due to the autogk?
graidia
24th May 2006, 07:17
hi
this is a autogen log file :
[17/05/2006 18:48:34] AutoGK 2.26
[17/05/2006 18:48:34] OS: WinXP (5.1.2600).2
[17/05/2006 18:48:34] Job started.
[17/05/2006 18:48:34] Input file: G:\AIR France.MPG
[17/05/2006 18:48:34] Output file: G:\AIR France.avi
[17/05/2006 18:48:34] Output codec: XviD
[17/05/2006 18:48:34] Audio 1: Audio Stream 0 MPEG
[17/05/2006 18:48:34] Subtitles: none
[17/05/2006 18:48:34] Format: .AVI
[17/05/2006 18:48:34] Target size: 400Mb
[17/05/2006 18:48:34] Started encoding.
[17/05/2006 18:48:34] Demuxing and indexing.
[17/05/2006 18:49:30] Processing file: G:\AIR France.MPG
[17/05/2006 18:49:30] Source resolution: 544x576
[17/05/2006 18:49:30] Found PAL source.
[17/05/2006 18:49:30] Source aspect ratio: 4:3
[17/05/2006 18:49:30] Color correction enabled.
[17/05/2006 18:49:30] Analyzing source.
[17/05/2006 18:51:52] Source has percentage of interlacing in motion areas: 46,13
[17/05/2006 18:51:52] Source is considered to be interlaced.
[17/05/2006 18:51:52] Output will contain 77933 frames
[17/05/2006 18:51:52] Encoding audio.
[17/05/2006 18:58:01] Audio1 size: 43,134,240 bytes (41.14 Mb)
[17/05/2006 18:58:01] Overhead: 3,117,312 bytes (2.97 Mb)
[17/05/2006 18:58:01] Video size: 373,178,848 bytes (355.89 Mb)
[17/05/2006 18:58:01] Running compressibility test.
[17/05/2006 18:58:01] Writing the following script to G:\agk_tmp\AIR France_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")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\kerneldeint.dll")
movie = mpeg2source("G:\agk_tmp\AIR France.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.41176470588235
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 = 544
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
KernelDeInt(movie,order=1,sharp=true)
autocrop(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",mmx=true,hints=false)
SelectRangeEvery(300,15)
===========================================================
[17/05/2006 19:00:41] Duration was: 2 minutes 40 seconds
[17/05/2006 19:00:41] Speed was: 24,29 fps.
[17/05/2006 19:00:41] Compressibility percentage is: 58,76
[17/05/2006 19:00:41] Chosen resolution is: 512x400 ( AR: 1,28 )
[17/05/2006 19:00:41] Predicted comptest value is: 64,93%
[17/05/2006 19:00:41] Running first pass.
[17/05/2006 19:00:41] Writing the following script to G:\agk_tmp\AIR France_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")
LoadPlugin("C:\PROGRA~1\AutoGK\filters\kerneldeint.dll")
movie = mpeg2source("G:\agk_tmp\AIR France.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.41176470588235
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 = 512
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
KernelDeInt(movie,order=1,sharp=true)
autocrop(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",mmx=true,hints=false)
===========================================================
[17/05/2006 19:28:25] Duration was: 27 minutes 43 seconds
[17/05/2006 19:28:25] Speed was: 46,85 fps.
[17/05/2006 19:28:25] Expected quality of first pass size: 67,65%
[17/05/2006 19:28:25] Running second pass.
[17/05/2006 20:10:09] Duration was: 41 minutes 44 seconds
[17/05/2006 20:10:09] Speed was: 31,12 fps.
[17/05/2006 20:10:09] Job finished. Total time: 1 hour, 21 minutes 35 seconds
thanks in advance
graidia
25th May 2006, 14:42
PLease help
CWR03
25th May 2006, 17:12
Have you attempted the procedures listed in the linked thread?
graidia
26th May 2006, 07:39
yes i tried but no result :(
it seems that the delay is to great -47721665ms (http://www.kirikoo.net/images/7graidia-20060526-083440.jpg)
all the files converted with autogk and Gk have this same delay (-47721665ms) why?
is autogk does have a problem with mpeg2 dvb files?
setarip_old
26th May 2006, 12:28
Hi!it seems that the delay is to great -47721665msif you watch and listen to the .AVI, is it REALLY out of synch by 47,721 seconds (Over 13 HOURS)?
I'm guessing this is not actually the case - and a false delay is being indicated. If the TRUE delay is a matter of seconds or less, you certainly can correct it by following either of my posts in the two links provided in Post #2 in this thread...
graidia
27th May 2006, 08:04
Hi setarip_old
This problem happens only with my dvb MPEG2 recorded files ( recorded with my skystar2 sat card)
for the little files ( from 5 to 10 min ) when i play the generated avi files, i can't hear any thing it seems like the files are recorded without sound.
for the long files ( from 1 to ....hours) when play the avi files there is a sound but the audio is delayed too much so i can't correct it with audio interleaving.
Yestaerday i tested an MPEG2 files ( not from my dvb card) and i noticed that the delay was 0 ms.
Now i think that autogk has a problem with my dvb mpeg2 files?
Any one have an idea?
thanks;)
setarip_old
27th May 2006, 08:40
If you PLAY the captured dvb MPEG2 file, is the audio in synch with the video?
graidia
27th May 2006, 09:18
hi
yes the MPEG2 is well synchronized.
CWR03
28th May 2006, 08:15
Why not upload a small segment of one of your original files so someone can examine it? I prefer www.badongo.com, which is free and you won't have to wait for moderator approval.
setarip_old
28th May 2006, 08:34
yes the MPEG2 is well synchronized.Then there is likely some type of header information in the dvb file format that is misleading to or misinterpreted by AutoGK.
By all means, if possible, follow the upload suggestion made by "CWR03"...
Hobojobo
28th May 2006, 22:59
hi
yes the MPEG2 is well synchronized.
Do you prepare the dvb mpeg2 before you feed them into AutoGK.
I use the SkyStar2 as well for recording.
Then I use ProjectX to demux/repair the mpegs.
Before using AutoGK the video and audio have to be muxed again, of course.
Have you tried ProjectX, to check the mpeg2 for errors?
graidia
31st May 2006, 08:26
Hi
Do you prepare the dvb mpeg2 before you feed them into AutoGK.
Have you tried ProjectX, to check the mpeg2 for errors?
No, i don't use any correction before i convert my files to avi , but i'll try.
i've found a temporary solution to get synchronized avi files:
1-i open my mpeg2 files using virtualdubmod
2-then i save save the audio stream as wave file.
3-I run autogk and i convert the mpeg file
4- when conversion is done, i open the avi file via virtualdubmod, i keep the video as direct stream copy, and the audio as full processing mode;
5-i add a new stream in the stram list ( my saved wav file)
6-i set the audio compresion to mp3
7-i save the file to a new one
this way i get a well synchronized avi file.
i will try projectX and i'll tell u about the result.
thanks for your help
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.