Difference between revisions of "Progressive Audio Desync"

From SDA Knowledge Base

Jump to: navigation, search
m (Progressive Desync moved to Progressive Audio Desync: More specific.)
(Pants.)
Line 3: Line 3:
  
 
===Introduction===
 
===Introduction===
This guide is for fixing the progressive audio desync problem, that is if the sound starts out synced but gets more and more desynced during the course of the video.
+
This guide is for fixing progressive audio desync in your source files, that is if the sound starts out synced but gets more and more desynced during the course of the video. This is not a guide for videos that have been incorrectly appended in VirtualDub(Mod).
 
+
  
 +
<br>
 
===Tools===
 
===Tools===
 
For this guide I will use <b>VirtualDubMod</b>, <b>Media Player Classic</b> and <b>[http://audacity.sourceforge.net Audacity]</b>. Any other programs with the same functionality should work too.
 
For this guide I will use <b>VirtualDubMod</b>, <b>Media Player Classic</b> and <b>[http://audacity.sourceforge.net Audacity]</b>. Any other programs with the same functionality should work too.
  
 
+
<br>
 
===Ripping the sound===
 
===Ripping the sound===
 
If the sound and video is in the same file start up VirtualDubMod and load the source file. Go to Stream -> Stream List, select the audio stream and choose Save Wav. If the sound is in a separate file make sure to convert it to wav if it is not. If you need a converter [http://dbpoweramp.com/ dBpoweramp] has support for most sound formats, just search the codec list on their site.
 
If the sound and video is in the same file start up VirtualDubMod and load the source file. Go to Stream -> Stream List, select the audio stream and choose Save Wav. If the sound is in a separate file make sure to convert it to wav if it is not. If you need a converter [http://dbpoweramp.com/ dBpoweramp] has support for most sound formats, just search the codec list on their site.
  
 
+
<br>
 
===Fixing the desync===
 
===Fixing the desync===
 
Load the saved wav in Audacity. Then play the source file in VirtualDubMod and listen at the end and check the time to see how much off the sound is in seconds. Then go back to Audacity and press Ctrl+A to mark the full length of the sound and under Effect choose Change Tempo and under Length (seconds) change the length of the sound with how much the sound is out of sync. If the sound is slower than the video, shorten it and vice versa. Then go under File and choose Export as Wav. Save the file under a different name.
 
Load the saved wav in Audacity. Then play the source file in VirtualDubMod and listen at the end and check the time to see how much off the sound is in seconds. Then go back to Audacity and press Ctrl+A to mark the full length of the sound and under Effect choose Change Tempo and under Length (seconds) change the length of the sound with how much the sound is out of sync. If the sound is slower than the video, shorten it and vice versa. Then go under File and choose Export as Wav. Save the file under a different name.
Line 19: Line 19:
 
Then open Media Player Classic and choose Open File. In Open choose the video file and in Dub choose the edited sound file. Now check at the end and see if the sound is in sync. If it is, go to the next step, otherwise reload the original sound file in Audacity and change the tempo again. Changing the tempo on the edited file repeatedly might lower the sound quality so always do that on the source file.
 
Then open Media Player Classic and choose Open File. In Open choose the video file and in Dub choose the edited sound file. Now check at the end and see if the sound is in sync. If it is, go to the next step, otherwise reload the original sound file in Audacity and change the tempo again. Changing the tempo on the edited file repeatedly might lower the sound quality so always do that on the source file.
  
 
+
<br>
 
===Using the edited sound===
 
===Using the edited sound===
 
If you're encoding in VirtualDubMod load the source video and go into Streams -> Stream List and choose Add to add the edited sound file. If the original audio stream is in the list, disable it.
 
If you're encoding in VirtualDubMod load the source video and go into Streams -> Stream List and choose Add to add the edited sound file. If the original audio stream is in the list, disable it.

Revision as of 16:54, 11 August 2007

Fixing Progressive Audio Desync

Introduction

This guide is for fixing progressive audio desync in your source files, that is if the sound starts out synced but gets more and more desynced during the course of the video. This is not a guide for videos that have been incorrectly appended in VirtualDub(Mod).


Tools

For this guide I will use VirtualDubMod, Media Player Classic and Audacity. Any other programs with the same functionality should work too.


Ripping the sound

If the sound and video is in the same file start up VirtualDubMod and load the source file. Go to Stream -> Stream List, select the audio stream and choose Save Wav. If the sound is in a separate file make sure to convert it to wav if it is not. If you need a converter dBpoweramp has support for most sound formats, just search the codec list on their site.


Fixing the desync

Load the saved wav in Audacity. Then play the source file in VirtualDubMod and listen at the end and check the time to see how much off the sound is in seconds. Then go back to Audacity and press Ctrl+A to mark the full length of the sound and under Effect choose Change Tempo and under Length (seconds) change the length of the sound with how much the sound is out of sync. If the sound is slower than the video, shorten it and vice versa. Then go under File and choose Export as Wav. Save the file under a different name.

Then open Media Player Classic and choose Open File. In Open choose the video file and in Dub choose the edited sound file. Now check at the end and see if the sound is in sync. If it is, go to the next step, otherwise reload the original sound file in Audacity and change the tempo again. Changing the tempo on the edited file repeatedly might lower the sound quality so always do that on the source file.


Using the edited sound

If you're encoding in VirtualDubMod load the source video and go into Streams -> Stream List and choose Add to add the edited sound file. If the original audio stream is in the list, disable it.

For use with AviSynth just create a script file with the line

wavsource("K:\Path\To\Fixed_Audio_File.wav")

and load it in MeGUI to convert the sound to the formats required.

Personal tools