Difference between revisions of "Template:Mux"

From VideoLAN Wiki
Jump to navigation Jump to search
(Removed feature: parameter "for" was inaccurate from the start, other than e.g. matroska it could see no accurate use)
m (nn)
Line 2: Line 2:
 
|id={{{id|{{{1|??}}}}}}
 
|id={{{id|{{{1|??}}}}}}
 
|text=<!--
 
|text=<!--
Line 1: -->VLC can {{ #ifeq: {{{encoder}}} | y | '''encode''' and }} '''decode''' this [[container]]. {{{info|}}}<!--
+
Line 1: -->VLC can {{ #ifeq: {{{encoder|n}}} | y | '''encode''' and }} '''decode''' this [[container]]. {{{info|}}}<!--
Line 3: --><br />The [[Documentation:Modules|module]] name to use at the [[command line]] is '''<includeonly>[[Documentation:Modules/</includeonly>{{{id|{{{1|??}}}}}}<includeonly>|{{{id|{{{1|??}}}}}}]]</includeonly>'''{{#if:{{{altid|}}}|, but you can also use '''{{{altid}}}'''{{#if:{{{altid2|}}}|, or '''{{{altid2}}}'''}}}}.
+
Line 2: --><br />The [[Documentation:Modules|module]] name to use at the [[command line]] is '''<includeonly>[[Documentation:Modules/</includeonly>{{{id|{{{1|??}}}}}}<includeonly>|{{{id|{{{1|??}}}}}}]]</includeonly>'''{{#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|n}}} | y | [[Category:Container_Encoder]] }} [[Category:Container_Decoder]] </includeonly><noinclude>
  
 
==Usage==
 
==Usage==
Line 13: Line 13:
 
If there is more than one shortcut, use altid for the others.
 
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 <span title="wink">;-)</span> 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.
 
If encoder is "y" then it also adds it to  [[:Category:Container_Encoder]] and changes the text a bit.

Revision as of 08:15, 17 March 2019

??
VLC can decode this container.
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
VLC can encode and decode this container.
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
VLC can encode and decode this container. 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
VLC can encode and decode this container.
The module name to use at the command line is mp4, but you can also use mov, or 3gp.

See also