digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   KVCD: Audio sync problems with VBR MP3 in XVid (http://www.digitalfaq.com/archives/encode/2520-kvcd-audio-sync.html)

J-Wo 02-07-2003 01:10 PM

Audio sync problems with VBR MP3 in XVid
 
I'm having a darn time getting my audio and video in sync. My source is an XVid DVDrip of Sweet Home Alabama. It has VBR MP3 audio, so I used the Vdub-MP3-freeze to open it. If I select Full Processing Mode for audio and save the resulint WAV file, I get an error message "ACM reported error on audio decompress". So I switch back to Direct Stream Copy, save the "wav" file but then rename it to MP3. No matter which way I convert this file to MP2, I end up with a file which is shorter in length than the video file. My source video is 1:48:51 but the audio comes out 1:48:48.960. When I mux the two together my audio comes a couple seconds ahead of the vidoe, and it never resolves itself. I suppose I could add ~2 seconds of silence to my audio, but I'm certain there must be a more precise way of extracting the audio!

I've checked the file for video freeze errors and there were none. I've also converted the MP3 --> WAV using both Winamp and Goldwave, then WAV --> MP2 using both HeadAC3he and BeSweet. Same problem. I'm using the KVCDx3 template at CQ 100. Here's my avs script:

Code:

LoadPlugin("d:\program files\avisynth2\plugins\MPEG2DEC2.dll")
LoadPlugin("d:\program files\avisynth2\plugins\LegalClip.dll")
LoadPlugin("d:\program files\avisynth2\plugins\Blockbuster.dll")
LoadPlugin("d:\program files\avisynth2\plugins\FluxSmooth.dll")
LoadPlugin("d:\program files\avisynth2\plugins\Sampler.dll")
LoadPlugin("d:\program files\avisynth2\plugins\GripFit_Preview.dll")
LoadPlugin("d:\program files\avisynth2\plugins\decomblegacy.dll")
LoadPlugin("d:\program files\avisynth2\plugins\dustv5.dll")
LoadPlugin("d:\program files\avisynth2\plugins\temporalcleanerold.dll")
LoadPlugin("d:\program files\avisynth2\plugins\convolution3d.dll")

avisource("E:\Movies\Sweet.Home.Albama.DVDRip.XViD-ViTE\sha-xvid.avi", false)
LegalClip()
#FieldDeinterlace()
GripCrop(528, 480, overscan=2)
GripSize()
SpaceDust()
TemporalCleaner()
#Blockbuster(method="noise", variance=.3, seed=1)
GripBorders()
LegalClip()

I also have the prediction function after this but I have it commented out. Can anyone give lend me a hand here please? Thanks!


All times are GMT -5. The time now is 08:20 PM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2026 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2026 Jelsoft Enterprises Ltd.