📄 sout
字号:
<vlc id="if" param1="0" />vim:syntax=html<!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >< sout: VLC media player web interface - stream output dialog< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - >< Copyright (C) 2005-2006 the VideoLAN team< $Id$< < Authors: Antoine Cellerier <dionoea -at- videolan -dot- org>< < This program is free software; you can redistribute it and/or modify< it under the terms of the GNU General Public License as published by< the Free Software Foundation; either version 2 of the License, or< (at your option) any later version.< < This program is distributed in the hope that it will be useful,< but WITHOUT ANY WARRANTY; without even the implied warranty of< MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the< GNU General Public License for more details.< < You should have received a copy of the GNU General Public License< along with this program; if not, write to the Free Software< Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.< - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->This dialog needs the following dialogs to be fully functional: <none>Note that the sout chain is used and sent to VLC by the input dialog<vlc id="end" /><div id="sout" class="dialog" style="display: none"> <div class="title"> Stream Output <img class="close" src="images/white_cross_small.png" alt="Close" onclick="hide('sout');"/> </div> <div class="controls"> <label for="sout_mrl">Destination (MRL)</label> <vlc id="if" param1="page value 'vlm' strcmp 0 =" /> <input type="text" name="sout_mrl" id="sout_mrl" size="60" onkeypress="if( event.keyCode == 13 ) vlm_output_change();"/> <br/> <input type="button" value="Ok" onclick="vlm_output_change();" /> <input type="button" value="Cancel" onclick="hide('sout');" /> <input type="hidden" id="sout_dest" /> <vlc id="else" /> <input type="text" name="sout_mrl" id="sout_mrl" size="60" onkeypress="if( event.keyCode == 13 ) save_sout();" /> <br/> <input type="button" value="Save" onclick="save_sout();" /> <vlc id="end" /> <input type="button" value="Reset" onclick="reset_sout();"/> <input type="hidden" id="sout_old_mrl" value="" /> <!-- FIXME --> <input type="button" id="sout_helper_toggle" onclick="toggle_show_sout_helper()" value="Hide sout interface" /> </div> <div id="sout_helper" class="helper"> Stream Output Helper <hr/> <div id="sout_method"> <table> <tr> <td> <input type="checkbox" id="sout_display" onchange="update_sout()"/> <label for="sout_display">Display</label> </td> <td></td> <td></td> </tr> <tr> <td> <input type="checkbox" id="sout_file" onchange="update_sout()"/> <label for="sout_file">File</label> </td> <td> <label for="sout_file_filename">File name</label> <input type="text" id="sout_file_filename" onchange="update_sout()"/> </td> <td></td> </tr> <tr> <td> <input type="checkbox" id="sout_http" onchange="update_sout()"/> <label for="sout_http">HTTP</label> </td> <td> <label for="sout_http_addr">Address</label> <input type="text" id="sout_http_addr" onchange="update_sout()"/> </td> <td> <label for="sout_http_port">Port</label> <input type="text" id="sout_http_port" onchange="update_sout()"/> </td> </tr> <tr> <td> <input type="checkbox" id="sout_mmsh" onchange="update_sout()"/> <label for="sout_mmsh">MMSH</label> </td> <td> <label for="sout_mmsh_addr">Address</label> <input type="text" id="sout_mmsh_addr" onchange="update_sout()"/> </td> <td> <label for="sout_mmsh_port">Port</label> <input type="text" id="sout_mmsh_port" onchange="update_sout()"/> </td> </tr> <tr> <td> <input type="checkbox" id="sout_rtp" onchange="update_sout()"/> <label for="sout_rtp">RTP</label> </td> <td> <label for="sout_rtp_addr">Address</label> <input type="text" id="sout_rtp_addr" onchange="update_sout()"/> </td> <td> <label for="sout_rtp_port">Port</label> <input type="text" id="sout_rtp_port" onchange="update_sout()"/> </td> </tr> <tr> <td> <input type="checkbox" id="sout_udp" onchange="update_sout()"/> <label for="sout_udp">UDP</label> </td> <td> <label for="sout_udp_addr">Address</label> <input type="text" id="sout_udp_addr" onchange="update_sout()"/> </td> <td> <label for="sout_udp_port">Port</label> <input type="text" id="sout_udp_port" onchange="update_sout()"/> </td> </tr> </table> </div> <hr/> <div id="sout_muxh"> <input type="radio" name="sout_mux" id="sout_mux_default" value="" onchange="update_sout()" /> <label for="sout_mux_default">Default</label> <input type="radio" name="sout_mux" id="sout_mux_ts" value="ts" onchange="update_sout()"/> <label for="sout_mux_ts">MPEG TS</label> <input type="radio" name="sout_mux" id="sout_mux_ps" value="ps" onchange="update_sout()"/> <label for="sout_mux_ps">MPEG PS</label> <input type="radio" name="sout_mux" id="sout_mux_mpeg1" value="mpeg1" onchange="update_sout()"/> <label for="sout_mux_ts">MPEG 1</label> <input type="radio" name="sout_mux" id="sout_mux_ogg" value="ogg" onchange="update_sout()"/> <label for="sout_mux_ts">OGG</label> <br/> <input type="radio" name="sout_mux" id="sout_mux_asf" value="asf" onchange="update_sout()"/> <label for="sout_mux_ts">ASF</label> <input type="radio" name="sout_mux" id="sout_mux_mp4" value="mp4" onchange="update_sout()"/> <label for="sout_mux_ts">MP4</label> <input type="radio" name="sout_mux" id="sout_mux_mov" value="mov" onchange="update_sout()"/> <label for="sout_mux_ts">MOV</label> <input type="radio" name="sout_mux" id="sout_mux_wav" value="wav" onchange="update_sout()"/> <label for="sout_mux_ts">WAV</label> <input type="radio" name="sout_mux" id="sout_mux_raw" value="raw" onchange="update_sout()"/> <label for="sout_mux_ts">Raw</label> </div> <hr/> <div id="sout_transcode"> <input type="hidden" id="sout_transcode_extra" value="" /> <table> <tr> <td> <input type="checkbox" id="sout_vcodec_s" onchange="update_sout()"/> <label for="sout_vcodec_s">Video Codec</label> </td> <td> <select id="sout_vcodec" onchange="update_sout()"> <option value="mp1v">mp1v</option> <option value="mp2v">mp2v</option> <option value="mp4v">mp4v</option> <option value="DIV1">DIV1</option> <option value="DIV2">DIV2</option> <option value="DIV3">DIV3</option> <option value="H263">H263</option> <option value="H264">H264</option> <option value="WMV1">WMV1</option> <option value="WMV2">WMV2</option> <option value="MJPG">MJPG</option> <option value="theo">theo</option> </select> </td> <td> <label for="sout_vb">Bitrate (kb/s)</label> <select id="sout_vb" onchange="update_sout()"> <option value="4096">4096</option> <option value="3072">3072</option> <option value="2048">2048</option> <option value="1024">1024</option> <option value="768">768</option> <option value="512">512</option> <option value="384">384</option> <option value="256">256</option> <option value="192">192</option> <option value="128">128</option> <option value="96">96</option> <option value="64">64</option> <option value="32">32</option> <option value="16">16</option> </select> </td> <td> <label for="sout_scale">Scale</label> <select id="sout_scale" onchange="update_sout()"> <option value="0.25">0.25</option> <option value="0.5">0.5</option> <option value="0.75">0.75</option> <option value="1" selected="selected">1</option> <option value="1.25">1.25</option> <option value="1.5">1.5</option> <option value="1.75">1.75</option> <option value="2">2</option> </select> </td> </tr> <tr> <td> <input type="checkbox" id="sout_acodec_s" onchange="update_sout()"/> <label for="sout_acodec_s">Audio Codec</label> </td> <td> <select id="sout_acodec" onchange="update_sout()"> <option value="mpga">mpga</option> <option value="mp2a">mp2a</option> <option value="mp3">mp3</option> <option value="mp4a">mp4a</option> <option value="a52">a52</option> <option value="vorb">vorb</option> <option value="flac">flac</option> <option value="spx">spx</option> <option value="s16l">s16l</option> <option value="fl32">fl32</option> </select> </td> <td> <label for="sout_ab">Bitrate (kb/s)</label> <select id="sout_ab" onchange="update_sout()"> <option value="512">512</option> <option value="384">384</option> <option value="256">256</option> <option value="192">192</option> <option value="128">128</option> <option value="96">96</option> <option value="64">64</option> <option value="32">32</option> <option value="16">16</option> </select> </td> <td> <label for="sout_channels">Channels</label> <select id="sout_channels" onchange="update_sout()"> <option value="">default</option> <option value="1">1</option> <option value="2">2</option> <option value="4">4</option> <option value="6">6</option> </select> </td> </tr> <tr> <td> <input type="checkbox" id="sout_sub" onchange="update_sout()"/> <label for="sout_sub">Subtitles Codec</label> </td> <td> <select id="sout_scodec" onchange="update_sout()"> <option value="dvbs">dvbs</option> </select> </td> <td colspan="2"> <input type="checkbox" id="sout_soverlay" onchange="update_sout()"/> <label for="sout_soverlay">Subtitles overlay</label> </td> </tr> </table> </div> <hr/> <div id="sout_misc"> <input type="checkbox" id="sout_sap" onchange="update_sout()"/> <label for="sout_sap">SAP announce</label> <br/> <label for="sout_sap_group">Group name</label> <input type="text" id="sout_sap_group" onchange="update_sout()"/> <label for="sout_sap_name">Channel name</label> <input type="text" id="sout_sap_name" onchange="update_sout()"/> <hr/> <input type="checkbox" id="sout_all" onchange="update_sout()"/> <label for="sout_all">Select all elementary streams</label> <hr/> <label for="sout_ttl">Time-To-Live (TTL)</label> <input type="text" id="sout_ttl" onchange="update_sout()"/> </div> </div></div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -