User User name Password  
   
Wednesday 6.8.2025 / 02:35
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > archived forums > mpeg-1 and mpeg-2 encoding (avi to dvd) > audio not in sync with video
Show topics
 
Forums
Forums
Audio not in sync with Video
  Jump to:
 
Posted Message
Hydro150
Suspended due to non-functional email address
_
20. February 2006 @ 14:12 _ Link to this message    Send private message to this user   
Hi, when I use DVD santa to transcode a movie from DivX to DVD (VOB, IFO ect...) after the movie has been converted and I view it the audio is not in sync with the sound. Is there a way to fix this or is there a better program that will not do this?
-Thanks
Advertisement
_
__
aldaco12
AfterDawn Addict
_
23. February 2006 @ 03:34 _ Link to this message    Send private message to this user   
Un-sync in the movie can occur due to two reasons:
1) use of a VBR MP3 encoding insted of a MP3 CBR encoding in the AVIs sound ; the sound is in sync in the AVI and becames un-sync aftre you do AVI -> MPG. Usually the delay in the output mpeg is non-constant , that is, it inreases as long as you play the mpeg movie.
2) sound delay in the original DVD which was not taken into account when you extracted the sound. This is more subtile. Often DVD audio has a constant delay (in ms) which is takein into account during authoring. When you extract the AC3 stream it appears like "English -200 ms delay.AC3".
If you do DVD -> AC3 you need to take into account this delay, since the AVI sound is put at delay=0. You must, for instanct, keep checked the box 'correct AC3 delay' in ReJug, when you demux the stream. The result is a stream is named, for example: "English -200 ms delay corrected to 0 ms.AC3". If ones rips a DVD without correcting the AC3 delay there is a constant delay from the begginning to the end.

CORRECTIONS:
In every case you need to decompress the AVI's sound (VirtualDub; Audio___Full processing mode; File___Save WAV). If the AVI has AC3 sound probably the sound won't be uncompressed by VirtualDub (you can see it by looking to the size: it will be less than 10.1 MB per audio's stream length (in minutes). In this case use VirtualDubMod and do Stream__Stream List__Demux, since VirtualDub adds by default, to the audio, the WAV extension.

Of 1): Re-encode the sound (the un-compressed WAV or the AC3) adding, using a spohisticated sound encoder like BeSWeet or HeadAC3he, a constant delay (you'll have to detect the delay you need to add 'by ear', if you don't know anything about the original DVD).

Of 2): Use the WAV as 'audio input' instead of the AVI's movie.

This message has been edited since posting. Last time this message was edited on 23. February 2006 @ 03:39

Snow98
Newbie
_
10. March 2006 @ 14:57 _ Link to this message    Send private message to this user   
I have a related problem with my VBR-encoded AVI: I need to adjust for a slight sound skew, which is constant throught the AVI, and every time I try to recompress the sound via Nandub, the unsync becomes variable (i.e. some scenes are in sync, others badly off), so the delay function does not help. Any ideas? Thanks...
aldaco12
AfterDawn Addict
_
13. March 2006 @ 02:08 _ Link to this message    Send private message to this user   
Do as I wrote. Never, never, use a VBR MP3 sound. Uncompress it to WAV, first.

