User User name Password  
   
Friday 26.9.2025 / 07:10
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > archived forums > divx / xvid > sound out of sync joining .avi files
Show topics
 
Forums
Forums
Sound out of sync joining .avi files
  Jump to:
 
Posted Message
Henderson
Junior Member
_
1. January 2007 @ 11:35 _ Link to this message    Send private message to this user   
I have 13 .avi files from an old movie that I'd like to join, but the sound is always way out of sync when finished.

I've tried Blaze Media Pro with various framerate settings, as well as VirtualDub. The .avi files are identical formats, all ripped with ImTOO DVD Ripper. Each .avi file is perfectly in sync, so it's not a problem with starting out with bad files.

What am I doing wrong? I followed the VirtualDub guide that's posted here at AfterDawn.
Advertisement
_
__
celtic_d
AfterDawn Addict
_
1. January 2007 @ 23:41 _ Link to this message    Send private message to this user   
Problems can arise if the audio and video streams aren't the same length and/or if the joining app does take into account delays.

For instance the first part could be:
VVVVVVVVVVVVVVVVVVVVV
AAAAAAAAAAAAAAAAAAAAAAAAAA
The file will play fine by itself, but the audio stream is actually longer than the video so when you join, the audio for the second part starts 5 A's too late.

Try AVISynth with ++ to join, so
part1 = avisource("001.avi")
part2 = avisource("002.avi")
part1++part2

See if that plays in sync. If so then you could save out the audio, then mux with your original video.
aldaco12
AfterDawn Addict
_
2. January 2007 @ 04:56 _ Link to this message    Send private message to this user   
Otherwise, encode each AVI into mpeg THEN multiplex the two parts.
Sinche when you encode AVI -> MPG video and audio must match (and the movie's length is decided by the video).
The MPG length will be the Video's length

That is:
1) in the
VVVVVVVVVVVVVVVVVVVVV
AAAAAAAAAAAAAAAAAAAAAAAAAA
example, the MPG will be:

VVVVVVVVVVVVVVVVVVVVV
AAAAAAAAAAAAAAAAAAAAA
MMMMMMMMMMMMMMMMM
with five 'A's which have been 'cut off'.

2) in the
VVVVVVVVVVVVVVVVVVVVVVVVVVV
AAAAAAAAAAAAAAAAAAAAAA
example, the MPG will be:

VVVVVVVVVVVVVVVVVVVVVVVVVVV
AAAAAAAAAAAAAAAAAAAAAAAAAAA
MMMMMMMMMMMMMMMMMMMMMM
with the last five 'A's which will represent silence.

If you de-multiplex the audio, you can use it, when you author the DVD using elementary streams.

If you choose a simple mpeg format (e.g. MPEG-2 CBR, which is faster than MPEG-2 VBR even if it has lower video quality) you'll speed vey much the process. It's useful, since you won't use the video output but only the audio one.

This message has been edited since posting. Last time this message was edited on 2. January 2007 @ 04:57

AfterDawn Addict
_
3. January 2007 @ 22:35 _ Link to this message    Send private message to this user   

Looking for a new burner? Check here.
http://www.cdfreaks.com/reviews/
The reviews also help to determine which media gives the best results.
Advertisement
_
__
 
_
Henderson
Junior Member
_
6. January 2007 @ 02:55 _ Link to this message    Send private message to this user   
After playing with the files for another several days, the final AVI file was always out of sync. So I went about it from the other end.

I tried Xilisoft's DVD Ripper Platinum and it was able to rip the dvd files into one AVI file, instead of one for each chapter like ImTOO DVD Ripper does. And it's in perfect sync.

Thanks much for all the help and suggestions. I hope I never have to try doing that again. :p
afterdawn.com > forums > archived forums > divx / xvid > sound out of sync joining .avi files
 

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