Friday, January 06, 2006
av sync problem when encoding avi to mpg file
When I converted the audio stream to wav with Virtualdub, I was in fact doing it incorrectly. I simply opened the video file with Virtuadub and saved as wav. When i converted the avi to mpg using the wav as the audio source, the av was out of sync.
It turns out the sync problem was caused by the compressed audio having problems. It goes away if the audio is converted to uncompressed wave first, then recompressed properly to CBR. But didn't i decompress it already?
In fact, i had not decompressed it properly. on the audio setting, i need to set it on full processing mode; previously, it was set on direct stream copy. And i need to click on Audio, Conversion, to set 44,100Hz for VCD.
Then, the wave file will be ready for conversion to mpg in TMpegenc!
It turns out the sync problem was caused by the compressed audio having problems. It goes away if the audio is converted to uncompressed wave first, then recompressed properly to CBR. But didn't i decompress it already?
In fact, i had not decompressed it properly. on the audio setting, i need to set it on full processing mode; previously, it was set on direct stream copy. And i need to click on Audio, Conversion, to set 44,100Hz for VCD.
Then, the wave file will be ready for conversion to mpg in TMpegenc!
Comments:
<< Home
That was quite informative. I learned two things. First, you know about files. That's good. The second thing I learned was that you posess what I laughingly call "mindThought".
It means that deep within you lurks a smaller inner robot with no eyes. Creepy.
Post a Comment
It means that deep within you lurks a smaller inner robot with no eyes. Creepy.
<< Home
