When converting mpeg1 files with virtual dub, the audio is significantly behind the video. Using flask however results in choppy sound quality, so using this program is not an option. The input audio is mpeg1 layer2 224kbs and converting to mp3 lame 224kbs. Virtual dub's built in offset routines do not seem to help. Any ideas?
audio out of sync
Collapse
X
-
The problem is not virtual dub its in the mp3 algorithms.
It seems they were made poorly and as a result it is common for your mp3 encoded audio to be shorter in length than the original wav (or whatever format your using).
To get around this virtual dub allows you to change the frame rate of the video so the audio and video lengths will meet. But sometimes it reports the wrong frame rate. As a general rule it it usually at 25.001 for me, but im in PAL.
You could always check it manually, find out how many frames are in your video and how many are in your mp3 audio and conpare them. Use this to set the frame rate of the video.
I use virtual dub to encode the video and Easy CD-DA converter to encode the audio, so i end up with the encoded video in one file and the encoded audio in another file then I can join them together and if they arnt in sync I can play around a bit with out having to worry about reencoding.Comment
Comment