Audio synchronization problems joining a lot of OGMs

Discussion about Avi2Dvd.
Requests and bug fixing.

Moderators: george, roger_rabbit, reburn, Excalibur!, skyheartblue

Post Reply
maxpower
Junior Member
Posts: 5
Joined: Tue Mar 14, 2006 7:46 pm

Audio synchronization problems joining a lot of OGMs

Post by maxpower »

I'm making a dvd of 8 ogms where each is about twenty minutes and the way avi2dvd uses virtualdubmod seems to be a little faulty since the joined ogm has an accumulating audiosync problem through the parts.. I haven't checked, but for me it seems like on every part there is a little bit more error (ie. it goes in steps through the chapter endpoints). If I compute the seconds of each part (received in integer seconds from the OS) and compare it to the result in the first tab of avi2dvd then the difference is actually exactly 4 seconds, which is exactly half a second per part, which sounds a little like a rounding error (although that could also be in the os :)
Could it be a simple rounding error? Is there a way to tinker with the way avi2dvd uses virtualdubmod? The flag Virtualdub.stream[0].AdjustChapters(1) seems suspicious to me..

Have fun,
Max.
maxpower
Junior Member
Posts: 5
Joined: Tue Mar 14, 2006 7:46 pm

Post by maxpower »

Well, the obvious solution is to do the joining yourself with VirtualDubMod, and I've been playing now a little with the script file that avi2dvd generates, but haven't found the solution yet.
Of course this is a problem specific to VirtualDubMod and I'll try to find more info on their forums..
maxpower
Junior Member
Posts: 5
Joined: Tue Mar 14, 2006 7:46 pm

Post by maxpower »

Found something on the doom9 forums:

http://forum.doom9.org/showthread.php?t ... ogm+append

It seems that the append function of virtualDubMod is unreliable due to mismatching audio/video lenghts (kindof a silly append that doesn't fill the buffers with zeros to reach sync automatically or even report any warning), so what I'm trying right now is to manually use VirtualDubMod to convert the omgs ... I mean ogms... :) to avi's and then use that as a basis for avi2dvd which then should use avisynth for the join... I hope.. They said somewhere in the forums that it is better for appending, but of course cannot be used directly with ogms.
jonx
Junior Member
Posts: 7
Joined: Tue Mar 07, 2006 6:35 pm

Post by jonx »

I had the same problem when I tried to make some OGMs to dvd. The solution was as you said to first convert the files to AVIs with virtualdubmod... But unfortunately that does not work with MKV files :S
Post Reply