]> git.sesse.net Git - casparcg/blob - shell/casparcg.config
Modified OSC support so that whenever an AMCP connection is established an OSC client...
[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   <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 <osc>\r
107   <default-port>6250</default-port>\r
108   <predefined-clients>\r
109     <predefined-client>\r
110       <address>127.0.0.1</address>\r
111       <port>5253</port>\r
112     </predefined-client>\r
113   </predefined-clients>\r
114 </osc>\r
115 <audio>\r
116   <channel-layouts>\r
117     <mono>\r
118       <type>1.0</type>\r
119       <num-channels>1</num-channels>\r
120       <channels>C</channels>\r
121     </mono>\r
122     <stereo>\r
123       <type>2.0</type>\r
124       <num-channels>2</num-channels>\r
125       <channels>L R</channels>\r
126     </stereo>\r
127     <dts>\r
128       <type>5.1</type>\r
129       <num-channels>6</num-channels>\r
130       <channels>C L R Ls Rs LFE</channels>\r
131     </dts>\r
132     <dolbye>\r
133       <type>5.1+stereomix</type>\r
134       <num-channels>8</num-channels>\r
135       <channels>L R C LFE Ls Rs Lmix Rmix</channels>\r
136     </dolbye>\r
137     <dolbydigital>\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     </dolbydigital>\r
142     <smpte>\r
143       <type>5.1</type>\r
144       <num-channels>6</num-channels>\r
145       <channels>L R C LFE Ls Rs</channels>\r
146     </smpte>\r
147     <passthru>\r
148       <type>16ch</type>\r
149       <num-channels>16</num-channels>\r
150       <channels />\r
151     </passthru>\r
152   </channel-layouts>\r
153   <mix-configs>\r
154     <mix-config>\r
155       <from>1.0</from>\r
156       <to>2.0</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</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       </mappings>\r
171     </mix-config>\r
172     <mix-config>\r
173       <from>1.0</from>\r
174       <to>5.1+stereomix</to>\r
175       <mix>add</mix>\r
176       <mappings>\r
177         <mapping>C L    1.0</mapping>\r
178         <mapping>C R    1.0</mapping>\r
179         <mapping>C Lmix 1.0</mapping>\r
180         <mapping>C Rmix 1.0</mapping>\r
181       </mappings>\r
182     </mix-config>\r
183     <mix-config>\r
184       <from>2.0</from>\r
185       <to>1.0</to>\r
186       <mix>add</mix>\r
187       <mappings>\r
188         <mapping>L C 1.0</mapping>\r
189         <mapping>R C 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</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       </mappings>\r
200     </mix-config>\r
201     <mix-config>\r
202       <from>2.0</from>\r
203       <to>5.1+stereomix</to>\r
204       <mix>add</mix>\r
205       <mappings>\r
206         <mapping>L L    1.0</mapping>\r
207         <mapping>R R    1.0</mapping>\r
208         <mapping>L Lmix 1.0</mapping>\r
209         <mapping>R Rmix 1.0</mapping>\r
210       </mappings>\r
211     </mix-config>\r
212     <mix-config>\r
213       <from>5.1</from>\r
214       <to>1.0</to>\r
215       <mix>average</mix>\r
216       <mappings>\r
217         <mapping>L  C 1.0</mapping>\r
218         <mapping>R  C 1.0</mapping>\r
219         <mapping>C  C 0.707</mapping>\r
220         <mapping>Ls C 0.707</mapping>\r
221         <mapping>Rs C 0.707</mapping>\r
222       </mappings>\r
223     </mix-config>\r
224     <mix-config>\r
225       <from>5.1</from>\r
226       <to>2.0</to>\r
227       <mix>average</mix>\r
228       <mappings>\r
229         <mapping>L  L 1.0</mapping>\r
230         <mapping>R  R 1.0</mapping>\r
231         <mapping>C  L 0.707</mapping>\r
232         <mapping>C  R 0.707</mapping>\r
233         <mapping>Ls L 0.707</mapping>\r
234         <mapping>Rs R 0.707</mapping>\r
235       </mappings>\r
236     </mix-config>\r
237     <mix-config>\r
238       <from>5.1</from>\r
239       <to>5.1+stereomix</to>\r
240       <mix>average</mix>\r
241       <mappings>\r
242         <mapping>L   L   1.0</mapping>\r
243         <mapping>R   R   1.0</mapping>\r
244         <mapping>C   C   1.0</mapping>\r
245         <mapping>Ls  Ls  1.0</mapping>\r
246         <mapping>Rs  Rs  1.0</mapping>\r
247         <mapping>LFE LFE 1.0</mapping>\r
248 \r
249         <mapping>L  Lmix 1.0</mapping>\r
250         <mapping>R  Rmix 1.0</mapping>\r
251         <mapping>C  Lmix 0.707</mapping>\r
252         <mapping>C  Rmix 0.707</mapping>\r
253         <mapping>Ls Lmix 0.707</mapping>\r
254         <mapping>Rs Rmix 0.707</mapping>\r
255       </mappings>\r
256     </mix-config>\r
257     <mix-config>\r
258       <from>5.1+stereomix</from>\r
259       <to>1.0</to>\r
260       <mix>add</mix>\r
261       <mappings>\r
262         <mapping>Lmix C 1.0</mapping>\r
263         <mapping>Rmix C 1.0</mapping>\r
264       </mappings>\r
265     </mix-config>\r
266     <mix-config>\r
267       <from>5.1+stereomix</from>\r
268       <to>2.0</to>\r
269       <mix>add</mix>\r
270       <mappings>\r
271         <mapping>Lmix L 1.0</mapping>\r
272         <mapping>Rmix R 1.0</mapping>\r
273       </mappings>\r
274     </mix-config>\r
275     <mix-config>\r
276       <from>5.1+stereomix</from>\r
277       <to>5.1</to>\r
278       <mix>add</mix>\r
279       <mappings>\r
280         <mapping>L   L   1.0</mapping>\r
281         <mapping>R   R   1.0</mapping>\r
282         <mapping>C   C   1.0</mapping>\r
283         <mapping>Ls  Ls  1.0</mapping>\r
284         <mapping>Rs  Rs  1.0</mapping>\r
285         <mapping>LFE LFE 1.0</mapping>\r
286       </mappings>\r
287     </mix-config>\r
288   </mix-configs>\r
289 </audio>\r
290 -->\r