]> git.sesse.net Git - vlc/blob - modules/video_filter/atmo/README.txt
4cf6595960c74119d02e0b73d06bf9aa8f865772
[vlc] / modules / video_filter / atmo / README.txt
1 This piece of software is based on the software and descriptions mentioned below -\r
2 \r
3 \r
4 (re)Written by:              Igor / Atmo (aka AndrĂ© Weber)  - WeberAndre@gmx.de\r
5                              Matthiaz    \r
6                              MacGyver2k\r
7 \r
8 if you need to contact one of us - come to www.vdr-portal.de \r
9 \r
10 http://www.vdr-portal.de/board/thread.php?threadid=59294 -- Description and Development of the Windows Software\r
11 http://www.vdr-portal.de/board/thread.php?threadid=48574 -- Description and Development of the Hardware part\r
12 \r
13 =====================================================\r
14 Info for Users on Vista or Windows 7 with active UAC!\r
15 =====================================================\r
16 for the first launch do it as Administrator with the following command line \r
17 \r
18 AtmoWinA.exe /register \r
19 \r
20 to create the required registry entries for the COM Objects, without\r
21 these registry entries - the DirectShow Filter and also the VLC Plugin\r
22 will not work.\r
23 If anything went fine you should see the message "COM Server registered Ok!".\r
24 \r
25 See the file COPYING.txt for license information.\r
26 \r
27 \r
28 VideoLAN / VLC\r
29 ---------------\r
30 \r
31 In order to use this Programm with the VLC-Media-Player properly copy the "AtmoCtrlLib.dll" into the same Location where the vlc.exe is. E.G.: "D:\Programme\VLC". \r
32 \r
33 NEWER Versions of VideoLAN 1.1.x and higher, don't need a own copy of the "AtmoCtrlLib.dll" in the vlc.exe folder,\r
34 if the complete filename of the AtmoWin*.exe is given. (Atmo Filter will try to load the DLL from there)\r
35 \r
36 Then open VLC and navigate to "Extras" / "Settings" or Press "Ctrl" + "p".\r
37 Check that the radiobutton in the lower part of the dialogbox called "Show settings" -> "all" is checked.\r
38 Now open the Register "Video" and click on "Filter". There you have to select the checkbox "AtmoLight-Filter".\r
39 Afterwards you expand the Tree "Filter" in the Listbox on the left side. By selecting the entry "AtmoLight" you gain more settings.\r
40 The most important are right these one at the beginning:\r
41 \r
42 VideoLAN 1.0.x \r
43 ==============\r
44 "Use build in AtmoLight driver": \r
45 Using this Property means VLC will control the Hardware with its built in driver. \r
46 (no need for the extra AtmoWin software driver) \r
47 \r
48 VideoLAN 1.1.x \r
49 ==============\r
50 You have the following choices for "Devicetype" instead of the old settings\r
51 "AtmoWin Software" - is only available on Windows and works like the old way useing the external AtmoWin*.exe Software package, with the AtmoCtrlLib.dll.\r
52 "Classic AtmoLight" - is the same as the former "use build in AtmoLight driver" \r
53 "Quattro AtmoLight" - allows to use up to four serial connected class AtmoLight devices, as one logical device\r
54 "DMX" - allows to control a simple serial DMX devices for AtmoLight effects\r
55 "MoMoLight" - is a another kind of hardware supporting 2 oder 3 channels.\r
56 (see bottom of this file - for more infos about the devices.)\r
57 \r
58 VideonLAN 1.0.x\r
59 ===============\r
60 "Serial Device / Port":\r
61 The COM-Port you are using for the hardware. E.G.: COM6 (This setting must be done if you are using the Property \r
62 "use build in AtmoLight driver" )\r
63 \r
64 VideonLAN 1.1.x\r
65 ===============\r
66 "Serial Device / Port":\r
67 The COM-Port you are using for the hardware. E.G.: COM6 (This setting must be done if you are using a device\r
68 other than "AtmoWin Software") \r
69 in the case of the device "Quattro AtmoLight" you may specify up to four ports/devices seperated by\r
70 , or ; for example if you are useing two physical devices write\r
71 COM6;COM7 or on linux /dev/ttyUSB1;/dev/ttyUSB2\r
72 \r
73 VideoLAN 1.0.x\r
74 ==============\r
75 "Filename of AtmoWinA.exe":\r
76 The Path and the Name of the executable. E.G.:\r
77 'D:\atmoWin_0.45\AtmoWinA.exe' (Using this setting expects that you have copied "AtmoCtrlLib.dll" to the Path where VLC.exe is like described before)\r
78 \r
79 VideoLAN 1.1.x\r
80 ==============\r
81 "Filename of AtmoWinA.exe":\r
82 The Path and the Name of the executable. E.G.:\r
83 'D:\atmoWin_0.45\AtmoWinA.exe' \r
84 in the same path where the .exe resides the "AtmoCtrlLib.dll" should be there. or you may need to place\r
85 a copy of this ".dll" into the vlc.exe folder - like in VideoLAN 1.0.x\r
86 \r
87 Afterwards you should apply those settings by pressing the button "Save".\r
88 \r
89 \r
90 \r
91 \r
92 VideoLAN 1.1.x - new options and settings\r
93 =========================================\r
94 Zone Layout for the build-in Atmo\r
95 =================================\r
96 This is the most important change I think - because the number of analyzed zones isn't\r
97 longer fixed to 4 or 5 - it allows to define the physical layout of your lights arround\r
98 the screen.\r
99 "Number of zones on top"     -- how many light sources are place on top of the screen\r
100                                (number of columns in which the screen should be tiled)\r
101 \r
102 "Number of zones on bottom"  -- how many light sources are place on bottom of the screen\r
103                                (number of columns in which the screen should be tiled)\r
104 \r
105 "Zones on left / right side" -- how many light sources are place on right/left of the screen\r
106                                (number of rows in which the screen should be tiled)\r
107                                its assumed that the number on right and left is equal.\r
108 \r
109 "[] Calculate a average zone" -- define a color pair depending on the complete screen content\r
110 \r
111 This settings tiles the screen into a number of zones - which get analyzed by atmoLight to\r
112 determine a most used color for these areas - each zone has a number starting from zero.\r
113 The zones are usualy numbered in clock-wise order starting at the top/left of the screen.\r
114 \r
115 Example 1: classic Atmo with 4 channels\r
116 ---------------------------------------\r
117 "Number of zones on top" = 1\r
118 "Number of zones on bottom" = 1\r
119 "Zones on left / right side" = 1\r
120 "[] Calculate a average zone" = false/0 not checked.\r
121 \r
122 will produce this zone layout\r
123      ----------- \r
124      | Zone 0  | \r
125 ---------------------\r
126 |   |           |   |  \r
127 | Z |           | Z | \r
128 | o |           | o |\r
129 | n |           | n |\r
130 | e |           | e |  \r
131 |   |           |   | \r
132 | 3 |           | 1 |   \r
133 ---------------- ----\r
134      | Zone 2  |\r
135      -----------\r
136 \r
137 \r
138 Example 2: classic Atmo with 4 channels\r
139 ---------------------------------------\r
140 "Number of zones on top" = 2\r
141 "Number of zones on bottom" = 0\r
142 "Zones on left / right side" = 1\r
143 "[] Calculate a average zone" = false/0 not checked.\r
144 \r
145      ----------- -----------\r
146      | Zone 0  | | Zone 1  |\r
147 ---------------------------------\r
148 |   |                       |   |  \r
149 | Z |                       | Z | \r
150 | o |                       | o |\r
151 | n |                       | n |\r
152 | e |                       | e |  \r
153 |   |                       |   | \r
154 | 3 |                       | 2 |   \r
155 -----                       -----\r
156 \r
157 Example 3: classic Atmo with 4 channels\r
158 ---------------------------------------\r
159 "Number of zones on top" = 1\r
160 "Number of zones on bottom" = 0\r
161 "Zones on left / right side" = 1\r
162 "[X] Calculate a average zone" = true/1 checked.\r
163  \r
164      ----------- \r
165      | Zone 0  | \r
166 ---------------------\r
167 |   | --------  |   |  \r
168 | Z | |  Z    | | Z | \r
169 | o | |  o    | | o |\r
170 | n | |  n    | | n |\r
171 | e | |  e    | | e |  \r
172 |   | |  3    | |   | \r
173 | 2 | --------  | 1 |   \r
174 -----           -----\r
175 Zone 3 - usualy calcuates the most used color of the full screen / picture / frame\r
176 not only at the border of the picture.\r
177 \r
178 "The average zone" is allways the last in the sequence of numbers.\r
179 \r
180 \r
181      \r
182 the weightning gradients for these zones are auto calculated\r
183 from 100% .. 0% starting from the edge.\r
184 \r
185 thats also the cause why the parameters  Channel assignment changed,\r
186 the classic comboboxes are still there for devices with 4 channels ot less,\r
187 but for newer devices the "Channel / Zone assignment" should be used which\r
188 is defined by a , or ; separated list of "AtmoLight channel numbers" if you\r
189 want to hide a calcuated zone from output - you can assign channel -1 to\r
190 do this. \r
191 for classic AtmoLight with "Example 1" you may write this:\r
192 -1;3;2;1;0 \r
193 AtmoLight Channel 0: gets no zone assigned (-1)\r
194 AtmoLight Channel 1: gets zone 3 (left)\r
195 AtmoLight Channel 2: gets zone 2 (bottom)\r
196 AtmoLight Channel 3: gets zone 1 (right)\r
197 AtmoLight Channel 4: gets zone 0 (top)\r
198 \r
199 \r
200 Also the settings for Gradient images change for the new devices, its no longer\r
201 sufficient to speficy only 5 image name - because the number of zones is no longer\r
202 fixed to five.\r
203 So its prefered to set a path ("Gradient Bitmap searchpath"), where files \r
204 like "zone_0.bmp" "zone_1.bmp" etc. exists. (with the same rules as defined for \r
205 the old zone bitmaps.)\r
206 --> I think in most cases its no longer required to use this option,\r
207 to change the zone layout - for most cases its sufficient to change \r
208 "Zone Layout for the build-in Atmo" to get the same effect?\r
209 \r
210 Live Set of parameters for Buildin AtmoLight\r
211 ============================================\r
212 durring playback with the buildin driver you can now change some settings\r
213 of the filter without stopping / starting your movie - just open the\r
214 "extras" --> "Effects and Filters"  --> [Video effects] --> [AtmoLight]\r
215 - move the sliders or change the calcuation mode, or enable/disable\r
216 the debug grid - just in time.\r
217 \r
218 \r
219 new Debugging Option\r
220 ====================\r
221 [] Mark analyzed pixels - puts a grid of the used pixels on each frame\r
222 to see from which locations/positions the colors are extracted.\r
223 \r
224 DMX Options\r
225 -----------\r
226 like the group says only for the DMX device\r
227 "Count of AtmoLight Channels" - defines how many RGB Channels should be simulated\r
228 with this DMX device (each RGB channel needs three DMX channels!)\r
229 \r
230 "DMX adress for each channel" - defines the DMX Startadress for each AtmoLight\r
231 channel as "," or ";" separated list. (starting with 0 up to 252) it is assumed\r
232 that the f.e. of the DMX-AtmoLight channel starts at DMX-Channel 5 - that\r
233 DMX-Channel 5: is red\r
234 DMX-Channel 6: is green\r
235 DMX-Channel 7: is blue!\r
236 \r
237 MoMoLight options\r
238 -----------------\r
239 "Count of channels" - defines the devicetype and serial protocol \r
240 3: - means 3 channels hardware\r
241 4: - means 4 channels hardware\r
242 (its required to set the correct number of channels to get this device working,\r
243  because the serial protocol isn't the same!)\r
244 \r
245 \r
246 \r
247 VideoLan Options and Devices - the buildin version of AtmoLight supports a subset of the\r
248 devices that AtmoWin supports.\r
249 \r
250 - AtmoWin Software - means do not use the VLC buildin video processing - just forward\r
251   the basic preprocessed data to the launched AtmoWinA.exe controlling your hardware.\r
252 \r
253 - Classic AtmoLight - means the classic hardware from www.vdr-portal.de - with up to 5 channels. \r
254 \r
255 - Quattro AtmoLight - is nothing else as that you have connected up to 4 "classic AtmoLight" devices\r
256   to your computer creating a up 16 channel Atmo Light - each devices needs its own serial port.\r
257   you have to write the ports seperated by , or ; to [Serial Port/device] f.e. COM3,COM4,COM5 or on \r
258   Linux /dev/ttyUSB01,/dev/ttyUSB02,/dev/ttyUSB03\r
259 \r
260 - DMX - stands for a simple DMX controller which can control up to 255 DMX devices (lights)\r
261   - f.e. you may have a look here: \r
262      * http://www.dzionsko.de/elektronic/index.htm\r
263      * http://www.ulrichradig.de/ (search for dmx on his page)\r
264  \r
265 - MoMoLight - is a serial device, with 3 or 4 channels - doing nearly the same like\r
266   Classic AtmoLight - just another protocol to control the hardware.\r
267    http://lx.divxstation.com/article.asp?aId=151\r
268    http://www.the-boss.dk/pages/momolight.htm\r
269 \r
270 \r
271 \r
272 \r
273 \r
274 Original Readme - of the Linux Version - from where some code was used\r
275 to do the color calculations ...\r
276 \r
277 ######################################################################\r
278 Original Readme and Authors of the Linux VDR Plugin!\r
279 ######################################################################\r
280 \r
281 Written by:                  Eike Edener   <vdr@edener.de>\r
282 Project's homepage:          www.edener.de\r
283 Latest version available at: www.edener.de\r
284 See the file COPYING for license information.\r
285 ----------------------------------------------------------------------\r
286 \r
287 for detailed informations visit the VDR-Wiki:\r
288 http://www.vdr-wiki.de/wiki/index.php/Atmo-plugin\r
289 \r
290 Development:\r
291 http://www.vdr-portal.de/board/thread.php?threadid=48574\r
292 \r
293 Known bugs:\r
294 n/a\r
295 \r
296 ----------------------------------------------------------------------\r