Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
26th December 2012, 13:33 | #4 | Link | |
Registered User
Join Date: Dec 2011
Posts: 354
|
Quote:
Code:
ConvertToRGB() Crop(2,3,-3,-2) LanczosResize(1280,720) ConvertToYV12() Last edited by bxyhxyh; 26th December 2012 at 13:39. |
|
26th December 2012, 17:10 | #5 | Link | |
Registered User
Join Date: Dec 2007
Location: Germany
Posts: 632
|
@ manono are you sure the crop rules, referring to crop(), apply to the internal cropping abilities of a resizer as well?
I maybe wrong, but I thought using the internal cropping these rules don't apply, i.e. chroma is fine. But the internal cropping has it's own quirk – it's not exactly suited to crop excess pixels like black bars. Quote:
Last edited by TheSkiller; 26th December 2012 at 17:13. |
|
26th December 2012, 21:38 | #7 | Link | |
Moderator
Join Date: Oct 2001
Location: Hawaii
Posts: 7,406
|
I was going by an old post of sh0dan's after 'knowing' you couldn't do it even within the resizer itself:
Quote:
I guess things have changed since then. Or I misunderstood the implications of cropping while resizing. I apologize for contradicting you, TheSkiller. |
|
27th December 2012, 23:21 | #9 | Link |
Avisynth Developer
Join Date: Jan 2003
Location: Melbourne, Australia
Posts: 3,167
|
A trick worth mentioning in regards to the hard cropping done by crop and the windowed cropping done by the resizers is to use the resizer to do the resampling and cropping but with mod N extra guard pixels that are subsequently hard cropped off. E.g :-
Code:
...Source(...) # YV12 Spline16Resize(710+8, 558+8, 5-4, 9-4, 715+4, 567+4) Crop(4, 4, -4, -4) For bonus points if the intent is to actually resize then the input cropping guard amounts needs to be scaled by the resize factor. Remember the resizer input cropping values are floats. |
Thread Tools | Search this Thread |
Display Modes | |
|
|