Difference between revisions of "Documentation:Modules/crop"

From VideoLAN Wiki
Jump to navigation Jump to search
m (→‎Options: Replace values with <var>INT_MAX</var>)
(→‎Options: Remove options pertaining to cropadd)
Line 56: Line 56:
 
|max=128
 
|max=128
 
|description=Luminance threshold
 
|description=Luminance threshold
}}</onlyinclude>
 
 
=== Video scaling filter ===
 
==== Crop ====
 
<onlyinclude>{{Option
 
|name=croppadd-croptop
 
|value=integer
 
|min=0
 
|max=<var>INT_MAX</var>
 
|description=Pixels to crop from top
 
}}
 
{{Option
 
|name=croppadd-cropbottom
 
|value=integer
 
|min=0
 
|max=<var>INT_MAX</var>
 
|description=Pixels to crop from bottom
 
}}
 
{{Option
 
|name=croppadd-cropleft
 
|value=integer
 
|min=0
 
|max=<var>INT_MAX</var>
 
|description=Pixels to crop from left
 
}}
 
{{Option
 
|name=croppadd-cropright
 
|value=integer
 
|min=0
 
|max=<var>INT_MAX</var>
 
|description=Pixels to crop from right
 
}}</onlyinclude>
 
==== Padd ====
 
<onlyinclude>{{Option
 
|name=croppadd-paddtop
 
|value=integer
 
|min=0
 
|max=<var>INT_MAX</var>
 
|description=Pixels to add to top
 
}}
 
{{Option
 
|name=croppadd-paddbottom
 
|value=integer
 
|min=0
 
|max=<var>INT_MAX</var>
 
|description=Pixels to add to bottom
 
}}
 
{{Option
 
|name=croppadd-paddleft
 
|value=integer
 
|min=0
 
|max=<var>INT_MAX</var>
 
|description=Pixels to add to left
 
}}
 
{{Option
 
|name=croppadd-paddright
 
|value=integer
 
|min=0
 
|max=<var>INT_MAX</var>
 
|description=Pixels to add to right
 
 
}}</onlyinclude>
 
}}</onlyinclude>
  
 
{{Documentation footer}}
 
{{Documentation footer}}

Revision as of 02:58, 7 April 2019

Module: Crop
Type Video filter
First VLC version -
Last VLC version -
Operating system(s) all
Description Remove borders of the video and replace them with black borders
Shortcut(s) -

Options

Crop video filter

  • crop-geometry <string> : Crop geometry (pixels)
  • autocrop <boolean> : Automatic cropping default value: disabled
  • autocrop-ratio-max <integer [0 .. 15000]> : Ratio max (× 1000)
  • crop-ratio <integer [0 .. 15000]> : Manual ratio
  • autocrop-time <integer> : Number of images for change
  • autocrop-diff <integer> : Number of lines for change
  • autocrop-non-black-pixels <integer> : Number of non black pixels
  • autocrop-skip-percent <integer [0 .. 100]> : Skip percentage (%)
  • autocrop-luminance-threshold <integer [0 .. 128]> : Luminance threshold
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.