Difference between revisions of "Documentation:Modules/mosaic-bridge"

From VideoLAN Wiki
Jump to navigation Jump to search
m (__TOC__)
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Module|name=mosaic-bridge|type=Stream output|first_version=0.8.2|description=send a picture to the mosaic framework}}
+
{{Mosaic framework}}
 +
{{Module|name=mosaic-bridge|type=Stream output|first_version=0.8.2|description=Send a picture to the mosaic framework|sc=mosaic-bridge}}
  
Use this filter to send a picture to the mosaic framework. Processing can be applied before sending the picture, such as resizing, chroma conversion and video filters.
+
Use this filter to send a picture to the mosaic framework. Processing can be applied before sending the picture, such as resizing, [[chroma]] conversion and video filters.
 +
__TOC__
 +
{{Clear}}
  
 
== Options ==
 
== Options ==
Line 8: Line 11:
 
|value=string
 
|value=string
 
|default="Id"
 
|default="Id"
|description=The picture's Id. Used by clients of the mosaic framework to identify the picture's source.
+
|description=Specify an identifier string for this subpicture. Used by clients of the mosaic framework to identify the picture's source.
 
}}
 
}}
 
 
{{Option
 
{{Option
 
|name=sout-mosaic-bridge-width
 
|name=sout-mosaic-bridge-width
 
|value=integer
 
|value=integer
 
|default=0
 
|default=0
|description=Resize video to this width if value is non null. Make sure to use the '''mosaic-keep-picture''' option to prevent the mosaic filter from resizing a second time.
+
|description=Resize video to this width if value is non-zero. Make sure to use the '''mosaic-keep-picture''' option to prevent the mosaic filter from resizing a second time.
 
}}
 
}}
 
 
{{Option
 
{{Option
 
|name=sout-mosaic-bridge-height
 
|name=sout-mosaic-bridge-height
 
|value=integer
 
|value=integer
 
|default=0
 
|default=0
|description=Resize video to this height if value is non null. Make sure to use the '''mosaic-keep-picture''' option to prevent the mosaic filter from resizing a second time.
+
|description=Resize video to this height if value is non-zero. Make sure to use the '''mosaic-keep-picture''' option to prevent the mosaic filter from resizing a second time.
 
}}
 
}}
 
 
{{Option
 
{{Option
 
|name=sout-mosaic-bridge-sar
 
|name=sout-mosaic-bridge-sar
 
|value=string
 
|value=string
 
|default="1:1"
 
|default="1:1"
|description=Sample aspect ratio of the destination.
+
|description=Sample [[aspect ratio]] of the destination.
 
}}
 
}}
 
 
{{Option
 
{{Option
 
|name=sout-mosaic-bridge-chroma
 
|name=sout-mosaic-bridge-chroma
 
|value=string
 
|value=string
|default=""
+
|default="[[I420]]"
|description=Convert to the specified chroma. I420 will be used if nothing is specified.
+
|description=Force the use of a specific [[chroma]]. Use [[YUVA]] if you're planning to use the {{docmod|alphamask}} or {{docmod|bluescreen}} video filter.
 
}}
 
}}
 
 
{{Option
 
{{Option
 
|name=sout-mosaic-bridge-vfilter
 
|name=sout-mosaic-bridge-vfilter
Line 44: Line 42:
 
|default=""
 
|default=""
 
|description=Video filter chain to apply after resizing and chroma conversion.
 
|description=Video filter chain to apply after resizing and chroma conversion.
 +
}}
 +
{{Option
 +
|name=sout-mosaic-bridge-alpha
 +
|value=integer
 +
|default=255
 +
|min=0
 +
|max=255
 +
|description=Transparency of the mosaic picture.
 +
}}
 +
{{Option
 +
|name=sout-mosaic-bridge-x
 +
|value=integer
 +
|default=-1
 +
|description=X coordinate of the upper left corner in the mosaic if non-negative.
 +
}}
 +
{{Option
 +
|name=sout-mosaic-bridge-y
 +
|value=integer
 +
|default=-1
 +
|description=Y coordinate of the upper left corner in the mosaic if non-negative.
 
}}
 
}}
  
== See also ==
+
== Source code ==
* [[Documentation:Modules/mosaic]]
+
* {{VLCSourceFile|modules/stream_out/mosaic-bridge.c}}
* [[Mosaic|The original Mosaic How-To]]
 
  
 
{{Documentation footer}}
 
{{Documentation footer}}

Latest revision as of 08:16, 31 May 2019

Mosaic framework (How-To)
Modules: mosaic (mosaic-bridgebridge-inbridge-out) • alphamaskbluescreen
Module: mosaic-bridge
Type Stream output
First VLC version 0.8.2
Last VLC version -
Operating system(s) all
Description Send a picture to the mosaic framework
Shortcut(s) mosaic-bridge

Use this filter to send a picture to the mosaic framework. Processing can be applied before sending the picture, such as resizing, chroma conversion and video filters.

Options

  • sout-mosaic-bridge-id <string> : Specify an identifier string for this subpicture. Used by clients of the mosaic framework to identify the picture's source. default value: "Id"
  • sout-mosaic-bridge-width <integer> : Resize video to this width if value is non-zero. Make sure to use the mosaic-keep-picture option to prevent the mosaic filter from resizing a second time. default value: 0
  • sout-mosaic-bridge-height <integer> : Resize video to this height if value is non-zero. Make sure to use the mosaic-keep-picture option to prevent the mosaic filter from resizing a second time. default value: 0
  • sout-mosaic-bridge-sar <string> : Sample aspect ratio of the destination. default value: "1:1"
  • sout-mosaic-bridge-chroma <string> : Force the use of a specific chroma. Use YUVA if you're planning to use the alphamask or bluescreen video filter. default value: "I420"
  • sout-mosaic-bridge-vfilter <string> : Video filter chain to apply after resizing and chroma conversion. default value: ""
  • sout-mosaic-bridge-alpha <integer [0 .. 255]> : Transparency of the mosaic picture. default value: 255
  • sout-mosaic-bridge-x <integer> : X coordinate of the upper left corner in the mosaic if non-negative. default value: -1
  • sout-mosaic-bridge-y <integer> : Y coordinate of the upper left corner in the mosaic if non-negative. default value: -1

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.