Log in

View Full Version : CCE changes video length, audio won't sync


Letricheur
4th January 2004, 00:36
I am doing a PAL VHS to NTSC DVD conversion. I capture to PAL DV on my computer, then used an avisynth script in VDub to crop, resize, filter, and change frame rate to 23.976 fps, and saved as DV *.avi file. This file is 52' 15" long and audio and video are in sync. I saved the audio wav file and it also is 52' 15" in duration. I plugged edited avi file into CCE 2.67 and it produces an *.m2v file of 52" 12' duration - 3 seconds shorter. Since then I cannot get the audio in sync. I tried CoolEdit to change the length of the audio to 52' 12" but the audio and video get progressively out of sync. Even used Maestro to create audio sync file but it didn't work.

This is the avs file.
AVISource("G:\Temp\Emma Home.avi")
LoadPlugin("C:\DVD\Filters\SmoothDeinterlacer.dll")
LoadPlugin("C:\DVD\Filters\Convolution3D.dll")
Trim(12,78389)
SmoothDeinterlace(doublerate=true)
Cropbottom(8)
LanczosResize(720,480)
ConvertFPS(47.952)
SeparateFields()
odd=SelectOdd.Convolution3D(1, 6, 10, 6, 8, 2.8, 0)
evn=SelectEven.Convolution3D(1, 6, 10, 6, 8, 2.8, 0)
SelectEvery(4,0,3) # or SelectEvery(4,1,2) or #Interleave(evn,odd)
Weave()

There is much discussion about this on the forum but I have yet to find a solution. Mainly, I'd like to know why CCE changed the duration of the video?

Yuri
4th January 2004, 00:55
I am pretty sure that BeSweet will solve your problem
http://www.doom9.org/audio-guides.htm
you obviously need some time-stretch/shrink before multiplexing the video and audio
Good luck!

Letricheur
4th January 2004, 01:13
Thanks, Yuri, but my video and audio durations are only off by a few seconds and I am not aware of a way to change audio length in BeSweet except by using the presets (e.g. PAL to NTSC), which would change the length by too much.

Curiously, if I use the *. wav file from the original 25 fps PAL DV (before I changed the avi file to 23.976 fps) and use DVD-Lab to multiplex that with the short 23.976 fps m2v video file produced by CCE (29.976 after pulldown but same short length), the audio and video are in synch even though their durations differ by 3 seconds.

I therefore may have solved my a-v sync problem but still do not know why CCE shortened the video.

SomeJoe
4th January 2004, 03:23
CCE did not shorten your video. It is the same length as when you started. Use your existing .wav file in Maestro and it will sync perfectly.

CCE is just reporting the timecode of the video in non-drop-frame notation, which doesn't correspond to real time.

If you want CCE to use a drop-frame timecode, which will correspond to real time, you need to check "Drop Frame" on the CCE video options page (CCE 2.62 and 2.64), or check the "DF" checkbox next to the starting timecode on the CCE options page (CCE 2.66 and 2.67).

CCE 2.50 does not have this option, and can only generate non-drop-frame timecodes.

Letricheur
4th January 2004, 05:05
SomeJoe, thank you. That makes sense now. Will follow your advice.

Letricheur
4th January 2004, 06:28
Didn't really understand drop frame and non-drop frame until now. Here's a good explanation - http://www.csif.org/html/dropframe.html