tedder
30th December 2007, 01:30
So I'm using fccHandler to open mpeg2 files. The audio is AC3- gspot says the specs are "0xbd[0x80]:48000Hz 448 kb/s tot , stereo (2/0)". It's CBR.
When I play it in Windows Media Player, it seems fine. When I load it in virtualdub and play, the audio is out of sync. In a 30 minute clip, it'll be out by about 500msec by the end, but much less at the beginning- so I can't simply skew it slightly and get it in sync.
Why is that? I've changed Framerate to "Adjust framerate so audio and video lengths match." The source rate adjustment says current=59.940, change..match=59.974.
Here's a test clip from near the end of the 30min file. I encoded it to xvid, but the problem is in VirtualDub, not the encoded file:
http://perljam.net/tmp/sync-test-1.avi
-ted
When I play it in Windows Media Player, it seems fine. When I load it in virtualdub and play, the audio is out of sync. In a 30 minute clip, it'll be out by about 500msec by the end, but much less at the beginning- so I can't simply skew it slightly and get it in sync.
Why is that? I've changed Framerate to "Adjust framerate so audio and video lengths match." The source rate adjustment says current=59.940, change..match=59.974.
Here's a test clip from near the end of the 30min file. I encoded it to xvid, but the problem is in VirtualDub, not the encoded file:
http://perljam.net/tmp/sync-test-1.avi
-ted