PDA

View Full Version : Audio synchronisation problems


xcy73
9th October 2006, 10:13
Sometimes the audio of a resulting video is out of synchronisation. I tested the latest version of AutoGordianKnot and the problem is still there. Any ideas how to fix this?

CWR03
9th October 2006, 10:20
It's probably an advanced copy protection scheme, such as RipGuard. All you need is RipIt4Me. It's also very easily corrected using VirtualDubMod.

xcy73
9th October 2006, 13:10
But the original video plays fine and also when using DVDx there is no problem. How do you correct this with VirtualDubMod?

setarip_old
9th October 2006, 20:21
Load the file into VirtualDub, VirtualDubMod, or NanDub.
Set BOTH "Video"(VirtualDub, VirtualDubMod and NanDub) and "Audio"
(VirtualDub and NanDub - VirtualDubMOD>"Streams>"Stream list") to "Direct Stream Copy".

A) If the difference between audio and video is constant throughout the

video:

From the "Audio" dropdown menu, select "Interleaving" (For

VirtualDubMOD, rightclick on the listed audiostream and then select

"Interleaving")
Under "Audio skew correction", set an appropriate number of

milliseconds (positive or negative) in the box labelled "Delay audio track

by"
Save with a new filename


B) If the difference increases as the movie plays:

From under the "Video" dropdown menu, select "Framerate" - and

select "Change so video and audio durations match"
Save with a new filename

Let us know of your success ;>}

xcy73
11th October 2006, 11:27
How do I find the exact value for the delay if the difference between audio and video is constant? I will have create a new video to check this.

setarip_old
11th October 2006, 20:40
How do I find the exact value for the delay if the difference between audio and video is constant?It's fairly easy to do this in a very informal, non-technical way - Listen and watch, while playing in a player that shows the time...

CWR03
12th October 2006, 01:23
I will have create a new video to check this.
It's a trial-and-error process. Create a new video and check it; if it's not right, adjust it and start over. It doesn't take long, for me rarely more than 4 tries.

xcy73
23rd October 2006, 16:22
I noticed in the agk_tmp folder that the .ac3 audio file name consists of "NAME T01 3_2ch 448Kbps DELAY 58510ms". Is this the correct value of the audio delay?

CWR03
23rd October 2006, 21:49
I noticed in the agk_tmp folder that the .ac3 audio file name consists of "NAME T01 3_2ch 448Kbps DELAY 58510ms". Is this the correct value of the audio delay?
As I said, it's a trial-and-error process. Try it and see (but it's probably not correct). 1000ms is a second, so if it seems like your audio is close to six seconds off, it might be correct.

xcy73
24th October 2006, 00:09
Problem is that the subtitles are synchronized with audio too and out of synchronisation with video.

CWR03
24th October 2006, 03:32
Problem is that the subtitles are synchronized with audio too and out of synchronisation with video.
That has nothing to do with resynchronizing the audio, however you can add .SRT subs to the Streams list in VirtualDubMod and adjust the delay in the same way as the audio.

xcy73
24th October 2006, 07:41
The subtitles are not external and they have the same delay as the audio.

CWR03
24th October 2006, 08:52
The subtitles are not external and they have the same delay as the audio.
Have you tried, as I suggested, opening the file with VirtualDubMod and adjusting the delay of the audio and subtitle streams?

xcy73
24th October 2006, 09:26
I tried both methods without much success. The sound starts fine, but then it gets mixed up again. Also, after doing this the subtitles are not syncronized with audio.

CWR03
24th October 2006, 10:44
Let me guess, you encoded the file with VBR MP3, and when prompted by VirtualDubMod to rewrite the header, you selected "Yes?" (The proper selection would have been "No.")

Are the subs listed in the Streams list, and did you also adjust the delay for them?

xcy73
24th October 2006, 15:27
I encoded the file with CBR MP3 and not VBR MP3 and I was not prompted by VirtualDubMod to rewrite the header. Where should I look for the subs in the Streams list?

xcy73
24th October 2006, 15:45
In VirtualDub there isn't a Streams menu. Anyway, I opened the file in VirtualDubMod and under the Available Streams only Audio is listed.

