Difference between revisions of "Template:Codec audio"
Jump to navigation
Jump to search
m (→See also: +Template:Mux) |
(New feature: parameter "encoder". If equal to "y", a message will be displayed like Template:Mux. Documentation has been updated) |
||
Line 2: | Line 2: | ||
|id={{{id|{{{1|??}}}}}} | |id={{{id|{{{1|??}}}}}} | ||
|text=This is an [[Codec#Audio|audio codec]]. The name to use at the [[command line]] is '''{{{id|{{{1|unknown}}}}}}'''{{#if:{{{altid|}}}|, but you can also use '''{{{altid}}}'''{{#if:{{{altid2|}}}|, or '''{{{altid2}}}'''}}}}. | |text=This is an [[Codec#Audio|audio codec]]. The name to use at the [[command line]] is '''{{{id|{{{1|unknown}}}}}}'''{{#if:{{{altid|}}}|, but you can also use '''{{{altid}}}'''{{#if:{{{altid2|}}}|, or '''{{{altid2}}}'''}}}}. | ||
− | + | {{#ifeq:{{{encoder|n}}}|y|VLC can '''encode''' using this codec. }} | |
{{#if:{{{for|}}}| This codec can be used inside the {{{for}}} containers. }} | {{#if:{{{for|}}}| This codec can be used inside the {{{for}}} containers. }} | ||
Line 13: | Line 13: | ||
Usage: | Usage: | ||
− | <nowiki>{{codec audio | id= | altid= | altid2= | for= | mod= }}</nowiki> | + | <nowiki>{{codec audio | id= | altid= | altid2= |encoder= | for= | mod= }}</nowiki> |
You should supply id, the rest are optional. | You should supply id, the rest are optional. | ||
Line 19: | Line 19: | ||
* 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 == | == See also == |
Revision as of 18:48, 24 February 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
- {{Codec audio}}
- {{Codec video}}
- {{Mux}}