Difference between revisions of "Template:Codec video"

From VideoLAN Wiki
Jump to navigation Jump to search
m (Modify sortkey on Category:Codecs)
 
(12 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{top box
+
{{codec
|id={{{id|{{{1|??}}}}}}
+
|type=video
|text=This is a [[Codec#Video_Codecs|video codec]]. The name to use at the [[command line]] is '''{{{id|{{{1|??}}}}}}'''{{#if:{{{altid|}}}|, but you can also use '''{{{altid}}}'''{{#if:{{{altid2|}}}|, or '''{{{altid2}}}'''}}}}.
+
|id={{{id|}}}
 
+
|altid={{{altid|}}}
{{#if:{{{for|}}}| This codec can be used inside the {{{for}}} containers. }}
+
|altid2={{{altid2|}}}
 
+
|encoder={{{encoder|n}}}
{{#if:{{{mod|}}}| This codec is from the [[Documentation:Modules/{{{mod}}}|{{{mod}}}]] module. }}
+
|for={{{for|}}}
|bgcol=#fcf0fc
+
|mod={{{mod|}}}
|brcol=#c0a0c0
+
}}<noinclude>
}} <includeonly>[[Category:Video codecs]] [[Category:codecs]]</includeonly><noinclude>
+
<!-------------------- Documentation goes below this line --------------------->
 
 
 
For video codecs.
 
For video codecs.
  
 
Usage:
 
Usage:
  <nowiki>{{codec video | id= | altid= | altid2= | for= | mod= }}</nowiki>
+
  <nowiki>{{codec video | id= | altid= | altid2= | encoder= | for= | mod= }}</nowiki>
  
 
You should supply id, the rest are optional.
 
You should supply id, the rest are optional.
* id: the module name for the codec. If there's other shortcuts to the same module, use altid and altid2.
+
* 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 <nowiki>[[ ]]</nowiki> so they link properly.
+
* for: a list of containers this codec is compatible with. Put the names in <nowiki>[[ ]]</nowiki> so they link properly
 
* mod: module name from [[Documentation:Modules]]
 
* mod: module name from [[Documentation:Modules]]
 +
* encoder: if equal to <kbd>y</kbd>, display a message, currently "VLC can '''encode''' using this codec."
 +
 +
== See also ==
 +
* {{tl|Codec audio}}
 +
* {{tl|Codec video}}
 +
* {{tl|Mux}}
 +
* {{tl|Protocol}}
  
 +
[[Category:Codecs|*]]<!--Modify sortkey-->
 +
[[Category:Templates]]
 +
[[Category:Video codecs|*]]<!--Modify sortkey-->
 +
<!----------------------------------------------------------------------------->
 
</noinclude>
 
</noinclude>

Latest revision as of 05:35, 8 April 2019

??
This is a video codec. The name to use at the command line is unknown.

For video codecs.

Usage:

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

You should supply id, the rest are optional.

  • 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."

See also