View Single Post
Old 20th September 2015, 16:25   #5  |  Link
Music Fan
Registered User
 
Join Date: May 2009
Location: Belgium
Posts: 1,743
Do you absolutely want to resize and avoid black borders ? Because you can simply replace cropped lines by black lines (and center video, thus add for example 4 lines on top and 4 below if you cropped 8 bottom lines), that's always what I do with VHS sources, I don't even de-interlace.
If you need temporal filters on interlaced sources, you can use JDL_UnfoldFieldsVertical ;
http://www.avisynth.nl/users/stickboy/
It separates fields and gather them one above the other, it's better than simply separate fields (which alternate top and bottom fields, not good for temporal filters).
It needs jdl-interlace.avsi and jdl-util.avsi.
Here is an example ;
Code:
source()
assumeTFF()
Crop(12,0,-12,-8)
JDL_UnfoldFieldsVertical(flip=true)#separate and gather fields, video becomes kind of progressive
spatial and/or temporal filters(...)
JDL_FoldFieldsVertical(flip=true)#re-interlace
addborders(12,4,12,4)
This is much faster than if you de-interlace and resize, you can compare with AVSMeter.
But of course, the result is not exactly the same than if you filter a de-interlaced video because filtering is done on flattened fields ; try and see if the result is good enough for you.
But it allows to avoid potential de-interlacing and resizing artifacts, each method has its benefits.
The argument flip=true flips only the bottom field, which makes both fields touching themselves by their bottom side (better for spatial filters).


edit : to open mov files (and also TS, mkv or mp4), LWLibavVideoSource may be better than qtinput, especially with interlaced h264.
Findable here (take L-SMASH-Works and put LSMASHSource.dll in Avisynth's plugins folder) ;
http://forum.doom9.org/showthread.ph...73#post1689573

Last edited by Music Fan; 20th September 2015 at 17:26.
Music Fan is offline   Reply With Quote