QTGMC before or after Crop/AddBorders in AVSynth?
I am currently experimenting processing home video files for streaming from my computer to TV's located around my home. The original source was Video8. My files are uncompressed lossless AVI captured at 720x480 using an ATI AIW 9600 in VirtualDub. I am starting to learn AVSynth and have decided I want to create deinterlaced files using QTGMC. I also want to concurrently mask overscan in AVSynth using the method described by @sanlyn:
http://www.digitalfaq.com/forum/vide...html#post39266 He recommends using the following: Crop(0,0,0,-8) AddBorders(0,4,0,4) My question is whether this operation (Crop, AddBorders) should take place before or after I deinterlace with QTGMC. |
Preferably de-interlace first, Cropping interlaced video can be done but make sure you crop in pairs of lines to avoid reversing the field order.
|
Better crop before, because the black areas do not contain visible scanlines even when interlaced, and they can alter the field matching operations inside QTGMC.
Alway crop according to http://avisynth.nl/index.php/Crop |
Be very carfull when suggesting croping before de-interlacing because if the crop is done in odd line number or black lines added is diffrenet than the ones removed it will lead to field order reversal, That's why if de-interlacing is planned it is better done before cropping. It's a lot easier to work on a single progressive frame than 2 diffrent half frames.
The OP those crop and add border numbers are not fixed numbers they vary from tape to another, After de-interlacing use vdub2 crop filter to exactly cutomize your frame based on tape being worked on. vdub2 has a very usefull frame display tool. |
Do not resize interlace. Lots of people think "crop" = "crop+resize". For example, if you have 720x480 video, and crop off 2 pixels off all sides, video is now 716x476. If your new video is still 720x480, you screwed up, resized interlaced footage, and you have an uncorectable mess. That wasn't just a crop.
There's near-zero reason to crop before deinterlace. And QTGMC, not some crappy method. (That's a given here, but just to reinforce this fact.) |
Quote:
Quote:
Code:
crop(crop_left,crop_top,-crop_right,-crop_bottom) Code:
AssumeXFF() |
Quote:
QGTMC() Crop (0,0,0,-8) AddBorders (0,4,04) I have no need to reinterlace as I am preparing this file for streaming. |
Quote:
Absolutely planning on using QTGMC. Learning how to use it now. |
Code:
I thought we just concluded that we crop after deinterlacing Quote:
Quote:
|
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.