VideoHelp Forum




+ Reply to Thread
Results 1 to 2 of 2
  1. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    I have problems with my audio being off sync with the video. I am attempting to trim out a section much later on in the video.

    This is the video specs and file type. The video is an avi file.

    time 1:24:58:793
    colorSpace:yv12
    624 X 352
    FPS: 29.97
    Audio Channels:2
    Sample type: Integer 16 bit
    Sample Per Second: 48000
    Audio Length: 248594256 samples 1:26:19:047

    This is my development environment.

    Avisynth 2.58 build:Jun 20 2008
    Windows XP 64

    I noticed the Audio Length does not match the video length and this concerns me.

    I have tried extracting the audio as a wav file then combined them back together and I still receive the same problem.

    The de-syncing gets worst as the video plays. It audio starts off of then as the video plays the audio keeps falling back.

    Does anyone have any idea on how to solve this audio lagging off sync problem?
    Quote Quote  
  2. Member
    Join Date
    Mar 2008
    Location
    United States
    Search Comp PM
    [ Solved Solution ]

    The problem is that the avi file contains VBR mp3 audio. You need to run this, command EnsureVBRMP3Sync() before you apply a Trim() command.

    Example:

    combined =the_video.EnsureVBRMP3Sync().Trim(67742,68000)
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!