PDA

View Full Version : avi audio interleaving question.


esby
21st January 2003, 14:07
Ok.
Some avi files are interleaved, some not... but that's not my question...

Maybe it's a dumb question, but i'm asking it cause i'm not sure.

Is the interleaving used to calculate the audio / video synchro?
I'll tend to say no, since there are non-interleaved avi.
But if no, how can i check the synchro of a given audio frame versus a video frame? Should i check this with the aud / vid framerate?


esby

alexnoe
22nd January 2003, 01:08
Some avi files are interleaved, some not... but that's not my question... A non-interleaved AVI file is baaaaad and cannot be replayed from CD.
Is the interleaving used to calculate the audio / video synchroNo
But if no, how can i check the synchro of a given audio frame versus a video frame? Should i check this with the aud / vid framerate? The only way to sync audio / video in an AVI file is using the average data rate of audio vs number of video frames * amount of time for which one video frame is displayed.

Note that the clock which you must use is the clock of the sound card, not the clock of your PC (my old SB AWE 64 Value had a clock of 47,9 kHz, instead of 48 kHz...so the video had to be played not at 25 fps, but maybe 25.00xxx to get a synced replay)