]> git.sesse.net Git - casparcg/blob - shell/casparcg.config
Added support for more than 2 audio channels
[casparcg] / shell / casparcg.config
1 <?xml version="1.0" encoding="utf-8"?>\r
2 <configuration>\r
3   <paths>\r
4     <media-path>media\</media-path>\r
5     <log-path>log\</log-path>\r
6     <data-path>data\</data-path>\r
7     <template-path>templates\</template-path>\r
8     <thumbnails-path>thumbnails\</thumbnails-path>\r
9   </paths>\r
10   <channels>\r
11     <channel>\r
12         <video-mode>PAL</video-mode>\r
13         <channel-layout>stereo</channel-layout>\r
14         <consumers>\r
15           <screen>\r
16             <device>1</device>\r
17             <windowed>true</windowed>\r
18           </screen>\r
19         </consumers>\r
20     </channel>\r
21   </channels>\r
22   <controllers>\r
23     <tcp>\r
24         <port>5250</port>\r
25         <protocol>AMCP</protocol>\r
26     </tcp>\r
27     <udp>\r
28       <address>127.0.0.1</address>\r
29       <port>5253</port>\r
30       <protocol>OSC</protocol>\r
31     </udp>\r
32   </controllers>\r
33   <audio>\r
34     <channel-layouts>\r
35     </channel-layouts>\r
36     <mix-configs>\r
37     </mix-configs>\r
38   </audio>\r
39 </configuration>\r
40 \r
41 <!--\r
42 <log-level>       trace [trace|debug|info|warning|error]</log-level>\r
43 <channel-grid>    false [true|false]</channel-grid>\r
44 <blend-modes>     false [true|false]</blend-modes>\r
45 <auto-deinterlace>true  [true|false]</auto-deinterlace>\r
46 <auto-transcode>  true  [true|false]</auto-transcode>\r
47 <pipeline-tokens> 2     [1..]       </pipeline-tokens>\r
48 <template-hosts>\r
49     <template-host>\r
50         <video-mode/>\r
51         <filename/>\r
52         <width/>\r
53         <height/>\r
54     </template-host>\r
55 </template-hosts>\r
56 <flash>\r
57     <buffer-depth>auto [auto|1..]</buffer-depth>\r
58 </flash>\r
59 <thumbnails>\r
60     <generate-thumbnails>true [true|false]</generate-thumbnails>\r
61     <width>256</width>\r
62     <height>144</height>\r
63     <video-grid>2</video-grid>\r
64     <scan-interval-millis>5000</scan-interval-millis>\r
65     <generate-delay-millis>2000</generate-delay-millis>\r
66     <video-mode>720p2500</video-mode>\r
67 </thumbnails>\r
68 <channels>\r
69     <channel>\r
70         <video-mode> PAL [PAL|NTSC|576p2500|720p2398|720p2400|720p2500|720p5000|720p2997|720p5994|720p3000|720p6000|1080p2398|1080p2400|1080i5000|1080i5994|1080i6000|1080p2500|1080p2997|1080p3000|1080p5000|1080p5994|1080p6000|2k2398|2k2400|2k2500|4k2398|4k2400|4k2500|4k2997|4k3000] </video-mode>\r
71         <channel-layout>stereo [mono|stereo|dts|dolbye|dolbydigital|smpte|passthru]</channel-layout>\r
72         <consumers>\r
73             <decklink>\r
74                 <device>[1..]</device>\r
75                 <embedded-audio>false [true|false]</embedded-audio>\r
76                 <channel-layout>stereo [mono|stereo|dts|dolbye|dolbydigital|smpte|passthru]</channel-layout>\r
77                 <latency>normal [normal|low|default]</latency>\r
78                 <keyer>external [external|internal|default]</keyer>\r
79                 <key-only>false [true|false]</key-only>\r
80                 <buffer-depth>3 [1..]</buffer-depth>\r
81             </decklink> \r
82             <bluefish>\r
83                 <device>[1..]</device>\r
84                 <embedded-audio>false [true|false]</embedded-audio>\r
85                 <channel-layout>stereo [mono|stereo|dts|dolbye|dolbydigital|smpte|passthru]</channel-layout>\r
86                 <key-only>false [true|false]</key-only>\r
87             </bluefish>\r
88             <system-audio></system-audio>\r
89             <screen>\r
90                 <device>[0..]</device>\r
91                 <aspect-ratio>default [default|4:3|16:9]</aspect-ratio>\r
92                 <stretch>fill [none|fill|uniform|uniform_to_fill]</stretch>\r
93                 <windowed>false [true|false]</windowed>\r
94                 <key-only>false [true|false]</key-only>\r
95                 <auto-deinterlace>true [true|false]</auto-deinterlace>\r
96                 <vsync>false [true|false]</vsync>\r
97             </screen>\r
98             <file>\r
99                 <path></path>\r
100                 <vcodec>libx264 [libx264|qtrle]</vcodec>\r
101                 <separate-key>false [true|false]</separate-key>\r
102             </file>\r
103         </consumers>\r
104     </channel>\r
105 </channels>\r
106 <audio>\r
107   <channel-layouts>\r
108     <mono>\r
109       <type>1.0</type>\r
110       <num-channels>1</num-channels>\r
111       <channels>C</channels>\r
112     </mono>\r
113     <stereo>\r
114       <type>2.0</type>\r
115       <num-channels>2</num-channels>\r
116       <channels>L R</channels>\r
117     </stereo>\r
118     <dts>\r
119       <type>5.1</type>\r
120       <num-channels>6</num-channels>\r
121       <channels>C L R Ls Rs LFE</channels>\r
122     </dts>\r
123     <dolbye>\r
124       <type>5.1+stereomix</type>\r
125       <num-channels>8</num-channels>\r
126       <channels>L R C LFE Ls Rs Lmix Rmix</channels>\r
127     </dolbye>\r
128     <dolbydigital>\r
129       <type>5.1</type>\r
130       <num-channels>6</num-channels>\r
131       <channels>L C R Ls Rs LFE</channels>\r
132     </dolbydigital>\r
133     <smpte>\r
134       <type>5.1</type>\r
135       <num-channels>6</num-channels>\r
136       <channels>L R C LFE Ls Rs</channels>\r
137     </smpte>\r
138     <passthru>\r
139       <type>16ch</type>\r
140       <num-channels>16</num-channels>\r
141       <channels />\r
142     </passthru>\r
143   </channel-layouts>\r
144   <mix-configs>\r
145     <mix-config>\r
146       <from>1.0</from>\r
147       <to>2.0</to>\r
148       <mix>add</mix>\r
149       <mappings>\r
150         <mapping>C L 1.0</mapping>\r
151         <mapping>C R 1.0</mapping>\r
152       </mappings>\r
153     </mix-config>\r
154     <mix-config>\r
155       <from>1.0</from>\r
156       <to>5.1</to>\r
157       <mix>add</mix>\r
158       <mappings>\r
159         <mapping>C L 1.0</mapping>\r
160         <mapping>C R 1.0</mapping>\r
161       </mappings>\r
162     </mix-config>\r
163     <mix-config>\r
164       <from>1.0</from>\r
165       <to>5.1+stereomix</to>\r
166       <mix>add</mix>\r
167       <mappings>\r
168         <mapping>C L    1.0</mapping>\r
169         <mapping>C R    1.0</mapping>\r
170         <mapping>C Lmix 1.0</mapping>\r
171         <mapping>C Rmix 1.0</mapping>\r
172       </mappings>\r
173     </mix-config>\r
174     <mix-config>\r
175       <from>2.0</from>\r
176       <to>1.0</to>\r
177       <mix>add</mix>\r
178       <mappings>\r
179         <mapping>L C 1.0</mapping>\r
180         <mapping>R C 1.0</mapping>\r
181       </mappings>\r
182     </mix-config>\r
183     <mix-config>\r
184       <from>2.0</from>\r
185       <to>5.1</to>\r
186       <mix>add</mix>\r
187       <mappings>\r
188         <mapping>L L 1.0</mapping>\r
189         <mapping>R R 1.0</mapping>\r
190       </mappings>\r
191     </mix-config>\r
192     <mix-config>\r
193       <from>2.0</from>\r
194       <to>5.1+stereomix</to>\r
195       <mix>add</mix>\r
196       <mappings>\r
197         <mapping>L L    1.0</mapping>\r
198         <mapping>R R    1.0</mapping>\r
199         <mapping>L Lmix 1.0</mapping>\r
200         <mapping>R Rmix 1.0</mapping>\r
201       </mappings>\r
202     </mix-config>\r
203     <mix-config>\r
204       <from>5.1</from>\r
205       <to>1.0</to>\r
206       <mix>average</mix>\r
207       <mappings>\r
208         <mapping>L  C 1.0</mapping>\r
209         <mapping>R  C 1.0</mapping>\r
210         <mapping>C  C 0.707</mapping>\r
211         <mapping>Ls C 0.707</mapping>\r
212         <mapping>Rs C 0.707</mapping>\r
213       </mappings>\r
214     </mix-config>\r
215     <mix-config>\r
216       <from>5.1</from>\r
217       <to>2.0</to>\r
218       <mix>average</mix>\r
219       <mappings>\r
220         <mapping>L  L 1.0</mapping>\r
221         <mapping>R  R 1.0</mapping>\r
222         <mapping>C  L 0.707</mapping>\r
223         <mapping>C  R 0.707</mapping>\r
224         <mapping>Ls L 0.707</mapping>\r
225         <mapping>Rs R 0.707</mapping>\r
226       </mappings>\r
227     </mix-config>\r
228     <mix-config>\r
229       <from>5.1</from>\r
230       <to>5.1+stereomix</to>\r
231       <mix>average</mix>\r
232       <mappings>\r
233         <mapping>L   L   1.0</mapping>\r
234         <mapping>R   R   1.0</mapping>\r
235         <mapping>C   C   1.0</mapping>\r
236         <mapping>Ls  Ls  1.0</mapping>\r
237         <mapping>Rs  Rs  1.0</mapping>\r
238         <mapping>LFE LFE 1.0</mapping>\r
239 \r
240         <mapping>L  Lmix 1.0</mapping>\r
241         <mapping>R  Rmix 1.0</mapping>\r
242         <mapping>C  Lmix 0.707</mapping>\r
243         <mapping>C  Rmix 0.707</mapping>\r
244         <mapping>Ls Lmix 0.707</mapping>\r
245         <mapping>Rs Rmix 0.707</mapping>\r
246       </mappings>\r
247     </mix-config>\r
248     <mix-config>\r
249       <from>5.1+stereomix</from>\r
250       <to>1.0</to>\r
251       <mix>add</mix>\r
252       <mappings>\r
253         <mapping>Lmix C 1.0</mapping>\r
254         <mapping>Rmix C 1.0</mapping>\r
255       </mappings>\r
256     </mix-config>\r
257     <mix-config>\r
258       <from>5.1+stereomix</from>\r
259       <to>2.0</to>\r
260       <mix>add</mix>\r
261       <mappings>\r
262         <mapping>Lmix L 1.0</mapping>\r
263         <mapping>Rmix R 1.0</mapping>\r
264       </mappings>\r
265     </mix-config>\r
266     <mix-config>\r
267       <from>5.1+stereomix</from>\r
268       <to>5.1</to>\r
269       <mix>add</mix>\r
270       <mappings>\r
271         <mapping>L   L   1.0</mapping>\r
272         <mapping>R   R   1.0</mapping>\r
273         <mapping>C   C   1.0</mapping>\r
274         <mapping>Ls  Ls  1.0</mapping>\r
275         <mapping>Rs  Rs  1.0</mapping>\r
276         <mapping>LFE LFE 1.0</mapping>\r
277       </mappings>\r
278     </mix-config>\r
279   </mix-configs>\r
280 </audio>\r
281 -->\r