Log in

View Full Version : Audio getting more out of sync?


R2-D2
8th August 2006, 06:50
Hi,

Firstly, I'm a noob at this, so please be gentle.

I've used AutoGK to do many excellent encodings, but one particular re-encoding gave me audio that gradually drifted out of sync and after 30 minutes was about 30 seconds out of sync (behind the video). I tried every setting I could find, then I noticed the agk_tmp directory and the stuff left from doing the second pass, so I could have a fiddle directly. After much head scratching I discovered that if I changed this line:

movie = DirectShowSource(<AVI-FILE>, <FPS>).KillAudio()

to:

movie = DirectShowSource(<AVI-FILE>, <FPS>, convertfps=true).KillAudio()

then it all worked fine. I'm not sure if this is the best way to solve the problem, but it seems like a simple and straightforward fix (and I'm not sure why it isn't the default, or an option at least).

The source material was DIVX (I think it's DIVX 4) and I have the latest codecs (on a clean machine). I was re-encoding it to XVID so it would play on my standalone player properly.

apk
8th August 2006, 20:30
my agk temp dir doesnt have that file at any point during encoding :(

R2-D2
9th August 2006, 21:44
my agk temp dir doesnt have that file at any point during encoding :(
Sorry! The file in question is the one ending in "_agk_movie.avs" (the first part is the name of the file you're converting). The line I changed was about the fifth one down (the first real line after the LoadPlugin() bits). I found that you could make this edit then load the "lastjob.vcf" file directly into VirtualDubMod (in the VDubMod directory where AutoGK is installed) via the File->Load_processing_options menu. For me, this ran the second pass of the encoding again. Wiser people than me might know whether this modification would also have helped on the first pass...

apk
11th August 2006, 19:19
thanks, i will give it a go :)

apk
11th August 2006, 19:22
i might be stupid but i cant find this file anywhere (lastjob)

apk
11th August 2006, 19:23
but i am using xvid.....

R2-D2
12th August 2006, 15:32
i might be stupid but i cant find this file anywhere (lastjob)
These files are in the "agk_tmp" directory that AutoGK creates in the same directory as your output file.