Difference between revisions of "Template:Codec audio"

From VideoLAN Wiki
Jump to navigation Jump to search
(move doc to subpage, add "works=no" option)
m (Modify sortkey on Category:Codecs)
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{top box
+
{{codec
|bgcol=#f0fcfc
+
|type=audio
|brcol=#a0c0c0
+
|id={{{id|}}}
|id={{{id|{{{1|??}}}}}}
+
|altid={{{altid|}}}
|text=This is an [[Codec#Audio_Codecs|audio codec]]. {{#ifeq:{{lc:{{{works|}}}}}|no|Sorry, this codec is currently [[unsupported|not supported]] by VLC.
+
|altid2={{{altid2|}}}
|The name to use at the [[command line]] is '''{{{id|{{{1|unknown}}}}}}'''{{#if:{{{altid|}}}|, but you can also use '''{{{altid}}}'''{{#if:{{{altid2|}}}|, or '''{{{altid2}}}'''}}}}.
+
|encoder={{{encoder|n}}}
}}
+
|for={{{for|}}}
{{#if:{{{for|}}}|<br/>This codec can be used inside the {{{for}}} containers. }}
+
|mod={{{mod|}}}
{{#if:{{{mod|}}}|<br/>This codec is from the [[Documentation:Modules/{{{mod}}}|{{{mod}}}]] module. }}
+
}}<noinclude>
}} <includeonly>[[Category:Audio codecs]] [[Category:codecs]]</includeonly><noinclude>
+
<!-------------------- Documentation goes below this line --------------------->
{{Codec aduio/doc}}
+
For audio codecs.
 +
 
 +
Usage:
 +
<nowiki>{{codec audio | id= | altid= | altid2= | encoder= | for= | mod= }}</nowiki>
 +
 
 +
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 <nowiki>[[ ]]</nowiki> so they link properly
 +
* 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:Audio codecs|*]]<!--Modify sortkey-->
 +
[[Category:Codecs|*]]<!--Modify sortkey-->
 +
[[Category:Templates]]
 +
<!----------------------------------------------------------------------------->
 
</noinclude>
 
</noinclude>

Latest revision as of 05:34, 8 April 2019

??
This is an audio codec. The name to use at the command line is unknown.

For audio codecs.

Usage:

{{codec audio | 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