Forums [Archives] Forums [Archives] (
-   Avisynth Scripting (
-   -   Avisynth: Legalclip in avs script? (

magio32 03-30-2004 10:36 PM

Avisynth: Legalclip in avs script?
Im a newb at avs scripts,but have been spending a little less than a week,and several hours a day to try and understand,have been getting burned out by all i have been reading,but wont give up.

My question is this,if anyone can please help me, What is the Legalclip command in the beginning and end of the optimal script?

Dialhot 03-31-2004 03:19 AM

A unneeded bullcrap ;-)

Officialy this command is to limit the luma into the range [16-250] because it is the defined range in the IEEE standard that all TV set based on cathodic bulb have to follow. In other words, a luma that is not clipped to 16-250 can lead to a distorted picture on your TV, and would even damage the set !

This is theory.

Now : all new TV set support full luma range since, let say, 5 years ? AND all the encoders that we use (tmpgenc, MCE, CCE) clip the luma to 16-250 themselves by default !
So there is absolutly no need to do that in the script and this is just lack of time.

jorel 03-31-2004 06:33 AM

....and from Sh0dan signature's link:

- Added "pc_range=true/false" parameter to overlay.
This will make all RGB<->YUV conversions inside Overlay
assume [0->255] YUV range, and not CCIR 601 [16->235] range.
Default is false.

kwag 03-31-2004 10:54 AM

I finally edited the optimal script page :roll:
Removed LegalClip and Limiter() from the scripts.


magio32 03-31-2004 12:10 PM

Thank you
Thanks very much for the response everyone,had been wondering about that statement. I believe im finally starting to understand Aviscripting,slow but sure :)

All times are GMT -5. The time now is 09:58 AM  —  vBulletin Jelsoft Enterprises Ltd

Site design, images and content © 2002-2021 The Digital FAQ,
Forum Software by vBulletin · Copyright © 2021 Jelsoft Enterprises Ltd.