Difference between revisions of "Set file specific brightness or contrast"

From VideoLAN Wiki
Jump to navigation Jump to search
(Created page with "__NOTOC__ =Can I set file specific brightness or contrast?= Yes, but it isn't that easy. You have to create VLC shortcut or bat file with proper settings. More info can be found …")
 
Line 1: Line 1:
__NOTOC__
+
== Setting file specific brightness or contrast ==
=Can I set file specific brightness or contrast?=
+
 
Yes, but it isn't that easy. You have to create VLC shortcut or bat file with proper settings. More info can be found from this thread [http://forum.videolan.org/viewtopic.php?f=14&t=46202#p152964]
+
First open Command Prompt/cmd.exe. A quick way of doing this is to go to:<br>'''Start''' &gt;&gt; '''Run'''. Then enter "'''cmd'''" and press Enter/OK.<br>
 +
 
 +
<br>
 +
 
 +
'''Assuming you have VLC installed, to do it in one line, you can do something like:'''<br>
 +
<pre>    C:\Program Files\VideoLAN\VLC\vlc.exe [options] FILE
 +
 
 +
</pre>
 +
Where [options] are the commandline parameters and FILE is the location of the file you wish to play.
 +
 
 +
<br>
 +
 
 +
'''For a two-line method, which is potentially faster for doing multiple instances etc.:'''<br>
 +
<pre>cd C:\Program Files\VideoLAN\VLC
 +
vlc [options] FILE
 +
</pre>
 +
<br>
 +
 
 +
'''The commandline parameters for image properties are as follows:'''<br>
 +
<pre>Image properties filter
 +
      --contrast &lt;float&gt;        Image contrast (0-2)
 +
      --brightness &lt;float&gt;      Image brightness (0-2)
 +
      --hue &lt;integer&gt;            Image hue (0-360)
 +
      --saturation &lt;float&gt;      Image saturation (0-3)
 +
      --gamma &lt;float&gt;            Image gamma (0-10)
 +
      --brightness-threshold, --no-brightness-threshold
 +
                                Brightness threshold (default disabled)
 +
</pre>
 +
<br>
 +
 
 +
'''The image adjust filter needs to be enabled so use:'''<br>
 +
<pre> --vout-filter adjust
 +
</pre>
 +
To enable it.<br>
 +
 
 +
<br>
 +
 
 +
'''Here is an example:'''<br>
 +
<pre> vlc --vout-filter adjust --brightness 1.8 --contrast 1.5 FILE
 +
</pre>
 +
<br>
 +
 
 +
<br>
 +
 
 +
<br>
 +
 
 +
<br>
 +
 
 +
<br>
 +
 
 +
{{{VSG}}

Revision as of 14:35, 4 January 2012

Setting file specific brightness or contrast

First open Command Prompt/cmd.exe. A quick way of doing this is to go to:
Start >> Run. Then enter "cmd" and press Enter/OK.


Assuming you have VLC installed, to do it in one line, you can do something like:

    C:\Program Files\VideoLAN\VLC\vlc.exe [options] FILE

Where [options] are the commandline parameters and FILE is the location of the file you wish to play.


For a two-line method, which is potentially faster for doing multiple instances etc.:

cd C:\Program Files\VideoLAN\VLC
vlc [options] FILE


The commandline parameters for image properties are as follows:

Image properties filter
      --contrast <float>         Image contrast (0-2)
      --brightness <float>       Image brightness (0-2)
      --hue <integer>            Image hue (0-360)
      --saturation <float>       Image saturation (0-3)
      --gamma <float>            Image gamma (0-10)
      --brightness-threshold, --no-brightness-threshold
                                 Brightness threshold (default disabled)


The image adjust filter needs to be enabled so use:

 --vout-filter adjust

To enable it.


Here is an example:

 vlc --vout-filter adjust --brightness 1.8 --contrast 1.5 FILE






{

This page is part of the informal VLC Support Guide.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.