User User name Password  
   
Friday 27.11.2009 / 06:52
Search AfterDawn Forums:        In English   Suomeksi   Pĺ svenska
afterdawn.com > forums > digital video discussion > divx / xvid > xvid audio / video sync issue
Show topics
 
Forums
Forums
Xvid Audio / Video sync issue
  Jump to:
 
Posted Message
Radunn
Newbie
_
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
Newbie
_
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
Problem with Virtualdub and no Xvid option 2 25. November 2009 Subtitle help
AVI or MKV? XviD or H264? 4 20. November 2009 DVD ripping
Divx / Xvid Playback Squished with Black Bars on Top and Bottom on HDTV via LG LHT854 Home Theater 3 11. November 2009 Playback problems
Low audio on AVI (XVID) 7 11. November 2009 Playback problems
WMV to mpeg4/asf,,,DivX,,,,Xvid 4 29. October 2009 DivX / XviD
Converting MKV or OGM formats into AVI using either Divx, or Xvid formats. 3 24. October 2009 DivX / XviD
Do I have to log into xbox live to watch xvid files on my xbox? 3 21. October 2009 Xbox 360 - General discussion
Software/Text Xvid based video to DVD without blur 4 12. October 2009 DivX / XviD
.HDTV.XviD-2HD format 1 6. October 2009 DVD±R for newbies
cant play DivX or Xvid "51-COODF236" 20 12. September 2009 Xbox 360 - General discussion

 
afterdawn.com > forums > digital video discussion > 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 | 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-2009 by AfterDawn Ltd.