Difference between revisions of "Documentation:Modules/erase"
Jump to navigation
Jump to search
m (-Category:Video Filters, +{{$}}) |
m (Format, wikilink, default option, new section →Source code) |
||
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 29: | Line 26: | ||
== 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}} |
Latest revision as of 07:04, 4 April 2019
See also: Documentation:Modules/logo
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
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.