Quantcast Increasing Brightness Using Avisynth? - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Avisynth Scripting

Reply
 
LinkBack Thread Tools
  #1  
02-22-2004, 06:16 PM
khusru khusru is offline
Free Member
 
Join Date: Jan 2004
Location: Southgate, North London
Posts: 263
Thanks: 0
Thanked 0 Times in 0 Posts
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
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-22-2004, 11:25 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
use "levels":

http://www.kvcd.net/forum/viewtopic....ghlight=levels
Reply With Quote
  #3  
02-23-2004, 04:31 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
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á
Reply With Quote
  #4  
02-23-2004, 04:59 AM
khusru khusru is offline
Free Member
 
Join Date: Jan 2004
Location: Southgate, North London
Posts: 263
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #5  
02-23-2004, 05:19 AM
khusru khusru is offline
Free Member
 
Join Date: Jan 2004
Location: Southgate, North London
Posts: 263
Thanks: 0
Thanked 0 Times in 0 Posts
and where on the script dows this line go
Reply With Quote
  #6  
02-23-2004, 06:59 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
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.
Reply With Quote
  #7  
02-23-2004, 07:22 AM
khusru khusru is offline
Free Member
 
Join Date: Jan 2004
Location: Southgate, North London
Posts: 263
Thanks: 0
Thanked 0 Times in 0 Posts
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
Reply With Quote
  #8  
02-23-2004, 07:44 AM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
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!


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!
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Increasing audio bitrate? Edlund Video Encoding and Conversion 2 09-03-2003 06:35 AM
Avisynth: Is there a filter for increasing compression even more? audioslave Avisynth Scripting 70 08-08-2003 08:39 AM
Avisynth: Filter for reducing brightness? Kane Avisynth Scripting 8 02-15-2003 12:30 PM
Avisynth: Increasing compression through preprocessing SansGrip Avisynth Scripting 67 01-29-2003 11:00 AM
Does increasing bitrate help to get rid of blocks in low-frequency scenes? mfb Video Encoding and Conversion 2 01-06-2003 11:48 AM




 
All times are GMT -5. The time now is 06:38 AM  —  vBulletin © Jelsoft Enterprises Ltd