]> git.sesse.net Git - vlc/blob - share/profiles/en/http_transcode.vsp
Profile sample.
[vlc] / share / profiles / en / http_transcode.vsp
1 <?xml version="1.0" encoding="utf-8" ?>
2 <!--
3 vim:syntax=xml
4 vim:ts=4
5 -->
6 <profile-list xmlns="http://clement.stenac.org/projects/videolan/vsp.xsd">
7         <profile>
8                 <name>Transcode / HTTP</name>
9                 <description>
10                         This profile transcodes and makes the stream available through HTTP
11                 </description>
12
13                 <meta network="true" internet="true" vod="false" />
14
15                 <parameters>
16                         <param id="bitrate" type="int" default="1000" min="50" max="2000">
17                                 <name>Video bitrate</name>
18                                 <description>Set the video bitrate, in kbit/s</description>
19                         </param>
20                         <param id="local" type="bool" default="true">
21                                 <name>Display locally</name>
22                                 <description>
23                                         Do you want to display the stream while streaming it ?
24                                         This will use more processing power.
25                                 </description>
26                         </param>
27                         <param id="codec" type="string" choices="true" default="mp4v">
28                                 <name>Video codec</name>
29                                 <description>Please choose the video codec to use
30                                 </description>
31                                 <choice value="mp4v">
32                                         <name>MPEG-4 Video</name>
33                                         <description>Video MPEG4</description>
34                                 </choice>
35                                 <choice value="theo">
36                                         <name>Theora</name>
37                                         <description>Theora</description>
38                                 </choice>
39                         </param>
40                 </parameters>
41                 <options>
42                         <option>file-caching=1000</option>
43                 </options>
44
45                 <chain>
46                         <transcode vcodec="$codec" vb="$bitrate"/>
47                         <duplicate>
48                                 <child> <!-- select="program:1242" -->
49                                         <standard mux="mp4" access="http" dst="0.0.0.0:$port" />
50                                 </child>
51                                 <child enabled="$local">
52                                         <display />
53                                 </child>
54                         </duplicate>
55                 </chain>
56         </profile>
57 </profile-list>