Quantcast KVCD Cropping Issue? - digitalFAQ.com Forums [Archives]
  #1  
02-25-2004, 08:10 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
Lately the last couple of days i have come accross a few scripts with this in them

Code:
crop(24,80,672,416,align=true)
Can i use this or do i have to replace with something like this
Code:
BicubicResize(512, 352, 1/3, 1/3, 11, 0, 698, 480)
Becuase when ever i use just the crop line i get

You cannot use crop to enlarge or a shift a clip

BTW I RTFM and still didn't understand
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
02-26-2004, 04:37 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Crop is fro cropping (i.e. cutting) the picture to get a smaller one.

The values are : Crop(x,y,width,height).
(X,Y) are the coordinates of the upper/left corner of the rectangle you want to cut. (width,height) are the dimensions of this rectangle.

Now, if you have a picture that is (100,100) pixels, you can't crop it with (20,20,90,90) because if you start yo cut at the point (20,20) you only have 80 pixels that left on the right, and the same under the cutting point. Do you understand ?

Imagine you are cutting a piece of paper with a blade. You will see that you can't enlarge the piece of paper

In other words, the value you used (28,80,672,416) aren't compatible with the actual size of your picture. To be valid, the source must be at least (28+672,80+416) pixels. That is a minimal resolution of the source of (700,496). DO you have this ? I don't think so.

Note that in the bicubic line, the 4 last parameters are in fact a cropping.
So "BicubicResize(512, 352, 1/3, 1/3, 11, 0, 698, 480)" is equivalent to "Crop(11, 0, 698, 480).BicubicResize(512, 352, 1/3, 1/3)".
Reply With Quote
  #3  
02-26-2004, 05:55 PM
bigggt bigggt is offline
Free Member
 
Join Date: Mar 2003
Location: IamCanadian
Posts: 848
Thanks: 0
Thanked 0 Times in 0 Posts
Thanx Phil ,believe it or not i do actually understand ,i thought i was getting the error forn using crop but it was actually just the numbers that i was using(i just copied and pasted)

BTW thanx for putting it into easy terms that i could understand
Reply With Quote
  #4  
02-26-2004, 06:07 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
You're welcome.
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
KVCD Cropping Guide? The Untouchable Video Encoding and Conversion 2 09-23-2005 06:15 PM
Is this a nero burning issue or an authoring issue? novagte Authoring VCD, DVD, Blu-ray 24 07-15-2004 07:04 AM
KVCD: Cropping in TMPGEnc method nicksteel Video Encoding and Conversion 11 01-06-2004 08:22 AM
KVCD: Script problems - something is cropping the image? andybno1 Video Encoding and Conversion 0 05-09-2003 02:59 PM
TMPGEnc: Cropping with KVCD templates PToN Video Encoding and Conversion 3 08-11-2002 07:48 PM

Thread Tools



 
All times are GMT -5. The time now is 08:50 PM  —  vBulletin Jelsoft Enterprises Ltd