netrex
20th July 2006, 19:35
I'm using this code as it's all I need done:
DirectShowSource("e:\video.wmv")
Lanczos4Resize(512,288)
But the audio starts lagging behind more and more even though both video and audio is playing at correct speed, but of course, one of them aren't, and it's probably the video for some reason.
I also tried:
DirectShowSource("e:\video.wmv",fps=24)
Lanczos4Resize(512,288)
But it didn't change anything.
I've tried without any resizing as well, but the problem persists.
It's only a short video, 74 seconds, but at the end the sound is about 3 seconds behind the video. The sound sounds correct, so I assume the samplerate is correct, with that much lag, I think I would have noticed it if it was wrong, but the picture looks correct as well, and Fraps says it runs at a stable 24 FPS all the time.
DirectShowSource("e:\video.wmv")
Lanczos4Resize(512,288)
But the audio starts lagging behind more and more even though both video and audio is playing at correct speed, but of course, one of them aren't, and it's probably the video for some reason.
I also tried:
DirectShowSource("e:\video.wmv",fps=24)
Lanczos4Resize(512,288)
But it didn't change anything.
I've tried without any resizing as well, but the problem persists.
It's only a short video, 74 seconds, but at the end the sound is about 3 seconds behind the video. The sound sounds correct, so I assume the samplerate is correct, with that much lag, I think I would have noticed it if it was wrong, but the picture looks correct as well, and Fraps says it runs at a stable 24 FPS all the time.