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.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 3rd March 2012, 17:20   #21  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,431
It's not a question of 'educating' Crop.
As others have tried to explain, chroma is subsampled in YV12.
This means that in a 720x576 clip, there are only 360x288 chroma pixels.
You cannot crop at odd numbers, as there is no chroma pixel at those points.
__________________
GScript and GRunT - complex Avisynth scripting made easier
Gavino is offline   Reply With Quote
Old 3rd March 2012, 18:39   #22  |  Link
$in0bi
Registered User
 
Join Date: Oct 2011
Posts: 11
So how and why Resize can do it or you want to say that Resizecrop can't do it? If the second I showed the example in my previous post.
$in0bi is offline   Reply With Quote
Old 3rd March 2012, 19:17   #23  |  Link
Didée
Registered User
 
Join Date: Apr 2002
Location: Germany
Posts: 5,391
Crop simply does a hard cut-off. (And therefore is limited by subsampled chroma pixel structure.)
No kind of interpolation is happening here.

Resize-crop does interpolation, taking the "outer" pixels into consideration.


The operations are very well laid out in what they are doing. If any sort of "education" is needed, then it's not for the filters, but for the user.
__________________
- We´re at the beginning of the end of mankind´s childhood -

My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!)
Didée is offline   Reply With Quote
Old 3rd March 2012, 19:18   #24  |  Link
Gavino
Avisynth language lover
 
Join Date: Dec 2007
Location: Spain
Posts: 3,431
Resize can do it because it does resampling - that's what resizers do.
Crop simply removes some of the existing pixels and leaves the remainder untouched.
__________________
GScript and GRunT - complex Avisynth scripting made easier
Gavino is offline   Reply With Quote
Old 3rd March 2012, 23:11   #25  |  Link
gyth
Registered User
 
Join Date: Sep 2011
Posts: 86
You can crop by odd amounts in yv24, which is available in avisynth 2.6a3
gyth is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 23:34.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.