DeJitter


Author V. C. Mohan
Date 1 Oct 2020
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 blackened.

RGB,YUY2, Planar formats are supported. In case of RGB the minimum shift value determined for red green and blue colors is used and for YUY2 and Planar formats the Y value is used to determine shift required. The resulting blank ends are blackened .


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 float 0.005 to 0.5 0.25
sync signal width wsyn integer 0 to frame width-jmax 10

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

Below is an example : On left input, on right is output :

To my index page down load plugin To Avisynth