Difference between revisions of "Template:Mux"

From VideoLAN Wiki
Jump to navigation Jump to search
Line 1: Line 1:
 
{| style="width: 80%; margin-bottom: 4px; margin-left: 10%; border: solid #aaa 1px; background-color: #f9f9f9;"
 
{| style="width: 80%; margin-bottom: 4px; margin-left: 10%; border: solid #aaa 1px; background-color: #f9f9f9;"
 
| valign="middle" align="center" | <div style="margin-left: 10px; margin-right: 10px; padding-top: 0px; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; font-weight: bold; border: solid #aaa 1px; background-color: #fff;">
 
| valign="middle" align="center" | <div style="margin-left: 10px; margin-right: 10px; padding-top: 0px; padding-bottom: 0px; padding-left: 5px; padding-right: 5px; font-weight: bold; border: solid #aaa 1px; background-color: #fff;">
{{{1|{{{id|??}}}}}}
+
{{{id|{{{1|??}}}}}}
 
</div>
 
</div>
 
| 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}}}'''}}.
 
|} <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= }}</nowiki>
+
  <nowiki>{{mux|id= |encoder= |info= |altid= }}</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
 
  --sout='#std{mux='''id''',url=....}'
 
  --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!
 
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!

Revision as of 23:20, 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= }}

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.