DeJitter


Author V. C. Mohan
Date Mar 16, 2006
EMail: mohanvc

Some vhs tapes have time sync problems, and the rows exhibit severe jitter. This plugin examines the specified window of each of the rows and tries to find the amount by which the pixels are out of alignment, adds the sync signal width and shifts, to put them in correct alignment. Dark scenes with luma less than 50 or so may give erroneous results. The resulting voids at the right ends of the rows are greyed out or end color extended.

RGB32, RGB24, YUY2 and YV12 formats are supported. In case of RGB the red color only is used and for YUY2 and YV12 the Y value is used to determine shift required.


Details of parameters
Description Name Type Limits Default
Input clip clip none
maximum jitter in pixels jmax integer within clip, >3 32
threshold value for detection th integer 40 to 255 80
sync signal width wsyn integer 0 to frame width-jmax 10
color to be extended or greyed out into blank area extend boolean true for extend last pixel value false

#Usage examples:-
DeJitter(last,jmax=40,th=80, wsyn=8, extend=true)

Below is an example of output On left input:

To my index page down load plugin To Avisynth