Digital Video Forums  

Go Back   Digital Video Forums > Video File Formats > AVI, DivX/Xvid

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 27 Apr 2003, 10:52 AM   #1
Junior Member
Junior Member
 
Join Date: Feb 2003
Posts: 19
Question Audio off-sync

I have a video that seems to be encoded with div3 and its audio is off-sync. its off 1 second just about everywhere.

i dont know much about encoding/decoding (close to nothing), but is there a way to fix it, like decoding it and setting the sound layer one second later and recoding it (i have no clue if this is possible, im just guessing)?
DeltaBlast is offline   Reply With Quote
Old 27 Apr 2003, 12:10 PM   #2
Retired
 
setarip's Avatar
 
Join Date: Dec 2001
Posts: 24,955
Default

A) If the difference between audio and video is constant throughout the video:

Load the file into VirtualDub, VirtualDubMod, or NanDub.
Set BOTH "Video" and "Audio" to "Direct Stream Copy".
From the "Audio" dropdown menu, select "Interleaving"
Under "Audio skew correction", set an appropriate number of milleseconds (positive or negative) in the box labelled "Delay audio track by"
Save with a new filename

B) If the difference increases as the movie plays:

From under the "Video" dropdown menu, select framerate - and select "Change so video and audio durations match"

Let us know of your success ;>}
setarip is offline   Reply With Quote
Old 27 Apr 2003, 11:36 PM   #3
Junior Member
Junior Member
 
Join Date: Feb 2003
Posts: 19
Default

---------------------------
VirtualDub Error
---------------------------
No audio decompressor could be found to decompress the source audio format.
---------------------------
OK
---------------------------


im saving now, but i have the feeling i lost sound completely..

edit: i didnt lose it, but theres no difference with the old file
im gonna try setting the delay even longer
[it was probably my problem, i thought there were 60 miliseconds in a second ]

edit2: yay! starting audio 1200ms later seemed to have done the trick! thanks!

edit3: non-yay the first 15 mins or so are okay now, but it slowly gets out of sync again.
I tried B, but that doesnt seem to do anything good...
Ive tried both options together, but that doesnt work either.

Conclusion: The A helped, at least now it starts off right, but after while it gets slowly out of sync again.

so.. any additional ideas?

Last edited by DeltaBlast; 28 Apr 2003 at 12:19 AM
DeltaBlast is offline   Reply With Quote
Old 28 Apr 2003, 07:29 PM   #4
Old member
 
Join Date: Feb 2002
Posts: 5,417
Default

"From under the "Video" dropdown menu, select framerate - and select "Change so video and audio durations match"

With this option, what fps value do you see in the bracket and what is the original fps value?
Enchanter is offline   Reply With Quote
Old 29 Apr 2003, 07:39 PM   #5
Junior Member
Junior Member
 
Join Date: Feb 2003
Posts: 19
Default

(25.002 fps)

and next to no change it says the current is 25.000
DeltaBlast is offline   Reply With Quote
Old 29 Apr 2003, 08:59 PM   #6
Old member
 
Join Date: Feb 2002
Posts: 5,417
Default

Have you considered the possibility of your CPU being overtaxed during playback, thus resulting in the gradual audio desynch.?
Enchanter is offline   Reply With Quote
Old 1 May 2003, 12:27 AM   #7
Junior Member
Junior Member
 
Join Date: Feb 2003
Posts: 19
Default

no, because its the same when i restart or if i skip immediately to the end: it's more and more off-sync to the end.


I have uploaded the file to the server, so if anyone wants to help me, PM me and ill give the url.. its 732 meg though

the reason i actually go trough all of this trouble because its a bit of a birthday gift for my mom (it isnt available on DVD or VHS)

soo.. can someone please help me? pleeeeeaaaaase?
DeltaBlast is offline   Reply With Quote
Old 1 May 2003, 07:58 AM   #8
Junior Member
Junior Member
 
Join Date: Mar 2003
Posts: 21
Default

Try this........

Resave the avi file with vdub with the audio and video set to direct stream copy. If there are any bad frames in the movie that are causing the out of sync problem - this usually can fix it.

Hope this helps
inthehizzouse is offline   Reply With Quote
Old 1 May 2003, 09:09 AM   #9
Junior Member
Junior Member
 
