]> git.sesse.net Git - vlc/blob - share/http/dialogs/sout
Code the mosaic wizard
[vlc] / share / http / dialogs / sout
1 <vlc id="if" param1="0" />
2 vim:syntax=html
3 <!--  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
4 <  sout: VLC media player web interface - stream output dialog
5 < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >
6 <  Copyright (C) 2005-2006 the VideoLAN team
7 <  $Id$
8
9 <  Authors: Antoine Cellerier <dionoea -at- videolan -dot- org>
10
11 <  This program is free software; you can redistribute it and/or modify
12 <  it under the terms of the GNU General Public License as published by
13 <  the Free Software Foundation; either version 2 of the License, or
14 <  (at your option) any later version.
15
16 <  This program is distributed in the hope that it will be useful,
17 <  but WITHOUT ANY WARRANTY; without even the implied warranty of
18 <  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19 <  GNU General Public License for more details.
20
21 <  You should have received a copy of the GNU General Public License
22 <  along with this program; if not, write to the Free Software
23 <  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111, USA.
24 < - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
25
26 This dialog needs the following dialogs to be fully functional: <none>
27 Note that the sout chain is used and sent to VLC by the input dialog
28 <vlc id="end" />
29
30 <div id="sout" class="dialog" style="display: none">
31   <div class="title">
32     Stream Output
33     <img class="close" src="images/white_cross_small.png" alt="Close" onclick="hide('sout');"/>
34   </div>
35   <div class="controls">
36     <label for="sout_mrl">Destination (MRL)</label>
37     <vlc id="if" param1="page value 'vlm' strcmp 0 =" />
38       <input type="text" name="sout_mrl" id="sout_mrl" size="60" onkeypress="if( event.keyCode == 13 ) vlm_output_change();"/>
39       <br/>
40       <input type="submit" value="Ok" onclick="vlm_output_change();" />
41       <input type="hidden" id="sout_dest" />
42     <vlc id="else" />
43       <input type="text" name="sout_mrl" id="sout_mrl" size="60" onkeypress="if( event.keyCode == 13 ) save_sout();" />
44       <br/>
45       <input type="submit" value="Save" onclick="save_sout();" />
46     <vlc id="end" />
47     <input type="button" value="Cancel" onclick="reset_sout();"/>
48     <input type="hidden" id="sout_old_mrl" value="" /> <!-- FIXME -->
49     <input type="button" id="sout_helper_toggle" onclick="toggle_show_sout_helper()" value="Hide sout interface" />
50   </div>
51   <div id="sout_helper" class="helper">
52     Stream Output Helper
53     <hr/>
54     <div id="sout_method">
55       <table>
56         <tr>
57           <td>
58             <input type="checkbox" id="sout_display" onchange="update_sout()"/>
59             <label for="sout_display">Display</label>
60           </td>
61           <td></td>
62           <td></td>
63         </tr>
64         <tr>
65           <td>
66             <input type="checkbox" id="sout_file" onchange="update_sout()"/>
67             <label for="sout_file">File</label>
68           </td>
69           <td>
70             <label for="sout_file_filename">File name</label>
71             <input type="text" id="sout_file_filename" onchange="update_sout()"/>
72           </td>
73           <td></td>
74         </tr>
75         <tr>
76           <td>
77             <input type="checkbox" id="sout_http" onchange="update_sout()"/>
78             <label for="sout_http">HTTP</label>
79           </td>
80           <td>
81             <label for="sout_http_addr">Address</label>
82             <input type="text" id="sout_http_addr" onchange="update_sout()"/>
83           </td>
84           <td>
85             <label for="sout_http_port">Port</label>
86             <input type="text" id="sout_http_port" onchange="update_sout()"/>
87           </td>
88         </tr>
89         <tr>
90           <td>
91             <input type="checkbox" id="sout_mmsh" onchange="update_sout()"/>
92             <label for="sout_mmsh">MMSH</label>
93           </td>
94           <td>
95             <label for="sout_mmsh_addr">Address</label>
96             <input type="text" id="sout_mmsh_addr" onchange="update_sout()"/>
97           </td>
98           <td>
99             <label for="sout_mmsh_port">Port</label>
100             <input type="text" id="sout_mmsh_port" onchange="update_sout()"/>
101           </td>
102         </tr>
103         <tr>
104           <td>
105             <input type="checkbox" id="sout_rtp" onchange="update_sout()"/>
106             <label for="sout_rtp">RTP</label>
107           </td>
108           <td>
109             <label for="sout_rtp_addr">Address</label>
110             <input type="text" id="sout_rtp_addr" onchange="update_sout()"/>
111           </td>
112           <td>
113             <label for="sout_rtp_port">Port</label>
114             <input type="text" id="sout_rtp_port" onchange="update_sout()"/>
115           </td>
116         </tr>
117         <tr>
118           <td>
119             <input type="checkbox" id="sout_udp" onchange="update_sout()"/>
120             <label for="sout_udp">UDP</label>
121           </td>
122           <td>
123             <label for="sout_udp_addr">Address</label>
124             <input type="text" id="sout_udp_addr" onchange="update_sout()"/>
125           </td>
126           <td>
127             <label for="sout_udp_port">Port</label>
128             <input type="text" id="sout_udp_port" onchange="update_sout()"/>
129           </td>
130         </tr>
131       </table>
132     </div>
133     <hr/>
134     <div id="sout_muxh">
135       <input type="radio" name="sout_mux" id="sout_mux_default" value="" onchange="update_sout()" />
136       <label for="sout_mux_default">Default</label>
137       <input type="radio" name="sout_mux" id="sout_mux_ts" value="ts" onchange="update_sout()"/>
138       <label for="sout_mux_ts">MPEG TS</label>
139       <input type="radio" name="sout_mux" id="sout_mux_ps" value="ps" onchange="update_sout()"/>
140       <label for="sout_mux_ps">MPEG PS</label>
141       <input type="radio" name="sout_mux" id="sout_mux_mpeg1" value="mpeg1" onchange="update_sout()"/>
142       <label for="sout_mux_ts">MPEG 1</label>
143       <input type="radio" name="sout_mux" id="sout_mux_ogg" value="ogg" onchange="update_sout()"/>
144       <label for="sout_mux_ts">OGG</label>
145       <br/>
146       <input type="radio" name="sout_mux" id="sout_mux_asf" value="asf" onchange="update_sout()"/>
147       <label for="sout_mux_ts">ASF</label>
148       <input type="radio" name="sout_mux" id="sout_mux_mp4" value="mp4" onchange="update_sout()"/>
149       <label for="sout_mux_ts">MP4</label>
150       <input type="radio" name="sout_mux" id="sout_mux_mov" value="mov" onchange="update_sout()"/>
151       <label for="sout_mux_ts">MOV</label>
152       <input type="radio" name="sout_mux" id="sout_mux_wav" value="wav" onchange="update_sout()"/>
153       <label for="sout_mux_ts">WAV</label>
154       <input type="radio" name="sout_mux" id="sout_mux_raw" value="raw" onchange="update_sout()"/>
155       <label for="sout_mux_ts">Raw</label>
156     </div>
157     <hr/>
158     <div id="sout_transcode">
159       <table>
160         <tr>
161           <td>
162             <input type="checkbox" id="sout_vcodec_s" onchange="update_sout()"/>
163             <label for="sout_vcodec_s">Video Codec</label>
164           </td>
165           <td>
166             <select id="sout_vcodec" onchange="update_sout()">
167               <option value="mp1v">mp1v</option>
168               <option value="mp2v">mp2v</option>
169               <option value="mp4v">mp4v</option>
170               <option value="DIV1">DIV1</option>
171               <option value="DIV2">DIV2</option>
172               <option value="DIV3">DIV3</option>
173               <option value="H263">H263</option>
174               <option value="H264">H264</option>
175               <option value="WMV1">WMV1</option>
176               <option value="WMV2">WMV2</option>
177               <option value="MJPG">MJPG</option>
178               <option value="theo">theo</option>
179             </select>
180           </td>
181           <td>
182             <label for="sout_vb">Bitrate (kb/s)</label>
183             <select id="sout_vb" onchange="update_sout()">
184               <option value="4096">4096</option>
185               <option value="3072">3072</option>
186               <option value="2048">2048</option>
187               <option value="1024">1024</option>
188               <option value="768">768</option>
189               <option value="512">512</option>
190               <option value="384">384</option>
191               <option value="256">256</option>
192               <option value="192">192</option>
193               <option value="128">128</option>
194               <option value="96">96</option>
195               <option value="64">64</option>
196               <option value="32">32</option>
197               <option value="16">16</option>
198             </select>
199           </td>
200           <td>
201             <label for="sout_scale">Scale</label>
202             <select id="sout_scale" onchange="update_sout()">
203               <option value="0.25">0.25</option>
204               <option value="0.5">0.5</option>
205               <option value="0.75">0.75</option>
206               <option value="1" selected="selected">1</option>
207               <option value="1.25">1.25</option>
208               <option value="1.5">1.5</option>
209               <option value="1.75">1.75</option>
210               <option value="2">2</option>
211             </select>
212           </td>
213         </tr>
214         <tr>
215           <td>
216             <input type="checkbox" id="sout_acodec_s" onchange="update_sout()"/>
217             <label for="sout_acodec_s">Audio Codec</label>
218           </td>
219           <td>
220             <select id="sout_acodec" onchange="update_sout()">
221               <option value="mpga">mpga</option>
222               <option value="mp2a">mp2a</option>
223               <option value="mp3">mp3</option>
224               <option value="mp4a">mp4a</option>
225               <option value="a42">a52</option>
226               <option value="vorb">vorb</option>
227               <option value="flac">flac</option>
228               <option value="spx">spx</option>
229               <option value="s16l">s16l</option>
230               <option value="fl32">fl32</option>
231             </select>
232           </td>
233           <td>
234             <label for="sout_ab">Bitrate (kb/s)</label>
235             <select id="sout_ab" onchange="update_sout()">
236               <option value="512">512</option>
237               <option value="384">384</option>
238               <option value="256">256</option>
239               <option value="192">192</option>
240               <option value="128">128</option>
241               <option value="96">96</option>
242               <option value="64">64</option>
243               <option value="32">32</option>
244               <option value="16">16</option>
245             </select>
246           </td>
247           <td>
248             <label for="sout_channels">Channels</label>
249             <select id="sout_channels" onchange="update_sout()">
250               <option value="">default</option>
251               <option value="1">1</option>
252               <option value="2">2</option>
253               <option value="4">4</option>
254               <option value="6">6</option>
255             </select>
256           </td>
257         </tr>
258         <tr>
259           <td>
260             <input type="checkbox" id="sout_sub" onchange="update_sout()"/>
261             <label for="sout_sub">Subtitles Codec</label>
262           </td>
263           <td>
264             <select id="sout_scodec" onchange="update_sout()">
265               <option value="dvbs">dvbs</option>
266             </select>
267           </td>
268           <td colspan="2">
269             <input type="checkbox" id="sout_soverlay" onchange="update_sout()"/>
270             <label for="sout_soverlay">Subtitles overlay</label>
271           </td>
272         </tr>
273       </table>
274     </div>
275     <hr/>
276     <div id="sout_misc">
277       <input type="checkbox" id="sout_sap" onchange="update_sout()"/>
278       <label for="sout_sap">SAP announce</label>
279       <br/>
280       <label for="sout_sap_group">Group name</label>
281       <input type="text" id="sout_sap_group" onchange="update_sout()"/>
282       <label for="sout_sap_name">Channel name</label>
283       <input type="text" id="sout_sap_name" onchange="update_sout()"/>
284       <hr/>
285       <input type="checkbox" id="sout_all" onchange="update_sout()"/>
286       <label for="sout_all">Select all elementary streams</label>
287       <hr/>
288       <label for="sout_ttl">Time-To-Live (TTL)</label>
289       <input type="text" id="sout_ttl" onchange="update_sout()"/>
290     </div>
291     <input type="hiden" id="sout_extra" value="" />
292   </div>
293 </div>