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 …")
 
(Sortkey: Contrast)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
__NOTOC__
+
{{howto|set specific brightness or contrast for a file}}
=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 [[command line]] 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> --video-filter adjust
 +
</pre>
 +
To enable it.<br>
 +
 
 +
<br>
 +
 
 +
'''Here is an example:'''<br>
 +
<pre> vlc --video-filter adjust --brightness 1.8 --contrast 1.5 FILE
 +
</pre>
 +
<br>
 +
 
 +
<br>
 +
 
 +
<br>
 +
 
 +
{{VSG}}
 +
 
 +
{{DEFAULTSORT:Contrast}}

Latest revision as of 05:08, 30 October 2016

This page describes how to set specific brightness or contrast for a file. Other "how to" pages

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 command line 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:

 --video-filter adjust

To enable it.


Here is an example:

 vlc --video-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.