Is there a way to use AVISynth or VirtualDub to crop a .AVI VHS Capture and resize it and at the same time preserve the interlacing (not mess it up). Do I just do it or do I need to do something special?
+ Reply to Thread
Results 1 to 4 of 4
-
-
VirtualDub should be able to crop and / or resize without affecting the interlacing. If resizing, use the "Lanczos" filter.
Just in case...:
"crop" = hiding parts of the picture so they aren't displayed. This will leave a border around the remaining image.
I can't see a "crop" filter in VirtualDub - one may be available. I achieved the same by adding four "fill" filters - one for each border, and filling with a colour of your choice.
"resize" = changes the size of the image, effectively zooming in (maing it bigger), or out (making it smaller) on the image.There is some corner of a foreign field that is forever England: Telstra Stadium, Sydney, 22/11/2003.
Carpe diem.
If you're not living on the edge, you're taking up too much room. -
Resizing interlaced video never gives perfect results. But the best way to do it is to separate the fields, resize, then interlace them back together.
The resize filter in VirtualDub has an "interlaced" option that does this automatically.
To do it manually you could use the following procedure:
In VirtualDub select the deinterlace filter and use the "unfold fields side by side" option. Then resize (note your video is twice as wide and half as tall now so keep that in mind). And finally use another deinterlace filter with "fold side-by-side fields together" selected.
There are similar methods in AVISynth. Use SeparateFields, Lanczos4Resize, then Weave them back together. -
Simple AviSynth Interlaced resizing:
AssumeTFF()#or AssumeBFF() if bottom field first
SeparateFields()
Crop(xx,xx,xx,xx)
LanczosResize(xxx,xxx)#use resizer of choice. Lanczos4Resize would not be my choice
AddBorders(xx,xx,xx,xx)#if necessary
Weave()
Much better, if slower:
LeakKernelBob(Order=1)#slower but slightly better is TDeint(Mode=0)
Crop(xx,xx,xx,xx)
LanczosResize(xxx,xxx)#use resizer of choice
AddBorders(xx,xx,xx,xx)#if necessary
SeparateFields()
Selectevery(4,0,3)#Or SelectEvery(4,1,2) if BFF
Weave()
Full discussion:
http://forum.doom9.org/showthread.php?t=90950&highlight=interlaced+resize
Similar Threads
-
Resize & Crop MKV
By Kand in forum Video ConversionReplies: 2Last Post: 22nd Apr 2012, 13:50 -
Proper way to crop and resize this vid to 4:3?
By mt123 in forum Newbie / General discussionsReplies: 14Last Post: 27th Dec 2009, 23:59 -
Can I crop and resize video?
By maldb in forum EditingReplies: 6Last Post: 13th Jun 2009, 19:06 -
Video Crop and resize
By quxote in forum EditingReplies: 4Last Post: 27th Feb 2009, 11:48 -
Crop, then resize to 240x320?
By miamicanes in forum EditingReplies: 2Last Post: 29th Dec 2008, 23:56