Template:Codec

From VideoLAN Wiki
Revision as of 06:16, 13 April 2019 by DoesItReallyMatter (talk | contribs) (New feature: parameter "encoder" links to modules if something other than "y" or "n" is passed e.g. encoder=x265 links to x265)
Jump to navigation Jump to search
??
This is a codec. The name to use at the command line is unknown.

A meta-template for codecs.

Usage:

{{codec |type= | id= | altid= | altid2= | encoder= | for= | mod= }}

You should supply type and id, the rest are optional.

  • type: the type of codec, currently audio or video
  • id: the module name for the codec. If other shortcuts to the same module exist, also list them with altid, or altid and altid2
  • for: a list of containers this codec is compatible with. Put the names in [[ ]] so they link properly
  • mod: module name from Documentation:Modules
  • encoder:
    • If equal to y, display a message, currently "VLC can encode using this codec."
    • If equal to n (default), do nothing
    • All other values attempt to link to a module of that name (even if it doesn't exist!). Useful for e.g. H.262, H.264 and H.265, which decode and encode through separate modules

See also