Join Date: Feb 2003
Posts: 19
Default

setarip suggested that in the second post and i tried but it didnt help...




anyone else? i would really really like this file fixed..
DeltaBlast is offline   Reply With Quote
Old 1 May 2003, 11:48 AM   #10
Retired
 
setarip's Avatar
 
Join Date: Dec 2001
Posts: 24,955
Default

"No audio decompressor could be found to decompress the source audio format"

1) Load the .AVI file into VirtualDub or NanDub

2) From the "File" dropdown menu, select "File Information"

3) Post (here) EVERYTHING you see (both video and audio information), or post a screen capture .jpg of the information box
setarip is offline   Reply With Quote
Old 1 May 2003, 12:22 PM   #11
Junior Member
Junior Member
 
Join Date: Feb 2003
Posts: 19
Default

here ya go, from the original file
Attached Thumbnails
Audio off-sync-virdubscreenie.jpg  
DeltaBlast is offline   Reply With Quote
Old 1 May 2003, 05:24 PM   #12
Retired
 
setarip's Avatar
 
Join Date: Dec 2001
Posts: 24,955
Default

The file contains a VARIANT of either an .MP2 or .MP3 audiostream (hence the "unknown (tag 0055)". In order to convert it to a more readily addressable format (You may still have to resynch after doing this - but it should be easier to accomplish):

1) I'd suggest that you use an audio editing program, such as GoldWave to extract (automatically) and convert the audiostream to Uncompressed PCM (.WAV) audio. To do this, simply open GoldWave and "drag and drop" the .AVI onto the primary GoldWave window. Select "Save as" from the "File" dropdown menu - and then select the filetype and enter a new name.

2) Close GoldWave. Open VirtualDub

3) From the "Audio" dropdown menu, set to "No audio" and load the ORIGINAL .AVI

4) Change the "Audio" setting to "WAV audio". Load your newly created .WAV audio file

5) Set "Video" to "Direct Stream Copy" and "Audio" to "Full Stream Processing"

6) From the "Audio" dropdown menu, select "Compression" and choose the .MP3 setting (at the appropriate frequency) of your choice

7) Save with a new filename

Let us know of your success ;>}
setarip is offline   Reply With Quote
Old 2 May 2003, 09:12 AM   #13
Junior Member
Junior Member
 
Join Date: Feb 2003
Posts: 19
Default

Other than making the file 1 GB bigger, no change

I mean, I do have sound in virdub, but its still off sync (even with the skew in place)

If you have a fast connection and no bandwidth limitations (and you are willing to do so ), you can download the original quite fast from my server, so you can have a better look at it.

anyone?
DeltaBlast is offline   Reply With Quote
Old 2 May 2003, 10:52 AM   #14
Retired
 
setarip's Avatar
 
Join Date: Dec 2001
Posts: 24,955
Default

"VirtualDub Error
---------------------------
No audio decompressor could be found to decompress the source audio format."

Do you NOW get this error message with the new file?


"Other than making the file 1 GB bigger"

Did you remember to perform these last steps?:

5) Set "Video" to "Direct Stream Copy" and "Audio" to "Full Stream Processing"

6) From the "Audio" dropdown menu, select "Compression" and choose the .MP3 setting (at the appropriate frequency) of your choice



Is the NEW file out of synch by a consistent number of seconds throughout the entire video, or does it change?
setarip is offline   Reply With Quote
Old 2 May 2003, 11:46 PM   #15
Junior Member
Junior Member
 
Join Date: Feb 2003
Posts: 19
Default

Quote:
Originally posted by DeltaBlast
I mean, I do have sound in virdub, but its still off sync (even with the skew in place)
so no, i didnt get the error message anymore.

but you are right, i forgot step 6

I have NO idea what compression to choose so i just chose Windows Media Audio V2... the others i didnt really recognize...

hmm.. that wasnt much of a compression :s any idea wich one i SHOULD have chosen? (see attachment)

by the way, it still made no difference
Attached Thumbnails
Audio off-sync-compressions.jpg  
DeltaBlast is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




All times are GMT +10. The time now is 04:34 PM.

Kirsch designed by Andrew & Austin


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright © 1999 - 2018 Digital Digest

Visit DivXLand   Visit dvdloc8.com