Difference between revisions of "Documentation:Modules/crop"

From VideoLAN Wiki
Jump to navigation Jump to search
m (Revert to revision 59214: see https://wiki.videolan.org/index.php?title=Documentation:Modules/crop&diff=prev&oldid=59221)
m (Fix last)
Line 117: Line 117:
 
|description=Pixels to add to right
 
|description=Pixels to add to right
 
}}
 
}}
 
== Source code ==
 
* {{VLCSourceFile|modules/video_filter/croppadd.c}}
 
 
{{Documentation}}
 
  
 
[[Category:Video Filters]]
 
[[Category:Video Filters]]

Revision as of 03:29, 11 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 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

Video scaling filter

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