Forum rules
Under no circumstances is spamming or advertising of any kind allowed. Do not post any abusive, obscene, vulgar, slanderous, hateful, threatening, sexually-orientated or any other material that may violate others security. Profanity or any kind of insolent behavior to other members (regardless of rank) will not be tolerated. Remember, what you don’t find offensive can be offensive to other members. Please treat each other with the kind of reverence you’d expect from other members.
Failure to comply with any of the above will result in users being banned without notice. If any further details are needed, contact: “The team” using the link at the bottom of the forum page. Thank you.
Bill_B
Posts: 3
Joined: Sat Jul 14, 2007 6:00 am

Audio file out of synch with video

Mon Jul 16, 2007 2:18 pm

I thought I had a problem with the subtitle file being out of synch, but after adjusting that with TimeAdjuster I now find it's actually the audio that's 6 seconds ahead of the video. The audio and video are obviously combined in the avi file, so is there a way of adjusting that?

Thanks.

giannid
Posts: 151
Joined: Tue Oct 17, 2006 4:07 am

Tue Jul 17, 2007 4:07 am

Open your video with virtualdubmod.
http://sourceforge.net/projects/virtualdubmod/

Note that Virtualdubmod does not like variable bit rate audio, so you may have to convert the audio first. If you get a warning about variable bitrate then you have to convert the audio first to CBR. If you didn't get a warning, then the video is already CBR and you can skip the instructions about converting audio and go to synchronizing the audio.

CONVERTING VBR to CBR

When it asks if you still want to rewrite the header, click on NO

Go to STREAMS -> STREAM LIST
Right-click on the audio stream -> FULL PROCESSING MODE
Right-click the audio stream again -> COMPRESSION

Choose LameMP3
(You may have to install lame first)
http://users.tpg.com.au/mtam/install_lame.htm

Pick your bitrate, e.g. 48000Hz 128 kbs CBR

OK, OK

VIDEO - DIRECT STREAM COPY
FILE - SAVE AS...

After it has finished, close Virtualdubmod.
Now open the new (CBR) video file with Virtualdubmod


SYNCHRONIZE THE AUDIO


click on streams
right-click on the audio stream
choose interleaving
Choose the amount of time you need to delay, (6000ms)
OK
OK

You can preview the video in virtualdubmod to see how the timing is. If you need fine tuning adjust the delay as above.

Now, click on VIDEO -> DIRECT STREAM COPY

FILE -> SAVE AS...

That's it.

Be sure to click on "video -> direct stream copy" before saving. If you leave the video in full processing mode (default) without choosing a compression, it will give you a humongous uncompressed video file that may fill up your entire hard drive. You can preview the video while full-processing mode (default) is checked so you should wait until you're ready to save your file before changing it to Direct Stream Copy.

Also note that you don't need to use full processing mode to resynch the audio (interleaving). You do need to use full processing with compression to change the audio from VBR to CBR.

Return to “General talk”

Who is online

Users browsing this forum: No registered users and 34 guests