]> git.sesse.net Git - casparcg/blob - shell/casparcg.config
076e4b0fae39bb35970d4671135de189f195fdab
[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>template/</template-path>\r
8     <thumbnail-path>thumbnail/</thumbnail-path>\r
9     <font-path>font/</font-path>\r
10   </paths>\r
11   <lock-clear-phrase>secret</lock-clear-phrase>\r
12   <channels>\r
13     <channel>\r
14       <video-mode>PAL</video-mode>\r
15       <channel-layout>stereo</channel-layout>\r
16       <consumers>\r
17         <screen>\r
18           <device>1</device>\r
19           <windowed>true</windowed>\r
20         </screen>\r
21         <system-audio></system-audio>\r
22       </consumers>\r
23     </channel>\r
24   </channels>\r
25   <controllers>\r
26     <tcp>\r
27       <port>5250</port>\r
28       <protocol>AMCP</protocol>\r
29     </tcp>\r
30     <tcp>\r
31       <port>3250</port>\r
32       <protocol>LOG</protocol>\r
33     </tcp>\r
34   </controllers>\r
35 </configuration>\r
36 \r
37 <!--\r
38 <log-level>           info  [trace|debug|info|warning|error|fatal]</log-level>\r
39 <log-categories>      communication  [calltrace|communication|calltrace,communication]</log-categories>\r
40 <force-deinterlace>   true  [true|false]</force-deinterlacing>\r
41 <channel-grid>        false [true|false]</channel-grid>\r
42 <mixer>\r
43     <blend-modes>          false [true|false]</blend-modes>\r
44     <mipmapping_default_on>false [true|false]</mipmapping_default_on>\r
45     <straight-alpha>       false [true|false]</straight-alpha>\r
46 </mixer>\r
47 <auto-transcode>      true  [true|false]</auto-transcode>\r
48 <accelerator>auto [cpu|gpu|auto]</accelerator>\r
49 <template-hosts>\r
50     <template-host>\r
51         <video-mode/>\r
52         <filename/>\r
53         <width/>\r
54         <height/>\r
55     </template-host>\r
56 </template-hosts>\r
57 <flash>\r
58     <buffer-depth>auto [auto|1..]</buffer-depth>\r
59 </flash>\r
60 <thumbnails>\r
61     <generate-thumbnails>true [true|false]</generate-thumbnails>\r
62     <width>256</width>\r
63     <height>144</height>\r
64     <video-grid>2</video-grid>\r
65     <scan-interval-millis>5000</scan-interval-millis>\r
66     <generate-delay-millis>2000</generate-delay-millis>\r
67     <video-mode>720p2500</video-mode>\r
68     <mipmap>true</mipmap>\r
69 </thumbnails>\r
70 <channels>\r
71     <channel>\r
72         <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|1556p2398|1556p2400|1556p2500|dci1080p2398|dci1080p2400|dci1080p2500|2160p2398|2160p2400|2160p2500|2160p2997|2160p3000|dci2160p2398|dci2160p2400|dci2160p2500] </video-mode>\r
73         <straight-alpha-output>false [true|false]</straight-alpha-output>\r
74         <channel-layout>stereo [mono|stereo|matrix|film|smpte|ebu_r123_8a|ebu_r123_8b|8ch|16ch]</channel-layout>\r
75         <consumers>\r
76             <decklink>\r
77                 <device>[1..]</device>\r
78                 <key-device>device + 1 [1..]</key-device>\r
79                 <embedded-audio>false [true|false]</embedded-audio>\r
80                 <channel-layout>stereo [mono|stereo|matrix|film|smpte|ebu_r123_8a|ebu_r123_8b|8ch|16ch]</channel-layout>\r
81                 <latency>normal [normal|low|default]</latency>\r
82                 <keyer>external [external|external_separate_device|internal|default]</keyer>\r
83                 <key-only>false [true|false]</key-only>\r
84                 <buffer-depth>3 [1..]</buffer-depth>\r
85             </decklink>\r
86             <bluefish>\r
87                 <device>[1..]</device>\r
88                 <embedded-audio>false [true|false]</embedded-audio>\r
89                 <channel-layout>stereo [mono|stereo|matrix|film|smpte|ebu_r123_8a|ebu_r123_8b|8ch|16ch]</channel-layout>\r
90                 <key-only>false [true|false]</key-only>\r
91             </bluefish>\r
92             <system-audio>\r
93                 <channel-layout>stereo [mono|stereo|matrix]</channel-layout>\r
94                 <latency>200 [0..]</latency>\r
95             </system-audio>\r
96             <screen>\r
97                 <device>[0..]</device>\r
98                 <aspect-ratio>default [default|4:3|16:9]</aspect-ratio>\r
99                 <stretch>fill [none|fill|uniform|uniform_to_fill]</stretch>\r
100                 <windowed>true [true|false]</windowed>\r
101                 <key-only>false [true|false]</key-only>\r
102                 <auto-deinterlace>true [true|false]</auto-deinterlace>\r
103                 <vsync>false [true|false]</vsync>\r
104                 <interactive>true [true|false]</interactive>\r
105                 <borderless>false [true|false]</borderless>\r
106             </screen>\r
107             <newtek-ivga></newtek-ivga>\r
108             <file>\r
109                 <path></path>\r
110                 <vcodec>libx264 [libx264|qtrle]</vcodec>\r
111                 <separate-key>false [true|false]</separate-key>\r
112             </file>\r
113             <stream>\r
114                 <path>udp://localhost:9250</path>\r
115                 <args>-format mpegts -vcodec libx264 -crf 25 -tune zerolatency -preset ultrafast</args>\r
116             </stream>\r
117         </consumers>\r
118     </channel>\r
119 </channels>\r
120 <osc>\r
121   <default-port>6250</default-port>\r
122   <predefined-clients>\r
123     <predefined-client>\r
124       <address>127.0.0.1</address>\r
125       <port>5253</port>\r
126     </predefined-client>\r
127   </predefined-clients>\r
128 </osc>\r
129 <audio>\r
130         <channel-layouts>\r
131                 <channel-layout name="mono"        type="mono"        num-channels="1" channel-order="FC" />\r
132                 <channel-layout name="stereo"      type="stereo"      num-channels="2" channel-order="FL FR" />\r
133                 <channel-layout name="matrix"      type="matrix"      num-channels="2" channel-order="ML MR" />\r
134                 <channel-layout name="film"        type="5.1"         num-channels="6" channel-order="FL FC FR BL BR LFE" />\r
135                 <channel-layout name="smpte"       type="5.1"         num-channels="6" channel-order="FL FR FC LFE BL BR" />\r
136                 <channel-layout name="ebu_r123_8a" type="5.1+downmix" num-channels="8" channel-order="DL DR FL FR FC LFE BL BR" />\r
137                 <channel-layout name="ebu_r123_8b" type="5.1+downmix" num-channels="8" channel-order="FL FR FC LFE BL BR DL DR" />\r
138                 <channel-layout name="8ch"         type="8ch"         num-channels="8" />\r
139                 <channel-layout name="16ch"        type="16ch"        num-channels="16" />\r
140         </channel-layouts>\r
141         <mix-configs>\r
142                 <mix-config from-type="mono"          to-types="stereo, 5.1"  mix="FL = FC                                           | FR = FC" />\r
143                 <mix-config from-type="mono"          to-types="5.1+downmix"  mix="FL = FC                                           | FR = FC                                         | DL = FC | DR = FC" />\r
144                 <mix-config from-type="mono"          to-types="matrix"       mix="ML = FC                                           | MR = FC" />\r
145                 <mix-config from-type="stereo"        to-types="mono"         mix="FC &lt; FL + FR" />\r
146                 <mix-config from-type="stereo"        to-types="matrix"       mix="ML = FL                                           | MR = FR" />\r
147                 <mix-config from-type="stereo"        to-types="5.1"          mix="FL = FL                                           | FR = FR" />\r
148                 <mix-config from-type="stereo"        to-types="5.1+downmix"  mix="FL = FL                                           | FR = FR                                         | DL = FL | DR = FR" />\r
149                 <mix-config from-type="5.1"           to-types="mono"         mix="FC &lt; FL + FR + 0.707*FC + 0.707*BL + 0.707*BR" />\r
150                 <mix-config from-type="5.1"           to-types="stereo"       mix="FL &lt; FL + 0.707*FC + 0.707*BL                  | FR &lt; FR + 0.707*FC + 0.707*BR" />\r
151                 <mix-config from-type="5.1"           to-types="5.1+downmix"  mix="FL = FL                                           | FR = FR                                         | FC = FC | BL = BL | BR = BR | LFE = LFE | DL &lt; FL + 0.707*FC + 0.707*BL | DR &lt; FR + 0.707*FC + 0.707*BR" />\r
152                 <mix-config from-type="5.1"           to-types="matrix"       mix="ML = 0.3204*FL + 0.293*FC + -0.293*BL + -0.293*BR | MR = 0.3204*FR + 0.293*FC + 0.293*BL + 0.293*BR" />\r
153                 <mix-config from-type="5.1+stereomix" to-types="mono"         mix="FC &lt; DL + DR" />\r
154                 <mix-config from-type="5.1+stereomix" to-types="stereo"       mix="FL = DL                                           | FR = DR" />\r
155                 <mix-config from-type="5.1+stereomix" to-types="5.1"          mix="FL = FL                                           | FR = FR                                         | FC = FC | BL = BL | BR = BR | LFE = LFE" />\r
156                 <mix-config from-type="5.1+stereomix" to-types="matrix"       mix="ML = 0.3204*FL + 0.293*FC + -0.293*BL + -0.293*BR | MR = 0.3204*FR + 0.293*FC + 0.293*BL + 0.293*BR" />\r
157         </mix-configs>\r
158 </audio>\r
159 -->\r