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