Documentation:Modules/svg

From VideoLAN Wiki
Jump to navigation Jump to search

Decoding and encoding (text rendering) are handled by separate modules. Both modules have the same shortcut, svg, though modules/MODULES_LIST calls them svgdec and svg.

Decoder

Module: svg
Type Input
First VLC version 2.2.0
Last VLC version -
Operating system(s) all
Description SVG video decoder making use of librsvg2
Shortcut(s) -

Options

  • svg-width <integer [1 .. 65535]> : Specify the width to decode the image to default value: -1
  • svg-height <integer [1 .. 65535]> : Specify the height to decode the image to default value: -1
  • svg-scale <float> : Scale factor to apply to image default value: -1.0

Encoder

Module: svg
Type Input
First VLC version 0.8.0
Last VLC version -
Operating system(s) Linux
Description Put SVG on the video
Shortcut(s) -

Options

  • svg-template-file <string> : Location of a file holding a SVG template for automatic string conversion default value: ""

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.