]> git.sesse.net Git - casparcg/blob - shell/casparcg.config
#346 #441 Added remote debugging support in html producer.
[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 <html>\r
61     <remote-debugging-port>0 [0|1024-65535]</remote-debugging-port>\r
62 </html>\r
63 <thumbnails>\r
64     <generate-thumbnails>true [true|false]</generate-thumbnails>\r
65     <width>256</width>\r
66     <height>144</height>\r
67     <video-grid>2</video-grid>\r
68     <scan-interval-millis>5000</scan-interval-millis>\r
69     <generate-delay-millis>2000</generate-delay-millis>\r
70     <video-mode>720p2500</video-mode>\r
71     <mipmap>true</mipmap>\r
72 </thumbnails>\r
73 <channels>\r
74     <channel>\r
75         <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
76         <straight-alpha-output>false [true|false]</straight-alpha-output>\r
77         <channel-layout>stereo [mono|stereo|matrix|film|smpte|ebu_r123_8a|ebu_r123_8b|8ch|16ch]</channel-layout>\r
78         <consumers>\r
79             <decklink>\r
80                 <device>[1..]</device>\r
81                 <key-device>device + 1 [1..]</key-device>\r
82                 <embedded-audio>false [true|false]</embedded-audio>\r
83                 <channel-layout>stereo [mono|stereo|matrix|film|smpte|ebu_r123_8a|ebu_r123_8b|8ch|16ch]</channel-layout>\r
84                 <latency>normal [normal|low|default]</latency>\r
85                 <keyer>external [external|external_separate_device|internal|default]</keyer>\r
86                 <key-only>false [true|false]</key-only>\r
87                 <buffer-depth>3 [1..]</buffer-depth>\r
88             </decklink>\r
89             <bluefish>\r
90                 <device>[1..]</device>\r
91                 <embedded-audio>false [true|false]</embedded-audio>\r
92                 <channel-layout>stereo [mono|stereo|matrix|film|smpte|ebu_r123_8a|ebu_r123_8b|8ch|16ch]</channel-layout>\r
93                 <key-only>false [true|false]</key-only>\r
94             </bluefish>\r
95             <system-audio>\r
96                 <channel-layout>stereo [mono|stereo|matrix]</channel-layout>\r
97                 <latency>200 [0..]</latency>\r
98             </system-audio>\r
99             <screen>\r
100                 <device>[0..]</device>\r
101                 <aspect-ratio>default [default|4:3|16:9]</aspect-ratio>\r
102                 <stretch>fill [none|fill|uniform|uniform_to_fill]</stretch>\r
103                 <windowed>true [true|false]</windowed>\r
104                 <key-only>false [true|false]</key-only>\r
105                 <auto-deinterlace>true [true|false]</auto-deinterlace>\r
106                 <vsync>false [true|false]</vsync>\r
107                 <interactive>true [true|false]</interactive>\r
108                 <borderless>false [true|false]</borderless>\r
109             </screen>\r
110             <newtek-ivga></newtek-ivga>\r
111             <file>\r
112                 <path></path>\r
113                 <vcodec>libx264 [libx264|qtrle]</vcodec>\r
114                 <separate-key>false [true|false]</separate-key>\r
115             </file>\r
116             <stream>\r
117                 <path>udp://localhost:9250</path>\r
118                 <args>-format mpegts -vcodec libx264 -crf 25 -tune zerolatency -preset ultrafast</args>\r
119             </stream>\r
120         </consumers>\r
121     </channel>\r
122 </channels>\r
123 <osc>\r
124   <default-port>6250</default-port>\r
125   <predefined-clients>\r
126     <predefined-client>\r
127       <address>127.0.0.1</address>\r
128       <port>5253</port>\r
129     </predefined-client>\r
130   </predefined-clients>\r
131 </osc>\r
132 <audio>\r
133         <channel-layouts>\r
134                 <channel-layout name="mono"        type="mono"        num-channels="1" channel-order="FC" />\r
135                 <channel-layout name="stereo"      type="stereo"      num-channels="2" channel-order="FL FR" />\r
136                 <channel-layout name="matrix"      type="matrix"      num-channels="2" channel-order="ML MR" />\r
137                 <channel-layout name="film"        type="5.1"         num-channels="6" channel-order="FL FC FR BL BR LFE" />\r
138                 <channel-layout name="smpte"       type="5.1"         num-channels="6" channel-order="FL FR FC LFE BL BR" />\r
139                 <channel-layout name="ebu_r123_8a" type="5.1+downmix" num-channels="8" channel-order="DL DR FL FR FC LFE BL BR" />\r
140                 <channel-layout name="ebu_r123_8b" type="5.1+downmix" num-channels="8" channel-order="FL FR FC LFE BL BR DL DR" />\r
141                 <channel-layout name="8ch"         type="8ch"         num-channels="8" />\r
142                 <channel-layout name="16ch"        type="16ch"        num-channels="16" />\r
143         </channel-layouts>\r
144         <mix-configs>\r
145                 <mix-config from-type="mono"          to-types="stereo, 5.1"  mix="FL = FC                                           | FR = FC" />\r
146                 <mix-config from-type="mono"          to-types="5.1+downmix"  mix="FL = FC                                           | FR = FC                                         | DL = FC | DR = FC" />\r
147                 <mix-config from-type="mono"          to-types="matrix"       mix="ML = FC                                           | MR = FC" />\r
148                 <mix-config from-type="stereo"        to-types="mono"         mix="FC &lt; FL + FR" />\r
149                 <mix-config from-type="stereo"        to-types="matrix"       mix="ML = FL                                           | MR = FR" />\r
150                 <mix-config from-type="stereo"        to-types="5.1"          mix="FL = FL                                           | FR = FR" />\r
151                 <mix-config from-type="stereo"        to-types="5.1+downmix"  mix="FL = FL                                           | FR = FR                                         | DL = FL | DR = FR" />\r
152                 <mix-config from-type="5.1"           to-types="mono"         mix="FC &lt; FL + FR + 0.707*FC + 0.707*BL + 0.707*BR" />\r
153                 <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
154                 <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
155                 <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
156                 <mix-config from-type="5.1+stereomix" to-types="mono"         mix="FC &lt; DL + DR" />\r
157                 <mix-config from-type="5.1+stereomix" to-types="stereo"       mix="FL = DL                                           | FR = DR" />\r
158                 <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
159                 <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
160         </mix-configs>\r
161 </audio>\r
162 -->\r