Difference between revisions of "Template:Mux"
Line 5: | Line 5: | ||
| valign="middle" align="left" | This [[container]] can be used to {{ #ifeq: {{{encoder}}} | y | encode and }} decode video. {{{info|}}} | | valign="middle" align="left" | This [[container]] can be used to {{ #ifeq: {{{encoder}}} | y | encode and }} decode video. {{{info|}}} | ||
− | The module name to use at the [[command line]] is '''{{{id|{{{1|??}}}}}}'''{{#if:{{{altid|}}}|, but you can also use '''{{{altid}}}'''}}. | + | The module name to use at the [[command line]] is '''{{{id|{{{1|??}}}}}}'''{{#if:{{{altid|}}}|, but you can also use '''{{{altid}}}'''{{#if:{{{altid2|}}}|, or '''{{{altid2}}}'''}}}}. |
|} <includeonly> [[Category:Container]] {{ #ifeq: {{{encoder}}} | y | [[Category:Container_Encoder]] }} [[Category:Container_Decoder]] </includeonly><noinclude> | |} <includeonly> [[Category:Container]] {{ #ifeq: {{{encoder}}} | y | [[Category:Container_Encoder]] }} [[Category:Container_Decoder]] </includeonly><noinclude> | ||
==Usage== | ==Usage== | ||
− | <nowiki>{{mux|id= |encoder= |info= |altid= }}</nowiki> | + | <nowiki>{{mux|id= |encoder= |info= |altid= |altid2= }}</nowiki> |
id is supposed to be what you'd put in the command line, like | id is supposed to be what you'd put in the command line, like | ||
Line 33: | Line 33: | ||
{{mux|id=asf|encoder=y|info=This works with mp2v, blah blah}} | {{mux|id=asf|encoder=y|info=This works with mp2v, blah blah}} | ||
+ | Example, [[mp4]] | ||
+ | <nowiki>{{mux|id=mp4|encoder=y|altid=mov|altid2=3gp}}</nowiki> | ||
+ | becomes | ||
+ | {{mux|id=mp4|encoder=y|altid=mov|altid2=3gp}} | ||
</noinclude> | </noinclude> |
Revision as of 23:45, 16 December 2006
?? |
This container can be used to decode video.
The module name to use at the command line is ??. |
Usage
{{mux|id= |encoder= |info= |altid= |altid2= }}
id is supposed to be what you'd put in the command line, like
--sout='#std{mux=id,url=....}'
If there is more than one shortcut, use altid for the others.
It will add it to Category:Container (all containers) and Category:Container_Decoder (containers which can be decoded... which is all containers ;-) If you think that's stupid, change it!
If encoder is "y" then it also adds it to Category:Container_Encoder and changes the text a bit.
Info is for extra text in the box.
Examples
Example, avi
{{mux|id=avi|encoder=y}}
becomes
avi |
This container can be used to encode and decode video.
The module name to use at the command line is avi. |
Example, asf
{{mux|id=asf|encoder=y|info=This works with mp2v, blah blah}}
becomes
asf |
This container can be used to encode and decode video. This works with mp2v, blah blah
The module name to use at the command line is asf. |
Example, mp4
{{mux|id=mp4|encoder=y|altid=mov|altid2=3gp}}
becomes
mp4 |
This container can be used to encode and decode video.
The module name to use at the command line is mp4, but you can also use mov, or 3gp. |