If you want to re-build the AVI, just compress the WAV to MP3 CBR (HeadAC3he in 'alt CBR' preset is fine, then open the AVI with VirtualDubMod. Do Stream___Stream List, disable the old stream, add the new one.
Set Video__Direct Stream Copy and Save (F7).
You'll create an AVI with the same video but CBR audio.
If, as it seldom it occurs, there's a constant A/V delay you can detect (e.g. 0.5 s = 500 ms), enter a delay in HeaAC3he and fix it.

This message has been edited since posting. Last time this message was edited on 13. March 2006 @ 02:09

Senior Member
_
14. March 2006 @ 09:44 _ Link to this message    Send private message to this user   
Hi there,

Here's a solution we used when we had Out Of Sync issues with VSO ConvertXtoDVD, and it might work here too:
Quote:
Many AVI`s have delay times set on the audio stream so that
audio/video playback stays in sync..

Unfortunately ConvertXtoDVD ALWAYS reports

Stream #1 sync. delay :0.00 ms
Stream #0 sync. delay :0.00 ms

Consiquently, ConvertXtoDVD ignores audio delay and your dvd
conversion becomes badly out of sync...

SOLUTION:

Download AVI-Mux GUI http://www-user.tu-chemnitz.de/~noe/Video-Zeug/AVIMux%20GUI/#quic...


1) Load an AVI into Avi_mux that you intend on converting to DVD
2) Select "Generate Data Source From Files" button.
3) Click on the AVI info at bottom of AVI-Mux window

IF YOU SEE "delay [ms]" showing anything other than "0"
Process the AVI by clicking the START button on AVI-MUX.

Takes only a few seconds and creates a corrected version of the
offending AVI file that IS IN-SYNC were both streams actually DO have

Stream #1 sync. delay :0.00 ms
Stream #0 sync. delay :0.00 ms

Sync problems thus removed when converting to DVD viaConvertXtoDVD.

I am now a very happy bunny and have now totally uninstalled
WinAvi.. I am now 100% ConvertXtoDVD user...


PS: IF an AVI plays out of sync with playback software, this is an
AVI problem and NOT a ConvertXtoDVD problem... There are
many tutorials available showing you how to re-sync such files..
Good Luck !

VSO Software Golden Membership Proud Owner / VSO Software Beta Tester

Snow98
Newbie
_
24. March 2006 @ 12:19 _ Link to this message    Send private message to this user   
Cool, Coogar, your solution worked out just fine. I didn't even start understanding the different settings in AVI Mug, just dropped my "bad" file into it and pressed "start". The output is in sync. Thanks a lot.
yamihere
Newbie
_
28. March 2006 @ 02:53 _ Link to this message    Send private message to this user   
Well, I had a problem with an .avi file. The sound was way off and I couldn't figure out how to fix it using virtual dub (I had been trying to play with the delay values using the audio as it was in the avi file, it turned out I had to first save it as a wav, as described below). Thanks to this thread (and aldaco12) I finally got it. I am going to write down what worked for me incase it helps someone else, and because I am a complete newbie and sometimes have trouble following the advanced users' directions, I am going to write it in baby steps :). All I ended up using was virtualdub.

1. Open the file ('file'- 'open video file')
2. click 'audio'- make sure that 'source audio' is checked, then click on 'full processing mode'
3. click 'file'- 'save wav'

4. once you've saved the wav file somewhere, go back to 'audio' --
click on 'WAV audio' file and select the wav file you just saved in step 3.
make sure also that you click on 'direct stream copy' and that it is checked.
**if there is a delay on your sound and you know what it is (either that or try various values through trial and error)
click on 'audio'- 'interleaving' - make sure 'enable interleaving'is checked, then enter a value of the delay where it says 'delay audio track by... ms', using a positive value (i.e., 500) if the audio is playing too early and negative (i.e., -500) if the audio is playing too late.**
5. Click on 'video'- and make sure that 'direct stream copy' is checked.
6. click on 'file'- 'save as AVI'
and you're done.

This message has been edited since posting. Last time this message was edited on 28. March 2006 @ 02:57

Senior Member
_
30. March 2006 @ 16:05 _ Link to this message    Send private message to this user   
Hi there,

FYI, VSO ConvertXtoDVD let's you add those offsets (00ms) directly in the interface.

There are 2 exceptions movies I have, even with the AviMux GUI 1200ms was needed on a movie to be in sync !

At least the functionality is built in !

VSO Software Golden Membership Proud Owner / VSO Software Beta Tester

Vorban
Suspended due to non-functional email address
_
2. April 2006 @ 05:36 _ Link to this message    Send private message to this user   
I have a related problem. I have an AVI file and when i try to convert it to VOB the audio seems to be faster than the video.
The origional AVI is perfect though so there is no need for AVI-mux. The problem only occurs after the conversion to VOB. Is there any way of fixing this?
Thanks
Advertisement
_
__
 
_
Senior Member
_
2. April 2006 @ 10:09 _ Link to this message    Send private message to this user   
Hi there,
Quote:
The origional AVI is perfect though so there is no need for AVI-mux. The problem only occurs after the conversion to VOB. Is there any way of fixing this?
Yes, the .AVI is ok before the convertion, but you might still need AVI MuxGUI to fix the AVI before you convert it.

Did you pass this specific .AVI in AViMuxGUI ? did it give you a 00ms delay value ?

Try to fix the .AVI and convert it again !

VSO Software Golden Membership Proud Owner / VSO Software Beta Tester

afterdawn.com > forums > archived forums > mpeg-1 and mpeg-2 encoding (avi to dvd) > audio not in sync with video
 

Digital video: AfterDawn.com | AfterDawn Forums
Music: MP3Lizard.com
Gaming: Blasteroids.com | Blasteroids Forums | Compare game prices
Software: Software downloads
Blogs: User profile pages
RSS feeds: AfterDawn.com News | Software updates | AfterDawn Forums
International: AfterDawn in Finnish | AfterDawn in Swedish | AfterDawn in Norwegian | download.fi
Navigate: Search | Site map
About us: About AfterDawn Ltd | Advertise on our sites | Rules, Restrictions, Legal disclaimer & Privacy policy
Contact us: Send feedback | Contact our media sales team
 
  © 1999-2025 by AfterDawn Ltd.

  IDG TechNetwork