Difference between revisions of "Documentation:Modules/crop"

From VideoLAN Wiki
Jump to navigation Jump to search
(+{{Documentation}}, new section →‎Source code)
(I can find exactly 8 options (croppadd top/bottom/left/right, padd top/bottom/left/right) for this module in the source code. Removing the rest: they must not belong within this module)
Line 2: Line 2:
  
 
== Options ==
 
== Options ==
=== Crop video filter ===
+
=== Crop ===
{{Option
 
|name=crop-geometry
 
|value=string
 
|description=Crop geometry (pixels)
 
}}
 
{{Option
 
|name=autocrop
 
|value=boolean
 
|description=Automatic cropping
 
|default=disabled
 
}}
 
{{Option
 
|name=autocrop-ratio-max
 
|value=integer
 
|min=0
 
|max=15000
 
|description=Ratio max (× 1000)
 
}}
 
{{Option
 
|name=crop-ratio
 
|value=integer
 
|min=0
 
|max=15000
 
|description=Manual ratio
 
}}
 
{{Option
 
|name=autocrop-time
 
|value=integer
 
|description=Number of images for change
 
}}
 
{{Option
 
|name=autocrop-diff
 
|value=integer
 
|description=Number of lines for change
 
}}
 
{{Option
 
|name=autocrop-non-black-pixels
 
|value=integer
 
|description=Number of non black pixels
 
}}
 
{{Option
 
|name=autocrop-skip-percent
 
|value=integer
 
|min=0
 
|max=100
 
|description=Skip percentage (%)
 
}}
 
{{Option
 
|name=autocrop-luminance-threshold
 
|value=integer
 
|min=0
 
|max=128
 
|description=Luminance threshold
 
}}
 
 
 
=== Video scaling filter ===
 
==== Crop ====
 
 
{{Option
 
{{Option
 
|name=croppadd-croptop
 
|name=croppadd-croptop
Line 88: Line 31:
 
|description=Pixels to crop from right
 
|description=Pixels to crop from right
 
}}
 
}}
==== Padd ====
+
 
 +
=== Padd ===
 
{{Option
 
{{Option
 
|name=croppadd-paddtop
 
|name=croppadd-paddtop

Revision as of 05:30, 10 March 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

  • croppadd-croptop <integer [0 .. 2147483647]> : Pixels to crop from top
  • croppadd-cropbottom <integer [0 .. 2147483647]> : Pixels to crop from bottom
  • croppadd-cropleft <integer [0 .. 2147483647]> : Pixels to crop from left
  • croppadd-cropright <integer [0 .. 2147483647]> : Pixels to crop from right

Padd

  • croppadd-paddtop <integer [0 .. 2147483647]> : Pixels to add to top
  • croppadd-paddbottom <integer [0 .. 2147483647]> : Pixels to add to bottom
  • croppadd-paddleft <integer [0 .. 2147483647]> : Pixels to add to left
  • croppadd-paddright <integer [0 .. 2147483647]> : Pixels to add to right

Source code

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.