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?
+ Reply to Thread
Results 1 to 2 of 2
-
-
[ 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)
Similar Threads
-
audio sync problem, how to work out progressive audio sync delay
By jolt321 in forum Newbie / General discussionsReplies: 13Last Post: 10th Apr 2012, 21:09 -
Video/sound out of sync and lagging on pc
By keaze in forum Newbie / General discussionsReplies: 3Last Post: 15th Mar 2012, 22:09 -
EasyCAP w/ Ulead and Pinnacle - Video Stuttering/Jumping/Lagging problem
By Logan289 in forum Capturing and VCRReplies: 0Last Post: 30th May 2010, 14:25 -
How to fix the lagging audio of a converted AVI file?
By PunkMaister in forum Video ConversionReplies: 15Last Post: 17th Feb 2009, 18:38 -
Audio lagging behind in a VCD! Why?
By PunkMaister in forum Authoring (VCD/SVCD)Replies: 11Last Post: 13th Dec 2007, 19:03