VirtualDub - Fix the audio offset of your DivX videos

December 2016




The audio offset of Divx, mkv or other video files, may be due several factors:
  • Hardware issues: Try to test the file on a more powerful PC
  • Obsolete codecs (video / audio). It is recommended to download and install the latest versions of codecs.
  • Software issue: Download VLC (natively supports many formats):
  • A poorly encoded video. In this case, it is possible to use a tool to re-sync the audio and video:

In the third case, there are two possible scenarios :
  • The sound and video will gradually shift and the offset will gradually increase over time.
  • There's a fixed offset between the sound and video.


Gradual shifting of audio and video

  • Launch VirtualDub
  • From the File menu, click Open video file and select the video file.
  • In the Video menu, select Direct stream copy, and then click Frame Rate. In the window and open, select "adjust framerate to match audio and video".
  • In the Audio menu, select Direct stream copy, then choose the audio source
  • Click on OK and save the file

Fixed offset between audio and video

  • Launch VirtualDub
  • From the File menu, click Open video file and select the video file.
  • In the Video menu, select Direct stream copy, and then click Frame Rate. In the window open and ensure that "No change" is checked.
  • In the Audio menu, select Direct stream copy, then choose Source Audio and click Interleaving.
  • Enter a number of milliseconds corresponding to offset in the " Delay audio track by" field. Adjust until you get the right value.
  • 6. Click OK and save the file by clicking on "Save as AVI" in the File menu.

Related :

This document entitled « VirtualDub - Fix the audio offset of your DivX videos » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.