I have this 16:9 video shot with a Digital8 cam. For some reason it has a 30 pixel border around it. It was shot years ago and has been sitting on an archive hard drive and I have no recollection of how or why it got that way. It definitely didn't come out of the camera that way. What I want to do is get rid of the border and end up with properly sized, properly interlaced 16:9 720x480 video in as few steps as possible. I find that just cropping 30 pixels off all around screws up the interlacing and I end up with a mess.
What do you suggest?
Thanks for all input.
![]()
+ Reply to Thread
Results 1 to 11 of 11
-
Last edited by brassplyer; 23rd Jan 2014 at 23:37.
-
How about something like this? There are probably some other methods, should be interesting to see any variations.
Load_Stdcall_plugin("F:\Program Files\AviSynth 2.5\plugins\ConditionalSmoothBob\yadif.dll")
directshowsource("I:\itemp\#i misc\3secborder.avi")
yadif(mode=1,order=0)
#
crop(28,28,-28,-28)
lanczosresize(720,480)
separatefields().selectevery(4,1,2)
weave() -
-
-
Or this variation - skips the Bob, probably much faster.
directshowsource("I:\itemp\#i misc\3secborder.avi")
separatefields()
crop(28,14,-28,-14). lanczosresize(720,240).weave()
Here is ConditionalSmoothBob in case you couldn't find it.Last edited by davexnet; 24th Jan 2014 at 07:13.
-
I modified it and am using QTGMC instead. His reinterlace config didn't work right - I believe (4,1,2) sets it to TFF? I used this modification of his script. I cropped 32 pixels instead of 28 since I don't want that slight border at the edges. I can live with 2 fewer pixels. Apparently it needs to be multiples of 4 to work correctly.
He definitely pointed me in the right direction though.
What I'm going to do is deinterlace/crop first, hit that file with Neatvideo and possibly Thalin Deshaker, then do the reinterlace in a separate step.
SetMTMode(3,4)
directshowsource("W:\sourcevid.avi")
ConvertToYV12
SetMTMode(2)
QTGMC(preset="slow")
crop(32,32,-32,-32)
lanczosresize(720,480)
separatefields().selectevery(4,0,3)
weave() -
-
much better.
What I'm going to do is deinterlace/crop first, hit that file with Neatvideo and possibly Thalin Deshaker, then do the reinterlace in a separate step.
separatefields().selectevery(4,0,3).weave()
Cheers,
David. -
-
You see the problem easily using sharp horizontal edges or lines.
I can't seem to embed images?
orig.png is the source image:
sep.png:
Code:crop(32,32,-32,-32) separatefields() lanczosresize(720,240) weave()
Code:crop(32,32,-32,-32) QTGMC() lanczosresize(720,480) separatefields() selectevery(4,0,3) weave()
Last edited by jagabo; 24th Jan 2014 at 12:20.
-
Similar Threads
-
MENCODER: how to crop 32 lines from up as virtualdub nulltransform crop?
By marcorocchini in forum Newbie / General discussionsReplies: 7Last Post: 17th Dec 2013, 15:58 -
How to crop a video?
By toqi786 in forum EditingReplies: 22Last Post: 27th Jul 2012, 21:37 -
Crop a Video
By jjis in forum EditingReplies: 3Last Post: 21st Jan 2012, 12:27 -
How to Crop Video
By xiaomanda in forum Newbie / General discussionsReplies: 6Last Post: 14th Jun 2011, 09:24 -
Crop video
By weta in forum Newbie / General discussionsReplies: 10Last Post: 11th Aug 2009, 15:27