digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Avisynth Scripting (http://www.digitalfaq.com/archives/avisynth/)
-   -   Increasing brightness using avisynth? (http://www.digitalfaq.com/archives/avisynth/8292-increasing-brightness-avisynth.html)

khusru 02-22-2004 06:16 PM

Increasing brightness using avisynth?
 
iv got a telecine xvid that im converting, the video is awful dark at times and i just wanted some help to adjust the brightness using avisynth

jorel 02-22-2004 11:25 PM

use "levels":

http://www.kvcd.net/forum/viewtopic....ghlight=levels

incredible 02-23-2004 04:31 AM

Open the Xvid using VirtualDub, choose in Virtualdub in the filters section "Levels" and move the bars to the needed values.
After this write these values down, exit virtualdub and reenter your avs where you add the Levels() Command including the values you got from your "Levels" in Virtualdub. Voilá ;-)

khusru 02-23-2004 04:59 AM

okay iv done the virrtual dub bit, incresead the contrast t 110% and brightness to 11, but what part of the script line do i add it to

Levels"(0,1.3,255,0,255)" i got the line from another post

khusru 02-23-2004 05:19 AM

and where on the script dows this line go

incredible 02-23-2004 06:59 AM

Could you be a bit patient instead of bumping up this thread?
It just took a minimal time until I came here again to respond!

Quote:

Originally Posted by khusru
okay iv done the virrtual dub bit, incresead the contrast t 110% and brightness to 11, but what part of the script line do i add it to

Levels"(0,1.3,255,0,255)" i got the line from another post

These are wrong settings! Cause you altered the Gamma value! And a Gamma of 1.3 is IMHO a compensation of Luma TV vs. PC Screen.
BUT as you won't watch this movie on a PC but on your TVset .. you don't touch the gamma if you are not very in it and knows how to use it corectly.. according to the gamma state of your source.

So in your case IMHO leave it as it is.

And if its REALLY needed, then put that line after your Sourceimport line.

khusru 02-23-2004 07:22 AM

u didnt understand what i meant

Levels"(0,1.3,255,0,255)" these numbers are just examples,

i want to increase brighness by 11% and contrast by 110% ( used virtual dub brigtness settings to get these),
but i was unsure where these numbers would go in the above line,
sorry for the hassle

jorel 02-23-2004 07:44 AM

did you see this pictures from the link that i posted before?
http://free.pages.at/gerti67/pictures/tweak-levels.jpg

levels encrease the gamma without encrease the bright in the borders.
bright and contrast will encrease the light in the dark area too!
:wink:

but nothing is better than test.
do a sample with levels and another with bright/contrast to choose !

oops...i forgot:
use levels before the "resize".
it will encrease the "light" and compression when resized!
:)

nothing wrong with this values:
Levels(0, 1.3, 255,0, 255)

this is the recomendation from the avisynth manual
"# gamma-correct image for display in a brighter environment"
see in the avisynth 2.5x folder!


All times are GMT -5. The time now is 12:48 PM  —  vBulletin © Jelsoft Enterprises Ltd

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