Set file specific brightness or contrast

From VideoLAN Wiki
Revision as of 14:36, 4 January 2012 by Robin (talk | contribs)
Jump to navigation Jump to search

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.