Log in

View Full Version : out of sync from 32khz to 48khz conversion


frubsen
2nd March 2007, 18:56
hi everyone

i captured an old home video vhs tape to my computer using the passthrough on my digital 8 camcorder....so i have a big dv avi file. the audio is perfectly in sync in the dv avi file.

the audio in the file is 16bit 32khz.

i have since encoded the video to mpeg2 using cce... i extracted the audio in virtualdub and used belight to convert to ac3 and change the sample rate to 48khz.

now when i author the dvd, the result is the audio gradually goes out of sync and near the end it is at least 1 second or more out of sync.

i have tried using sound forge to resample the audio and i get the same problem.

any help?

tebasuna51
2nd March 2007, 20:33
- Extract the audio (wav) from the dv avi file.
- Use SoundForge to resample from 32 to 48 KHz. Check the initial and final duration, must be the same.
- Use Aften (http://kurtnoise.free.fr/index.php?dir=Aften/) to encode to ac3.

If after this you have sync problems check you video procedures.

frubsen
2nd March 2007, 20:51
thanks tebasuna, i tried that, the durations are the exact same...i tried muxing the 32k wav file to the .mpv file...and the audio was still out of sync...so now i am thinking that its not a problem with the audio sample rates.

i am running the original dv avi file through virtualdub scanning for video errors.

frubsen
2nd March 2007, 21:40
ok i am at a loss, there were no errors in the dv avi file found in virtual dub, is there any other reason the audio is going out of sync

tebasuna51
3rd March 2007, 01:00
Check and post durations in all components:
Duration_dv_video
Duration_dv_audio (wav)
Duration_ac3
Duration_mpv (m2v)

frubsen
3rd March 2007, 01:34
Duration_dv_video = 2:36:50
Duration_dv_audio (wav) = 2:36:50
Duration_ac3 = 2:36:50

now this is weird..if i play the mpv file alone in wmp, it shows 59:16 as the play time, but the beginning is there and the end is there and nothing is cut out which i dont get

tebasuna51
3rd March 2007, 02:51
Seems the audio section is Ok.
I can't help you with mpeg-2 video encoder, I have only a little experience with TMPEGEnc and nothing with cce.

frubsen
5th March 2007, 01:24
anyone else have any ideas...or should i just recapture it again.

this is actually the second time....the first time the dv avi file was out of sync...this time, its just after encoding to mpeg2 and authoring to dvd that is goes out of sync