Documentation:Modules/erase: Difference between revisions

From VideoLAN Wiki
Jump to navigation Jump to search
m {{See also|Documentation:Modules/logo}} to add a logo
m Format, wikilink, default option, new section →Source code
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{See also|Documentation:Modules/logo}}
{{See also|Documentation:Modules/logo}}
{{Module|name=erase|type=Video filter|first_version=0.9.0|description=logo erasing video filter}}
{{Module|name=erase|type=Video filter|first_version=0.9.0|description=logo erasing video filter}}


Line 9: Line 8:
|name=erase-mask
|name=erase-mask
|value=string
|value=string
|default=
|default=NULL
|description=PNG file to use as a mask. The alpha channel only will be used to build the mask.
|description=[[PNG]] file to use as a mask. The alpha channel only will be used to build the mask
}}
}}
{{Option
{{Option
|name=erase-x
|name=erase-x
|value=integer
|value=integer
|default=0
|default=0
|description=X offset from upper left corner.
|description=X offset from upper left corner
}}
}}
{{Option
{{Option
|name=erase-y
|name=erase-y
Line 28: Line 25:


== Example ==
== Example ==
  % '''vlc --video-filter "erase{mask=logo.png,x=100,y=50}" somevideo.avi'''
  {{$}} '''vlc --video-filter "erase{mask=logo.png,x=100,y=50}" somevideo.avi'''
 
== Source code ==
* {{VLCSourceFile|modules/video_filter/erase.c}}


{{Documentation footer}}
{{Documentation footer}}
[[Category:Video Filters]]

Latest revision as of 07:04, 4 April 2019

Module: erase
Type Video filter
First VLC version 0.9.0
Last VLC version -
Operating system(s) all
Description logo erasing video filter
Shortcut(s) -

Use this filter to erase a logo (or any given area) from the video.

Options

  • erase-mask <string> : PNG file to use as a mask. The alpha channel only will be used to build the mask default value: NULL
  • erase-x <integer> : X offset from upper left corner default value: 0
  • erase-y <integer> : Y offset from upper left corner. default value: 0

Example

$ vlc --video-filter "erase{mask=logo.png,x=100,y=50}" somevideo.avi

Source code

This page is part of official VLC media player Documentation (User Guide • Streaming HowTo • Hacker Guide • Modules)
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.