Broesel
27th October 2006, 11:05
Hi!
using the latest beta-version, WINXP as OS. Your suggestions to avoid the synchronisation-problems didn't work :-( Deinstalled and reinstalled autogk an it's components as well. No other codec-packs installed!
Any ideas how to solve the problem?
regards & thanks,
Broesel

CWR03
27th October 2006, 11:21
Any ideas how to solve the problem?
Yes, exactly as I described above, either pre-ripping with RipIt4Me or correcting the delay with VirtualDubMod (since you didn't specify which of my suggestions didn't work).

Broesel
27th October 2006, 17:20
I tried the Virtual-dub method, without success. Took 5min to do whatever it did, but the result was as bad as before.Now I give ripit4me a chance. Will take some time till to find out if it's working. THe strange thin is, that I used autogk on this movie before - successfully! I only wanted to chenge the size of it (after changing hardware of my PC I had to reinstall everything), and it came up with the problem... strange. Will let you now in about 4 hours if it's working with ripit4me!!!
Thanks a lot!
Brösel

=> see next page!

Broesel
28th October 2006, 10:27
hi.
installed ripit4me, dvdshrink and this FixVTS. DVD.decrypter was alreaddy installed. Cancelled the operation when DVD-shrink came up to shrink the movie because I prefere autogk. Let autogk do its job, but the result was the same as before: sound not synchronised! It's all about the movie "alien1", which I wouldn't expect to be that well copy-protected at all! I ripped and encoded it some weeks ago successfully (without any problems). As I said before: There is no other codec-pack installed which could be responsible for this mess.
Will give Virtual Dub a second chance meanwhile, allthough I can't find an "audio-menue" either...!
Thanks a lot for the support so far!
Brösel

setarip_old
28th October 2006, 19:24
@Broesel

Hi!

Sounds like you may not have allowed/selected the running of the "FixVTS" stage of the "RipIt4Me" package...

CWR03
28th October 2006, 21:05
I tried the Virtual-dub method, without success. Took 5min to do whatever it did, but the result was as bad as before.
You must have missed a step. These instructions are for VirtualDubMod:

Open the encoded file. If you used VBR MP3, you will be prompted to rewrite the header. Select "No."
Click Streams > Stream List.
Right click the audio stream and select Interleaving.
Under Audio Skew Correction, enter a value that approximates how far off the audio is from the video, chen click all the "OK" buttons.
Click Video > Direct copy mode, then save with a new, unique filename and play it.
If it's not right, try again. I always add the value I entered as a delay into the filename so I know how much I changed it last.

Broesel
29th October 2006, 22:39
Hello all together!
It's working! ripit4me did the job. I first thought the movie was not synchronized because I missed to re-adjust my player: Using anyDVD, the sound wasn't sychronized, so one of the things I tried was adjusting the sound with an offset, using the windows media player classic! And I forgot to change this offset back to zero!
So thanks a lot for your help! Really great to have so many helpers!
But let me ask another question: It's a bit off topic, but shouldn't start a big discussion: How large would you expect the soud-file of an action movie (let's say matrixIII or s.th.) using
a) VBR mp3 about 192mbps
b) The original soundfile??

Thanks,
Brösel

CWR03
29th October 2006, 22:48
VBR MP3 at 192kb/s would be 1.5MB per minute.
AC3 2-channel is also 1.5MB per minute.
AC3 5.1 is 3MB per minute.

Broesel
30th October 2006, 07:05
Great!
Thanks!
Bye!
Brösel

Broesel
30th October 2006, 11:07
Hi again,
having calculated a bit with your figures, CWR03, it seems I didn't understand correctly:
1,5mb (megabyte) per second would mean, that a movie with 110min has 9900megabyte of sound (110min = 6600sec => 6600sec*1,5mb = 9900megabyte). I doubt that this is correct. Did I make a mistake in my calculations, or did you mix up mb/sec and mb/min? :confused:
Thanks,
Brösel

CWR03
30th October 2006, 14:48
Sorry, meant per minute - post edited accordingly.