Log in

View Full Version : 720p decimation problem


Hans Ohlo
23rd December 2006, 09:33
hi,
i have a 720p mpeg source with 59.940fps. my avisynth script looks as follows:

mpeg2source("D:\__encode\the nine\106.d2v",idct=3,info=3)
ColorMatrix(hints=true)
TDecimate(cycleR=3)
crop( 2, 0, -2, -2)
BicubicResize(1280,720,0,0.75)

now the problem is, when i mux the audio to the encoded result of this (x264, AC-3 in a mkv container). the sound gets more and more out of sync. i also noticed that it gets out of sync at positions where comericals seem to be cut out of the stream. i suspect that at these locations the frame rate is lower than the 59.940fps and so decimate actively removes frames that get the video out of sync.

is there anything i can do the recognize these positions in the stream or to fix this?

Boulder
23rd December 2006, 14:02
Would SelectEven().TDecimate() do the trick?

Hans Ohlo
23rd December 2006, 15:33
i will give it a try... thanks

Guest
23rd December 2006, 15:39
i also noticed that it gets out of sync at positions where comericals seem to be cut out of the stream. How are you cutting the commercials?