k0r0n4
18th June 2004, 01:52
I'm backing up my DVDs to CDs, but I came across an interesting problem. I'm reencoding the video as XviD using VDubMod and seprately converting the audio to Ogg Vorbis via BeSweet. Then I use mkv merge to mux them all together (audio + video + chapters + subtitles).
The problem is the audio is in synch at the beginning of the video, and progressively gets more and more out of synch as the video goes on. While I believe this is a XviD issue and not an audio issue (because the audio is in synch with the subtitles during the whole film, but the video is not), I don't know of any fast way of stretching the video, since I'd have to use AssumeFPS in AviSynth and then guess at what it's supposed to be. I also never changed the FPS in VDubMod and I'm not using B-Frames so I my best guess is that this is a codec encoding/playback error. BeSweet appeared to have detected the delay at the beginning of the audio, but that only makes the audio in synch at the beginning of the movie.
Since changing the video would be so difficult and the audio lags behind as it gets near the end of the film, I thought about stretching the audio and just dropping the subs. Mkv merge has a feature in it where you can tell it to stretch the audio, which seems to be the answer. I don't think the pitch change would be too noticeable, but I'm not sure how to figure out how much I should stretch it.
Also, does stretching with mkv merge actually reencode the audio, or does it just store some data in the container telling the player to play back the audio at a slower rate? Thanks in advance!
-k0r0n4
[Edit] This occurs in all DVDs that I convert, not just one :confused:
The problem is the audio is in synch at the beginning of the video, and progressively gets more and more out of synch as the video goes on. While I believe this is a XviD issue and not an audio issue (because the audio is in synch with the subtitles during the whole film, but the video is not), I don't know of any fast way of stretching the video, since I'd have to use AssumeFPS in AviSynth and then guess at what it's supposed to be. I also never changed the FPS in VDubMod and I'm not using B-Frames so I my best guess is that this is a codec encoding/playback error. BeSweet appeared to have detected the delay at the beginning of the audio, but that only makes the audio in synch at the beginning of the movie.
Since changing the video would be so difficult and the audio lags behind as it gets near the end of the film, I thought about stretching the audio and just dropping the subs. Mkv merge has a feature in it where you can tell it to stretch the audio, which seems to be the answer. I don't think the pitch change would be too noticeable, but I'm not sure how to figure out how much I should stretch it.
Also, does stretching with mkv merge actually reencode the audio, or does it just store some data in the container telling the player to play back the audio at a slower rate? Thanks in advance!
-k0r0n4
[Edit] This occurs in all DVDs that I convert, not just one :confused: