Itness
2nd October 2008, 20:07
I've done a lot of XviD encoding, generally from DVD and VHS sources, and although my latest encode looks fine generally, there is a strange distortion that is only obvious when the camera is panning -- doesn't seem to matter whether it's panning top to bottom or left to right.
Here is a sample unprocessed clip:
http://rapidshare.com/files/150305338/itness_clip.m2v
My initial encode used tdeint/nnedi, tfm.tdecimate and mc_spuds (see script below) and the results looked good overall except in the panning shots. The clip shows a downward pan with a narrow tower in the foreground. The size and shape of the tower seems to modulate irregularly from one frame to the next during panning. For example, the left side of the tower moves but the right side remains stationary, and the whole tower seems to shrink vertically between one frame and the next.
I've experimented with encoding this clip in many ways: with and without decimation (it's NTSC bff), using tdeint/nnedi, mcbob, mvbob, and tempgaussmc. Nothing thus far has eliminated the distortion.
My initial script:
LoadPlugin("C:\AviSynthPlugins\DGDecode.dll")
LoadPlugin etc.
mpeg2source("X:\BLAH\film.d2v")
Interp = NNEDI(field=0)
Deinted = TDeint(order=0,field=0,edeint=Interp)
TFM(mode=6,order=0,PP=7,slow=2,mChroma=true,Clip2=Deinted)
TDecimate()
MC_Spuds(frames=2,strength=3,sharpp=2,lsfstr=120)
crop(10,0,700,476)
Spline36Resize(640,480)
Here is more or less the same clip (just a few frames difference) processed with the above script:
http://rapidshare.com/files/150305750/itness_clip.avi
Any suggestions would be greatly appreciated.
Here is a sample unprocessed clip:
http://rapidshare.com/files/150305338/itness_clip.m2v
My initial encode used tdeint/nnedi, tfm.tdecimate and mc_spuds (see script below) and the results looked good overall except in the panning shots. The clip shows a downward pan with a narrow tower in the foreground. The size and shape of the tower seems to modulate irregularly from one frame to the next during panning. For example, the left side of the tower moves but the right side remains stationary, and the whole tower seems to shrink vertically between one frame and the next.
I've experimented with encoding this clip in many ways: with and without decimation (it's NTSC bff), using tdeint/nnedi, mcbob, mvbob, and tempgaussmc. Nothing thus far has eliminated the distortion.
My initial script:
LoadPlugin("C:\AviSynthPlugins\DGDecode.dll")
LoadPlugin etc.
mpeg2source("X:\BLAH\film.d2v")
Interp = NNEDI(field=0)
Deinted = TDeint(order=0,field=0,edeint=Interp)
TFM(mode=6,order=0,PP=7,slow=2,mChroma=true,Clip2=Deinted)
TDecimate()
MC_Spuds(frames=2,strength=3,sharpp=2,lsfstr=120)
crop(10,0,700,476)
Spline36Resize(640,480)
Here is more or less the same clip (just a few frames difference) processed with the above script:
http://rapidshare.com/files/150305750/itness_clip.avi
Any suggestions would be greatly appreciated.