User User name Password  
   
Saturday 18.1.2025 / 02:53
Search AfterDawn Forums:        In English   Suomeksi   På svenska
afterdawn.com > forums > archived forums > divx / xvid > xvid audio / video sync issue
Show topics
 
Forums
Forums
Xvid Audio / Video sync issue
  Jump to:
 
Posted Message
Radunn
Inactive
_
5. May 2009 @ 20:19 _ Link to this message    Send private message to this user   
I've been encoding DV camcorder video to xvid for quite a while in Virtualdub. Initially playback of an encoded DV to Xvid was fine. Lately it and all copies of the same video were out of sync (audio way before video). Using MediaInfo for information the Audio section of the out of sync file is as follows:
Bit rate mode : Constant
Bit rate : 32.0 Kbps
Channel(s) : 2 channels
Sampling rate : 48.0 KHz
Resolution : 16 bits
Stream size : 57.7 MiB (8%)
Alignment : Split accross interleaves
Interleave, duration : 33 ms (1.00 video frame)
Interleave, preload duration : 2500 ms

What I did was save the xvid AVI MP3 to WAV via Virtualdub, used an audio editor (converted to Wav) then converted back to MP3 using a much higher bit rate (160 Kbps); finally remuxing the new MP3 into the AVI via VirtualdubMod. Having done this and rechecked in MediaInfo the Interleave, preload duration is now 504 ms, with a 160 Kbps bit rate and plays fine (no audio-video sync issue).

Does a too low bit rate account for audio/video sync issues? In advance thank you

Radunn
AfterDawn Addict
_
5. May 2009 @ 21:00 _ Link to this message    Send private message to this user   
I don't have an answer, but you could take the file with 2500ms preload into VirtualDub.
Click 'Audio' > 'Interleaving' and set the preload to 500 and see if the effect is the same (save the video with Direct stream Copy).

Anything I read about preload refers to 200/500 ms as maximum.
Radunn
Inactive
_
6. May 2009 @ 10:31 _ Link to this message    Send private message to this user   
Originally posted by attar:

Click 'Audio' > 'Interleaving' and set the preload to 500 and see if the effect is the same (save the video with Direct stream Copy).

Anything I read about preload refers to 200/500 ms as maximum.

By default 'Audio - Interleaving - 'preload' is set at 500ms.

Actually (with no change at Audio/Interleaving)saving it 'direct copy stream' increased 'interleave preload duration' by a few ms. What worked (without having to extract the WAV file etc)was simply to increase the audio bit rate from 32Kbps to 128 - xxx etc; reducing interleave preload to 50x ms

Radunn
Related links
Download XviD codec from here.
 
Related forum topics Posts Last post Forum room
where do i find xvid codecs for 360 2 29. November 2013 Xbox 360 - Everything else
Xvid file stops playing after a few seconds 5 26. August 2012 Video - Everything else
AVI / Xvid media player 5 5. July 2012 Sony PSP - Homebrew software
Xvid upgrading to Virtualdub 2 24. June 2012 Video - Everything else
Xvid resets to Xvid mobile after/while AutoGK 3 15. March 2012 Convert DVD to another format
End of Xvid movies suddenly cutting off? 5 17. February 2012 Video playback problems
New guide: Encode DVDs to XviD with MeGUI 1 11. February 2012 News comments
.mkv 720p to .avi 720p (matroska to XviD) 2 30. January 2012 Convert video to another format
Changing resolution with xvid 3 24. December 2011 Convert video to another format
DVD to AVI/Xvid oddities 2 2. November 2011 Convert DVD to another format

 
afterdawn.com > forums > archived forums > divx / xvid > xvid audio / video sync issue
 

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