From VideoLAN Wiki
Jump to navigation Jump to search
Help VideoLAN by adding an image to this page!
Create an account and then upload.
Module: gradient
Type Video filter
First VLC version 0.9.0
Last VLC version -
Operating system(s) all
Description apply gradients and edge detection filters
Shortcut(s) -

Use this filter to apply gradients or do simple edge detection algorithms to the video image.


  • gradient-mode <string> : One of "gradient", "edge" or "hough". default value: gradient
  • gradient-type <integer> : 0 to discard colors, 1 to keep colors. default value: 0
  • gradient-cartoon : Apply a cartoon effect. default value: enabled


% vlc --video-filter "gradient{type=1}" somevideo.avi


vlcsnap-8120371.png vlcsnap-10589245.png

Note: In versions prior to 0.9.0, this was part of the distort video filter.

This page is part of official VLC media player Documentation (User GuideStreaming HowToHacker GuideModules)
Please read the Documentation Editing Guidelines before you edit the documentation
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.