]> git.sesse.net Git - casparcg/blob - CHANGELOG
[AMCP] #517 Fixed bug where CINF only returned the first match
[casparcg] / CHANGELOG
1 C H A N G E S\r
2 \r
3 CasparCG 2.1.0 Next (w.r.t 2.1.0 Beta 1)\r
4 ========================================\r
5 \r
6 General\r
7 -------\r
8 \r
9   o Fail early with clear error message if configured paths are not\r
10     creatable/writable.\r
11   o Added backwards compatibility (with deprecation warning) for using\r
12     thumbnails-path instead of thumbnail-path in casparcg.config.\r
13   o Suppress the logging of full path names in stack traces so that only the\r
14     relative path within the source tree is visible.\r
15   o General stability improvements.\r
16   o Native thread id is now logged in Linux as well. Finally they are mappable\r
17     against INFO THREADS, ps and top.\r
18   o Created automatically generated build number, so that it is easier to see\r
19     whether a build is newer or older than an other.\r
20   o Changed configuration element mipmapping_default_on to mipmapping-default-on\r
21     for consistency with the rest of the configuration (Jesper Stærkær).\r
22   o Handle stdin EOF as EXIT.\r
23   o Added support for RESTART in Linux startup script run.sh.\r
24   o Copy casparcg_auto_restart.bat into Windows releases.\r
25 \r
26 Consumers\r
27 ---------\r
28 \r
29   o FFmpeg consumer:\r
30     + Fixed long overdue bug where HD material was always recorded using the\r
31       BT.601 color matrix instead of the BT.709 color matrix. RGB codecs like\r
32       qtrle was never affected but all the YCbCr based codecs were.\r
33     + Fixed bug in parsing of paths containing -.\r
34   o DeckLink consumer:\r
35     + Fixed possible dead-lock in frame queue.\r
36 \r
37 Producers\r
38 ---------\r
39 \r
40   o FFmpeg producer:\r
41     + Increased the max number of frames that audio/video can be badly\r
42       interleaved with (Dimitry Ishenko).\r
43     + Fixed bug where decoders sometimes requires more than one video packet to\r
44       decode the first frame.\r
45   o Framerate producer:\r
46     + Fixed bug when INFO was used on a not yet playing framerate producer.\r
47   o HTML producer:\r
48     + Fixed bug where only URL:s with . in them where recognized.\r
49 \r
50 Mixer\r
51 -----\r
52 \r
53   o Fixed bug in the contrast/saturation/brightness code where the wrong luma\r
54     coefficients was used.\r
55   o Rewrote the chroma key code to support variable hue, instead of fixed green\r
56     or blue. Threshold setting was removed in favour of separate hue width,\r
57     minimum saturation and minimum brightness constraints.\r
58 \r
59 AMCP\r
60 ----\r
61 \r
62   o INFO PATHS now adds all the path elements even if they are using the default\r
63     values.\r
64   o MIXER CHROMA syntax deprecated (still supported) in favour of the more\r
65     advanced syntax required by the rewritten chroma key code.\r
66   o Added special command REQ that can be prepended before any command to\r
67     identify the response with a client specified request id, allowing a client\r
68     to know exactly what asynchronous response matched a specific request.\r
69   o Added support for listing contents of a specific directory for CLS, TLS,\r
70     DATA LIST and THUMBNAIL LIST.\r
71   o Fixed bug where CINF only returned the first match.\r
72 \r
73 \r
74 \r
75 CasparCG 2.1.0 Beta 1 (w.r.t 2.0.7 Stable)\r
76 ==========================================\r
77 \r
78 General\r
79 -------\r
80 \r
81   o 64 bit!\r
82   o Linux support!\r
83     + Moved to CMake build system for better platform independence.\r
84       + Contributions before build system switch (not w.r.t 2.0.7 Stable):\r
85         + gitrev.bat adaptions for 2.1 (Thomas Kaltz III).\r
86     + Thanks to our already heavy use of the pimpl idiom, abstracting platform\r
87       specifics was easily done by having different versions of the .cpp files\r
88       included in the build depending on target platform. No #ifdef necessary,\r
89       except for in header only platform specific code.\r
90     + Flash, Bluefish and NewTek modules are not ported to the Linux build.\r
91     + Contributions during development (not w.r.t 2.0.7 Stable):\r
92       + Fixed compilation problems in Linux build (Dimitry Ishenko).\r
93       + Fixed compilation problem in GCC 5 (Krzysztof Pyrkosz).\r
94       + Fixed thumbnail image saving on Linux (Krzysztof Pyrkosz).\r
95       + Fixed compilation problem in PSD module (Krzysztof Pyrkosz).\r
96   o Major code refactoring:\r
97     + Mixer abstraction so different implementations can be created. Currently\r
98       CPU mixer and GPU mixer (previously the usage of the GPU was mandatory)\r
99       exists.\r
100     + Flattened folder structure for easier inclusion of header files.\r
101     + Many classes renamed to better describe the abstractions they provide.\r
102     + Sink parameters usually taken by value and moved into place instead of\r
103       taken by const reference as previously done.\r
104     + Old Windows specific AsyncEventServer class has been replaced by platform\r
105       independent implementation based on Boost.Asio.\r
106     + Pimpl classes are now stack allocated with internal shared_ptr to\r
107       implementation, instead of both handle and body being dynamically\r
108       allocated. This means that objects are now often passed by value instead\r
109       of via safe_ptr/shared_ptr, because they are internally reference counted.\r
110     + Protocol strategies are now easier to implement correctly, because of\r
111       separation of state between different client connections.\r
112     + Complete AMCP command refactoring.\r
113     + On-line help system that forces the developer to document AMCP commands,\r
114       producer syntaxes and consumer syntaxes making the documentation coupled\r
115       to the code, which is great.\r
116       + Added missing help for VERSION command (Jesper Stærkær).\r
117     + Upgraded Windows build to target Visual Studio 2015 making it possible to\r
118       use the C++11 features also supported by GCC 4.8 which is targeted on\r
119       Linux.\r
120       + Fixed compilation problems in Visual Studio 2015 Update 1\r
121         (Roman Tarasov)\r
122     + Created abstraction of the different forms of templates (flash, html, psd\r
123       and scene). Each module registers itself as a CG producer provides. All CG\r
124       commands transparently works with all of them.\r
125     + Audio mixer now uses double samples instead of float samples to fully\r
126       accommodate all int32 samples.\r
127     + Reduced coupling between core and modules (and modules and modules):\r
128       + Modules can register system info providers to contribute to INFO SYSTEM.\r
129       + XML configuration factories for adding support for new consumer elements\r
130         in casparcg.config.\r
131       + Server startup hooks can be registered (used by HTML producer to fork\r
132         its sub process).\r
133       + Version providers can contribute content to the VERSION command.\r
134   o Refactored multichannel audio support to use FFmpeg's PAN filter and\r
135     simplified the configuration a lot.\r
136   o Upgraded most third party libraries we depend on.\r
137   o Some unit tests have been created.\r
138   o Renamed README.txt to README, CHANGES.txt to CHANGELOG and LICENSE.txt to\r
139     LICENSE\r
140   o Created README.md for github front page in addition to README which is\r
141     distributed with builds.\r
142   o README file updates (Jonas Hummelstrand).\r
143   o Created BUILDING file describing how to build the server on Windows and\r
144     Linux.\r
145   o Diagnostics:\r
146     + Now also sent over OSC.\r
147     + Diag window is now scrollable and without squeezing of graphs.\r
148     + Contextual information such as video channel and video layer now included\r
149       in graphs.\r
150   o Logging:\r
151     + Implemented a TCP server, simply sending every log line to each connected\r
152       client. Default port is 3250.\r
153     + Changed default log level to info and moved debug statements that are\r
154       interesting in a production system to info.\r
155     + Try to not log full stack traces when user error is the cause. Stacktraces\r
156       should ideally only be logged when a system error or a programming error\r
157       has occurred.\r
158     + More contextual information about an error added to exceptions. An example\r
159       of this is that XML configuration errors now cause the XPath of the error\r
160       is logged.\r
161     + Improved the readability of the log format.\r
162     + Added optional calltrace.log for logging method calls. Allows for trace\r
163       logging to be enabled while calltracing is disabled etc.\r
164 \r
165 OSC\r
166 ---\r
167 \r
168   o Improved message formatting performance.\r
169   o Added possibility to disable sending OSC to connected AMCP clients.\r
170   o Fixed inconsistent element name predefined_client to predefined-client in\r
171     casparcg.config (Krzysztof Pyrkosz).\r
172 \r
173 Consumers\r
174 ---------\r
175 \r
176   o System audio consumer:\r
177     + Pushes data to openal instead of being callbacked by SFML when data is\r
178       needed.\r
179     + Added possibility to specify the expected delay in the sound card. Might\r
180       help get better consumer synchronization.\r
181   o Screen consumer:\r
182     + Added mouse interaction support, usable by the producers running on the\r
183       video channel.\r
184   o FFmpeg consumer:\r
185     + Replaced by Streaming Consumer after it was adapted to support everything\r
186       that FFmpeg Consumer did.\r
187     + Added support for recording all audio channels into separate mono audio\r
188       streams.\r
189     + Now sends recording progress via OSC.\r
190   o SyncTo consumer:\r
191     + New in 2.1.0.\r
192     + Allows the pace of a channel to follow another channel. This is useful for\r
193       virtual "precomp" channels without a DeckLink consumer to pace it.\r
194   o DeckLink consumer:\r
195     + Added workaround for timescale bug found in Decklink SDK 10.7.\r
196     + Now ScheduledFrameCompleted is no longer only used for video scheduling\r
197       but for audio as well, simplifying the code a lot.\r
198   o iVGA consumer:\r
199     + No longer provides sync to the video channel.\r
200     + Supports NewTek NDI out of the box just by upgrading the\r
201       Processing.AirSend library.\r
202   \r
203 Producers\r
204 ---------\r
205 \r
206   o Scene producer:\r
207     + New in 2.1.0.\r
208     + Utilizes CasparCG concepts such as producers, mixer transforms and uses\r
209       them in a nested way to form infinite number of sub layers. Think movie\r
210       clip in Flash.\r
211     + A scene consists of variables, layers, timelines and marks (intro and\r
212       outro for example).\r
213     + Mostly for use by other producers but comes with a XML based producer that\r
214       is a registered CG producer and shows up in TLS.\r
215     + Enables frame accurate compositions and animations.\r
216     + Has a powerful variable binding system (think expressions in After Effects\r
217       or JavaFX Bindings).\r
218   o PSD producer:\r
219     + New in 2.1.0.\r
220     + Parses PSD files and sets up a scene for the Scene producer to display.\r
221     + Text layers based on CG parameters.\r
222     + Supports Photoshop timeline.\r
223     + Uses Photoshop comment key-frames to describe where intro and outro (CG\r
224       PLAY and CG STOP) should be in the timeline.\r
225     + Shows up as regular templates in TLS.\r
226   o Text producer:\r
227     + New in 2.1.0.\r
228     + Renders text using FreeType library.\r
229     + Is used by the PSD producer for dynamic text layers.\r
230   o Image scroll producer:\r
231     + Speed can be changed while running using a CALL. The speed change can be\r
232       tweened.\r
233     + Added support for an absolute end time so that the duration is calculated\r
234       based on when PLAY is called for shows when an exact end time is\r
235       important.\r
236   o Image producer:\r
237     + Fixed bug where too large (OpenGL limit) images were accepted, causing\r
238       problems during thumbnail generation.\r
239   o Framerate producer:\r
240     + New in 2.1.0.\r
241     + Wraps a producer with one framerate and converts it to another. It is not\r
242       usable on its own but is utilized in the FFmpeg producer and the DeckLink\r
243       consumer.\r
244     + Supports different interpolation algorithms. Currently a no-op\r
245       drop-and-repeat mode and a two different frame blending modes.\r
246     + It also supports changing the speed on demand with tweening support.\r
247   o FFmpeg producer:\r
248     + Supports decoding all audio streams from a clip. Useful with .mxf files\r
249       which usually have separate mono streams for every audio channel.\r
250     + No longer do framerate conversion (half or double), but delegates that\r
251       task to the Framerate producer.\r
252     + Added support for v4l2 devices.\r
253     + Added relative and "from end" seeking (Dimitry Ishenko).\r
254     + Contributions during development (not w.r.t 2.0.7 Stable):\r
255       + Fixed 100% CPU problem on clip EOF (Peter Keuter, Robert Nagy).\r
256       + Constrained SEEK within the length of a clip (Dimitry Ishenko).\r
257       + Fixed a regular expression (Dimitry Ishenko).\r
258   o DeckLink producer:\r
259     + No longer do framerate conversion (half or double), but delegates that\r
260       task to the Framerate producer.\r
261   o Route producer:\r
262     + Added possibility to delay frames routed from a layer or a channel.\r
263   o HTML Producer:\r
264     + Disabled web security in HTML Producer (Robert Nagy).\r
265     + Reimplemented requestAnimationFrame handling in Javascript instead of C++.\r
266     + Implemented cancelAnimationFrame.\r
267     + Increased animation smoothness in HTML Producer with interlaced video\r
268       modes.\r
269     + Added remote debugging support.\r
270     + Added mouse interaction support by utilizing the Screen consumer's new\r
271       interaction support.\r
272   o Flash Producer:\r
273     + Contributions during development (not w.r.t 2.0.7 Stable):\r
274       + Workaround for flickering with high CPU usage and CPU accelerator\r
275         (Robert Nagy)\r
276 \r
277 AMCP\r
278 ----\r
279 \r
280   o TLS has a new column for "template type" for clients that want to\r
281     differentiate between html and flash for example.\r
282   o SET CHANNEL_LAYOUT added to be able to change the audio channel layout of a\r
283     video channel at runtime.\r
284   o HELP command added for accessing the new on-line help system.\r
285   o FLS added to list the fonts usable by the Text producer.\r
286   o LOCK command added for controlling/gaining exclusive access to a video\r
287     channel.\r
288   o LOG CATEGORY command added to enable/disable the new log categories.\r
289   o SWAP command now optionally supports swapping the transforms as well as the\r
290     layers.\r
291   o VERSION command can now provide CEF version.\r
292 \r
293 \r
294 \r
295 CasparCG Server 2.0.7 Stable (as compared to CasparCG Server 2.0.7 Beta 2)\r
296 ==========================================================================\r
297 \r
298 General\r
299 -------\r
300 \r
301   o Added support for using a different configuration file at startup than the\r
302     default casparcg.config by simply adding the name of the file to use as the\r
303     first command line argument to casparcg.exe.\r
304   o Upgraded FFmpeg to latest stable.\r
305   o Created build script.\r
306   o Fixed bug where both layer_producer and channel_producer display:s and\r
307     empty/late first frame when the producer is called before the consumer in\r
308     the other end has received the first frame.\r
309   o Added rudimentary support for audio for layer_producer and channel_producer.\r
310   o Upgraded DeckLink SDK to 10.1.4, bringing new 2K and 4K DCI video modes. New\r
311     template hosts also available for those modes.\r
312   o General bug fixes (mostly memory and resource leaks, some serious).\r
313   o Updated Boost to version 1.57\r
314   o Frontend no longer maintained and therefore not included in the release.\r
315 \r
316 Mixer\r
317 -----\r
318 \r
319   o Added support for rotation.\r
320   o Added support for changing the anchor point around which fill_translation,\r
321     fill_scale and rotation will be done from.\r
322   o Added support for perspective correct corner pinning.\r
323   o Added support for mipmapped textures with anisotropic filtering for\r
324     increased downscaling quality. Whether to enable by default can be\r
325     configured in casparcg.config.\r
326   o Added support for cropping a layer. Not the same as clipping.\r
327 \r
328 AMCP\r
329 ----\r
330 \r
331   o Added RESUME command to complement PAUSE. (Peter Keuter)\r
332   o To support the new mixer features the following commands has been added:\r
333 \r
334     + MIXER ANCHOR -- will return or modify the anchor point for a layer\r
335       (default is 0 0 for backwards compatibility). Example:\r
336       MIXER 1-10 ANCHOR 0.5 0.5\r
337       ...for changing the anchor to the middle of the layer\r
338       (a MIXER 1-10 FILL 0.5 0.5 1 1 will be necessary to place the layer at the\r
339       same place on screen as it was before).\r
340 \r
341     + MIXER ROTATION -- will return or modify the angle of which a layer is\r
342       rotated by (clockwise degrees) around the point specified by ANCHOR.\r
343 \r
344     + MIXER PERSPECTIVE -- will return or modify the corners of the perspective\r
345       transformation of a layer. One X Y pair for each corner (order upper left,\r
346       upper right, lower right and lower left). Example:\r
347       MIXER 1-10 PERSPECTIVE 0.4 0.4 0.6 0.4 1 1 0 1\r
348 \r
349     + MIXER MIPMAP -- will return or modify whether to enable mipmapping of\r
350       textures produced on a layer. Only frames produced after a change will be\r
351       affected. So for example image_producer will not be affected while the\r
352       image is displayed.\r
353 \r
354     + MIXER CROP -- will return or modify how textures on a layer will be\r
355       cropped. One X Y pair each for the upper left corner and for the lower\r
356       right corner.\r
357 \r
358   o Added INFO QUEUES command for debugging AMCP command queues. Useful for\r
359     debugging command queue overflows, where a command is deadlocked. Hopefully\r
360     always accessible via console, even though the TCP command queue may be\r
361     full.\r
362   o Added GL command:\r
363     - GL INFO prints information about device buffers and host buffers.\r
364     - GL GC garbage collects pooled but unused GL resources.\r
365   o Added INFO THREADS command listing the known threads and their descriptive\r
366     names. Can be matched against the thread id column of log entries.\r
367 \r
368 Consumers\r
369 ---------\r
370 \r
371   o Removed blocking_decklink_consumer. It was more like an experiment at best\r
372     and its usefulness was questionable.\r
373   o Added a 10 second time-out for consumer sends, to detect/recover from\r
374     blocked consumers.\r
375   o Some consumers which are usually added and removed during playout (for\r
376     example ffmpeg_consumer, streaming_consumer and channel_consumer) no longer\r
377     affect the presentation time on other consumers. Previously a lag on the SDI\r
378     output could be seen when adding such consumers.\r
379 \r
380 HTML producer\r
381 -------------\r
382 \r
383   o No longer tries to play all files with a . in their name.\r
384     (Georgi Chorbadzhiyski)\r
385   o Reimplemented using CEF3 instead of Berkelium, which enables use of WebGL\r
386     and more. CEF3 is actively maintained, which Berkelium is not. (Robert Nagy)\r
387   o Implements a custom version of window.requestAnimationFrame which will\r
388     follow the pace of the channel, for perfectly smooth animations.\r
389   o No longer manually interlaces frames, to allow for mixer fill transforms\r
390     without artifacts.\r
391   o Now uses CEF3 event loop to avoid 100% CPU core usage.\r
392 \r
393 \r
394 \r
395 CasparCG Server 2.0.7 Beta 2 (as compared to CasparCG Server 2.0.7 Beta 1)\r
396 ==========================================================================\r
397 \r
398 General\r
399 -------\r
400 \r
401   o Added sending of OSC messages for channel_grid channel in addition to\r
402     regular channels.\r
403 \r
404 Producers\r
405 ---------\r
406 \r
407   o FFmpeg: Reports correct nb_frames() when using SEEK (Thomas Kaltz III)\r
408   o Flash: Fixed bug where CG PLAY, CG INVOKE did not work.\r
409 \r
410 Consumers\r
411 ---------\r
412 \r
413   o channel_consumer: Added support for more than one channel_consumer per\r
414     channel.\r
415   o decklink_consumer: Added support for a single instance of the consumer to\r
416     manage a separate key output for use with DeckLink Duo/Quad cards:\r
417 \r
418     <decklink>\r
419       <device>1</device>\r
420       <key-device>2</key-device>\r
421       <keyer>external_separate_device</keyer>\r
422     </decklink>\r
423 \r
424     ...in the configuration will enable the feature. The value of <key-device />\r
425     defaults to the value of <device /> + 1.\r
426   o synchronizing_consumer: Removed in favour of a single decklink_consumer\r
427     managing both fill and key device.\r
428   o streaming_consumer: A new implementation of ffmpeg_consumer with added\r
429     support for streaming and other PTS dependent protocols. Examples:\r
430 \r
431     <stream>\r
432       <path>udp://localhost:5004</path>\r
433       <args>-vcodec libx264 -tune zerolatency -preset ultrafast -crf 25 -format mpegts -vf scale=240:180</args>\r
434     </stream>\r
435 \r
436     ...in configuration or:\r
437 \r
438     ADD 1 STREAM udp://localhost:5004 -vcodec libx264 -tune zerolatency -preset ultrafast -crf 25 -format mpegts -vf scale=240:180\r
439 \r
440     ...via AMCP. (Robert Nagy sponsored by Ericsson Broadcasting Services)\r
441   o newtek_ivga_consumer: Added support for iVGA consumer to not provide channel\r
442     sync even though connected. Useful for iVGA clients that downloads as fast\r
443     as possible instead of in frame-rate pace, like Wirecast. To enable:\r
444 \r
445     <newtek-ivga>\r
446       <provide-sync>false</provide-sync>\r
447     </newtek-ivga>\r
448 \r
449     ...in config to not provide channel sync when connected. The default is\r
450     true.\r
451 \r
452 AMCP\r
453 ----\r
454 \r
455   o Added support in ADD and REMOVE for a placeholder <CLIENT_IP_ADDRESS> which\r
456     will resolve to the connected AMCP client's IPV4 address.\r
457   o Fixed bug where AMCP commands split into multiple TCP packets where not\r
458     correctly parsed (http://casparcg.com/forum/viewtopic.php?f=3&t=2480)\r
459 \r
460 \r
461 \r
462 CasparCG Server 2.0.7 Beta 1 (as compared to 2.0.6 Stable)\r
463 ==========================================================\r
464 \r
465 General\r
466 -------\r
467   o FFmpeg: Upgraded to master and adapted CasparCG to FFmpeg API changes\r
468     (Robert Nagy sponsored by SVT)\r
469   o FFmpeg: Fixed problem with frame count calculation (Thomas Kaltz III)\r
470   o Fixed broken CG UPDATE.\r
471 \r
472 Producers\r
473 ---------\r
474 \r
475   o New HTML producer has been created (Robert Nagy sponsored by Flemish Radio\r
476     and Television Broadcasting Organization, VRT)\r
477 \r
478 \r
479 \r
480 CasparCG Server 2.0.6 Stable (as compared to 2.0.4 Stable)\r
481 ==========================================================\r
482 \r
483 General\r
484 -------\r
485   o iVGA: Allow for the server to work without Processing.AirSend.x86.dll to\r
486     prevent a possible GPL violation. It is available as a separate optional\r
487     download.\r
488   o iVGA: Only provide sync to channel while connected, to prevent channel\r
489     ticking too fast.\r
490   o FFmpeg: Fixed bug during deinterlace-bob-reinterlace where output fields\r
491     were offset by one field in relation to input fields.\r
492   o FFmpeg: Fixed bug in ffmpeg_consumer where an access violation occurred\r
493     during destruction.\r
494   o FFmpeg: Improved seeking. (Robert Nagy and Thomas Kaltz III)\r
495   o Frontend: Only writes elements to casparcg.config which overrides a default\r
496     value to keep the file as compact as possible.\r
497   o System audio: Patched sfml-audio to work better with oal-consumer and\r
498     therefore removed PortAudio as the system audio implementation and went back\r
499     to oal.\r
500   o Flash: Changed so that the initial buffer fill of frames is rendered at a\r
501     frame-duration pace instead of as fast as possible. Otherwise time based\r
502     animations render incorrectly. During buffer recovery, a higher paced\r
503     rendering takes place, but still not as fast as possible, which can cause\r
504     animations to be somewhat incorrectly rendered. This is the only way though\r
505     if we want the buffer to be able to recover after depletion.\r
506   o Fixed race condition during server shutdown.\r
507   o OSC: outgoing audio levels from the audio mixer for each audio channel is\r
508     now transmitted (pFS and dBFS). (Thomas Kaltz III)\r
509   o Stage: Fixed bug where tweened transforms were only ticked when a\r
510     corresponding layer existed.\r
511   o Screen consumer: Added borderless option and correct handling of name\r
512     option. (Thomas Kaltz III)\r
513   o AMCP: CLS now reports duration and framerate for MOVIE files were\r
514     information is possible to extract. (Robert Nagy)\r
515   o Version bump to keep up with CasparCG Client version.\r
516 \r
517 \r
518 \r
519 CasparCG Server 2.0.4 Stable (as compared to 2.0.4 Beta 1)\r
520 ==========================================================\r
521 \r
522 General\r
523 -------\r
524   o Can now open media with file names that only consist of digits.\r
525     (Cambell Prince)\r
526   o Miscellaneous stability and performance improvements.\r
527 \r
528 Video mixer\r
529 -----------\r
530   o Conditional compilation of chroma key support and straight alpha output\r
531     support in shader (just like with blend-modes) because of performance impact\r
532     even when not in use on a layer or on a channel. New <mixer /> element added\r
533     to configuration for turning on mixer features that not everybody would want\r
534     to pay for (performance-wise.) blend-modes also moved into this element.\r
535   o Fixed bug where MIXER LEVELS interpreted arguments in the wrong order, so \r
536     that gamma was interpreted as max_input and vice versa.\r
537 \r
538 Consumers\r
539 ---------\r
540   o Added support for NewTek iVGA, which enables the use of CasparCG Server \r
541     fill+key output(s) as input source(s) to a NewTek TriCaster without \r
542     requiring video card(s) in the CasparCG Server machine, or taking up inputs\r
543     in the TriCaster. <newtek-ivga /> element in config enables iVGA on a\r
544     channel. (Robert Nagy sponsored by NewTek)\r
545   o DeckLink: Created custom decklink allocator to reduce the memory footprint.\r
546   o Replaced usage of SFML for <system-audio /> with PortAudio, because of\r
547     problems with SFML since change to static linkage. Also PortAudio seems to\r
548     give lower latency.\r
549 \r
550 Producers\r
551 ---------\r
552   o FFmpeg: Added support for arbitrary FFmpeg options/parameters\r
553     in ffmpeg_producer. (Cambell Prince)\r
554   o Flash: Flash Player 11.8 now tested and fully supported.\r
555   o Flash: No longer starts a Flash Player to service CG commands that mean\r
556     nothing without an already running Flash Player.\r
557   o Flash: globally serialize initialization and destruction of Flash Players,\r
558     to avoid race conditions in Flash.\r
559   o Flash: changed so that the Flash buffer is filled with Flash Player\r
560     generated content at initialization instead of empty frames.\r
561 \r
562 OSC\r
563 ---\r
564   o Performance improvements. (Robert Nagy sponsored by Boffins Technologies)\r
565   o Never sends old values to OSC receivers. Collects the latest value of each\r
566     path logged since last UDP send, and sends the new UDP packet (to each\r
567     subscribing OSC receiver) with the values collected. (Robert Nagy sponsored\r
568     by Boffins Technologies)\r
569   o Batches as many OSC messages as possible in an OSC bundle to reduce the \r
570     number of UDP packets sent. Breakup into separate packages if necessary to \r
571     avoid fragmentation. (Robert Nagy sponsored by Boffins Technologies)\r
572   o Removed usage of Microsoft Agents library (Server ran out of memory after a\r
573     while) in favour of direct synchronous invocations.\r
574 \r
575 \r
576 \r
577 CasparCG Server 2.0.4 Beta 1 (as compared to 2.0.3 Stable)\r
578 ==========================================================\r
579 \r
580 General\r
581 -------\r
582   o Front-end GUI for simplified configuration and easy access to common tasks.\r
583     (Thomas Kaltz III and Jeff Lafforgue)\r
584   o Added support for video and images file thumbnail generation. By default the\r
585     media directory is scanned every 5 seconds for new/modified/removed files\r
586     and thumbnails are generated/regenerated/removed accordingly.\r
587   o Support for new video modes: 1556p2398, 1556p2400, 1556p2500, 2160p2398,\r
588     2160p2400, 2160p2500, 2160p2997 and 2160p3000.\r
589   o Experimental ATI graphics card support by using static linking against SFML\r
590     instead of dynamic. Should improve ATI GPU support, but needs testing.\r
591   o Added support for playback and pass-through of up to 16 audio channels. See\r
592     http://casparcg.com/forum/viewtopic.php?f=3&t=1453 for more information.\r
593   o Optimizations in AMCP protocol implementations for large incoming messages,\r
594     for example base64 encoded PNG images.\r
595   o Logging output now includes milliseconds and has modified format:\r
596     YYYY-MM-DD hh:mm:ss.zzz\r
597   o Improved audio playback with 720p5994 and 720p6000 channels.\r
598   o An attempt to improve output synchronization of consumers has been made. Use\r
599     for example:\r
600 \r
601     <consumers>\r
602       <synchronizing>\r
603         <decklink>\r
604           <device>1</device>\r
605           <embedded-audio>true</embedded-audio>\r
606         </decklink>\r
607         <decklink>\r
608           <device>2</device>\r
609           <key-only>true</key-only>\r
610         </decklink>\r
611       </synchronizing>\r
612     </consumers>\r
613 \r
614     ...to instruct the server to keep both DeckLink consumers in sync with each\r
615     other. Consider this experimental, so don't wrap everything in\r
616     <synchronizing /> unless synchronization of consumer outputs is needed. For\r
617     synchronization to be effective all synchronized cards must have genlock\r
618     reference signal connected.\r
619   o Transfer of source code and issue tracker to github. (Thomas Kaltz III)\r
620 \r
621 Layer\r
622 -----\r
623   o Fixed a problem where the first frame was not always shown on LOAD.\r
624     (Robert Nagy)\r
625 \r
626 Stage\r
627 -----\r
628 \r
629   o Support for layer consumers for listening to frames coming out of producers.\r
630     (Cambell Prince)\r
631 \r
632 Audio mixer\r
633 -----------\r
634   o Added support for a master volume mixer setting for each channel.\r
635 \r
636 Video mixer\r
637 -----------\r
638   o Added support for chroma keying. (Cambell Prince)\r
639   o Fixed bug where MIXER CONTRAST set to < 1 can cause transparency issues.\r
640   o Experimental support for straight alpha output.\r
641 \r
642 Consumers\r
643 ---------\r
644   o Avoid that the FFmpeg consumer blocks the channel output when it can't keep\r
645     up with the frame rate (drops frames instead).\r
646   o Added support for to create a separate key and fill file when recording with\r
647     the FFmpeg consumer. Add the SEPARATE_KEY parameter to the FFmpeg consumer\r
648     parameter list. The key file will get the _A file name suffix to be picked\r
649     up by the separated_producer when doing playback.\r
650   o The Image consumer now writes to the media folder instead of the data\r
651     folder.\r
652   o Fixed bug in DeckLink consumer where we submit too few audio samples to the\r
653     driver when the video format has a frame rate > 50.\r
654   o Added another experimental DeckLink consumer implementation where scheduled\r
655     playback is not used, but a similar approach as in the bluefish consumer\r
656     where we wait for a frame to be displayed and then display the next frame.\r
657     It is configured via a <blocking-decklink> consumer element. The benefits of\r
658     this consumer is lower latency and more deterministic synchronization\r
659     between multiple instances (should not need to be wrapped in a\r
660     <synchronizing> element when separated key/fill is used).\r
661 \r
662 Producers\r
663 ---------\r
664   o Added support for playing .swf files using the Flash producer. (Robert Nagy)\r
665   o Image producer premultiplies PNG images with their alpha.\r
666   o Image producer can load a PNG image encoded as base64 via:\r
667     PLAY 1-0 [PNG_BASE64] <base64 string>\r
668   o FFmpeg producer can now use a directshow input filters:\r
669     PLAY 1-10 "dshow://video=Some Camera"\r
670     (Cambell Prince, Julian Waller and Robert Nagy)\r
671   o New layer producer which directs the output of a layer to another layer via\r
672     a layer consumer. (Cambell Prince)\r
673 \r
674 AMCP\r
675 ----\r
676   o The master volume feature is controlled via the MASTERVOLUME MIXER\r
677     parameter. Example: MIXER 1 MASTERVOLUME 0.5\r
678   o THUMBNAIL LIST/RETRIEVE/GENERATE/GENERATE_ALL command was added to support\r
679     the thumbnail feature.\r
680   o ADD 1 FILE output.mov SEPARATE_KEY activates the separate key feature of the\r
681     FFmpeg consumer creating an additional output_a.mov containing only the key.\r
682   o Added KILL command for shutting down the server without console access.\r
683   o Added RESTART command for shutting down the server in the same way as KILL\r
684     except that the return code from CasparCG Server is 5 instead of 0, which\r
685     can be used by parent process to take other actions. The\r
686     'casparcg_auto_restart.bat' script restarts the server if the return code is\r
687     5.\r
688   o DATA RETRIEVE now returns linefeeds encoded as an actual linefeed (the\r
689     single character 0x0a) instead of the previous two characters:\r
690     \ followed by n.\r
691   o MIXER CHROMA command added to control the chroma keying. Example:\r
692     MIXER 1-1 CHROMA GREEN|BLUE 0.10 0.04\r
693     (Cambell Prince)\r
694   o Fixed bug where MIXER FILL overrides any previous MIXER CLIP on the same\r
695     layer. The bug-fix also has the side effect of supporting negative scale on\r
696     MIXER FILL, causing the image to be flipped.\r
697   o MIXER <ch> STRAIGHT_ALPHA_OUTPUT added to control whether to output straight\r
698     alpha or not.\r
699   o Added INFO <ch> DELAY and INFO <ch>-<layer> DELAY commands for showing some\r
700     delay measurements.\r
701   o PLAY 1-1 2-10 creates a layer producer on 1-1 redirecting the output of\r
702     2-10. (Cambell Prince)\r
703 \r
704 OSC\r
705 ---\r
706   o Support for sending OSC messages over UDP to either a predefined set of\r
707     clients (servers in the OSC sense) or dynamically to the ip addresses of the\r
708     currently connected AMCP clients.\r
709     (Robert Nagy sponsored by Boffins Technologies)\r
710   o /channel/[1-9]/stage/layer/[0-9]\r
711     + always             /paused           [paused or not]\r
712     + color producer     /color            [color string]\r
713     + ffmpeg producer    /profiler/time    [render time]     [frame duration]\r
714     + ffmpeg producer    /file/time        [elapsed seconds] [total seconds]\r
715     + ffmpeg producer    /file/frame       [frame]           [total frames]\r
716     + ffmpeg producer    /file/fps         [fps]\r
717     + ffmpeg producer    /file/path        [file path]\r
718     + ffmpeg producer    /loop             [looping or not]\r
719     + during transitions /transition/frame [current frame]   [total frames]\r
720     + during transitions /transition/type  [transition type]\r
721     + flash producer     /host/path        [filename]\r
722     + flash producer     /host/width       [width]\r
723     + flash producer     /host/height      [height]\r
724     + flash producer     /host/fps         [fps]\r
725     + flash producer     /buffer           [buffered]        [buffer size]\r
726     + image producer     /file/path        [file path]\r
727 \r
728 \r
729 \r
730 CasparCG Server 2.0.3 Stable (as compared to 2.0.3 Alpha)\r
731 =========================================================\r
732 \r
733 Stage\r
734 -----\r
735 \r
736   o Fixed dead-lock that can occur with multiple mixer tweens. (Robert Nagy)\r
737 \r
738 AMCP\r
739 ----\r
740 \r
741   o DATA STORE now supports creating folders of path specified if they does not\r
742     exist. (Jeff Lafforgue)\r
743   o DATA REMOVE command was added. (Jeff Lafforgue)\r
744 \r
745 \r
746 \r
747 CasparCG Server 2.0.3 Alpha (as compared to 2.0 Stable)\r
748 =======================================================\r
749 \r
750 General\r
751 -------\r
752 \r
753   o Data files are now stored in UTF-8 with BOM. Latin1 files are still\r
754     supported for backwards compatibility.\r
755   o Commands written in UTF-8 to log file but only ASCII characters to console.\r
756   o Added supported video formats:\r
757     + 720p2398 (not supported by DeckLink)\r
758     + 720p2400 (not supported by DeckLink)\r
759     + 1080p5994\r
760     + 1080p6000\r
761     + 720p30 (not supported by DeckLink)\r
762     + 720p29.976 (not supported by DeckLink)\r
763 \r
764 CLK\r
765 ---\r
766 \r
767   o CLK protocol implementation can now serve more than one connection at a time\r
768     safely.\r
769   o Added timeline support to the CLK protocol.\r
770   o Refactored parts of the CLK parser implementation.\r
771 \r
772 Consumers\r
773 ---------\r
774 \r
775   o Consumers on same channel now invoked asynchronously to allow for proper\r
776     sync of multiple consumers.\r
777   o System audio consumer:\r
778     + no longer provides sync to the video channel.\r
779   o Screen consumer:\r
780     + Support for multiple screen consumers on the same channel\r
781     + No longer spin-waits for vsync.\r
782     + Now deinterlaces to two separate frames so for example 50i will no longer\r
783       be converted to 25p but instead to 50p for smooth playback of interlaced\r
784       content.\r
785   o DeckLink consumer now logs whether a reference signal is detected or not.\r
786 \r
787 Producers\r
788 ---------\r
789 \r
790   o Image scroll producer:\r
791     + Field-rate motion instead of frame-rate motion with interlaced video\r
792       formats. This can be overridden by giving the PROGRESSIVE parameter.\r
793     + SPEED parameter now defines pixels per frame/field instead of half pixels\r
794       per frame. The scrolling direction is also reversed so SPEED 0.5 is the\r
795       previous equivalent of SPEED -1. Movements are done with sub-pixel\r
796       accuracy.\r
797     + Fixed incorrect starting position of image.\r
798     + Rounding error fixes to allow for more exact scrolling.\r
799     + Added support for motion blur via a new BLUR parameter\r
800     + Added PREMULTIPLY parameter to support images stored with straight alpha.\r
801 \r
802 \r
803 \r
804 CasparCG Server 2.0 Stable (as compared to Beta 3)\r
805 ==================================================\r
806 \r
807 General\r
808 -------\r
809 \r
810   o Misc stability and performance fixes.\r
811 \r
812 Consumers\r
813 ---------\r
814 \r
815   o File Consumer\r
816     + Changed semantics to more closely follow FFmpeg (see forums).\r
817     + Added options, -r, -acodec, -s, -pix_fmt, -f and more.\r
818   o Screen Consumer\r
819     + Added vsync support.\r
820 \r
821 \r
822 \r
823 CasparCG Server 2.0 Beta 3 (as compared to Beta 1)\r
824 ==================================================\r
825 \r
826 Formats\r
827 -------\r
828 \r
829   o ProRes Support\r
830     + Both encoding and decoding.\r
831   o NTSC Support\r
832     + Updated audio-pipeline for native NTSC support. Previous implementation\r
833       did not fully support NTSC audio and could cause incorrect behaviour or\r
834       even crashes.\r
835 \r
836 Consumers\r
837 ---------\r
838 \r
839   o File Consumer added\r
840     + See updated wiki or ask in forum for more information.\r
841     + Should support anything FFmpeg supports. However, we will work mainly with\r
842       DNxHD, PRORES and H264.\r
843     - Key-only is not supported.\r
844   o Bluefish Consumer\r
845     + 24 bit audio support.\r
846     - Embedded-audio does not work with Epoch cards.\r
847   o DeckLink Consumer\r
848     + Low latency enabled by default.\r
849     + Added graphs for driver buffers.\r
850   o Screen Consumer\r
851     + Changed screen consumer square PAL to the more common wide-square PAL.\r
852     + Can now be closed.\r
853     + Fixed interpolation artifacts when running non-square video-modes.\r
854     + Automatically deinterlace interlaced input.\r
855 \r
856 Producers\r
857 ---------\r
858 \r
859   o DeckLink Producer\r
860     + Improved color quality be avoiding unnecessary conversion to BGRA.\r
861   o FFMPEG Producer\r
862     + Fixed missing alpha for (RGB)A formats when deinterlacing.\r
863     + Updated buffering to work better with files with long audio/video\r
864       interleaving.\r
865     + Seekable while running and after reaching EOF. CALL 1-1 SEEK 200.\r
866     + Enable/disable/query looping while running. CALL 1-1 LOOP 1.\r
867     + Fixed bug with duration calculation.\r
868     + Fixed bug with fps calculation.\r
869     + Improved auto-transcode accuracy.\r
870     + Improved seeking accuracy.\r
871     + Fixed bug with looping and LENGTH.\r
872     + Updated to newer FFmpeg version.\r
873     + Fixed incorrect scaling of NTSC DV files.\r
874     + Optimized color conversion when using YADIF filters.\r
875   o Flash Producer\r
876     + Release Flash Player when empty.\r
877     + Use native resolution TemplateHost.\r
878     + TemplateHosts are now chosen automatically if not configured. The\r
879       TemplateHost with the corresponding video-mode name is now chosen.\r
880     + Use square pixel dimensions.\r
881 \r
882 AMCP\r
883 ----\r
884 \r
885   o When possible, commands will no longer wait for rendering pipeline. This\r
886     reduces command execution latencies, especially when sending a lot of\r
887     commands in a short timespan.\r
888   o Fixed CINF command.\r
889   o ADD/REMOVE no longer require subindex,\r
890     e.g. "ADD 1 SCREEN" / "REMOVE 1 SCREEN" instead of "ADD 1-1 SCREEN" / ...\r
891   o PARAM is renamed to CALL.\r
892   o STATUS command is replaced by INFO.\r
893   o INFO command has been extended:\r
894     + INFO (lists channels).\r
895     + INFO 1 (channel info).\r
896     + INFO 1-1 (layer info).\r
897     + INFO 1-1 F (foreground producer info).\r
898     + INFO 1-1 B (background producer info).\r
899     + INFO TEMPLATE mytemplate (template meta-data info, e.g. field names).\r
900   o CG INFO command has been extended.\r
901     + CG INFO 1 (template-host information, e.g. what layers are occupied).\r
902 \r
903 Mixer\r
904 -----\r
905 \r
906   o Fixed alpha with blend modes.\r
907   o Automatically deinterlace for MIXER FILL commands.\r
908 \r
909 Channel\r
910 -------\r
911 \r
912   o SET MODE now reverts back to old video-mode on failure.\r
913 \r
914 Diagnostics\r
915 -----------\r
916 \r
917   o Improved graphs and added more status information.\r
918   o Print configuration into log at startup.\r
919   o Use the same log file for the entire day, instead of one per startup as\r
920     previously.\r
921   o Diagnostics window is now closable.\r
922 \r
923 \r
924 \r
925 CasparCG Server 2.0 Beta 1 (as compared to Alpha)\r
926 =================================================\r
927 \r
928   o Blending Modes (needs to be explicitly enabled)\r
929     + overlay\r
930     + screen\r
931     + multiply\r
932     + and many more.\r
933   o Added additive keyer in addition to linear keyer.\r
934   o Image adjustments\r
935     + saturation\r
936     + brightness\r
937     + contrast\r
938     + min input-level\r
939     + max input-level\r
940     + min output-level\r
941     + max output-level\r
942     + gamma\r
943   o Support for FFmpeg-filters such as (ee http://ffmpeg.org/libavfilter.html)\r
944     + yadif deinterlacer (optimized in CasparCG for full multi-core support)\r
945     + de-noising\r
946     + dithering\r
947     + box blur\r
948     + and many more\r
949   o 32-bit SSE optimized audio pipeline.\r
950   o DeckLink-Consumer uses external-key by default.\r
951   o DeckLink-Consumer has 24 bit embedded-audio support.\r
952   o DeckLink-Producer has 24 bit embedded-audio support.\r
953   o LOADBG with AUTO feature which automatically plays queued clip when\r
954     foreground clip has ended.\r
955   o STATUS command for layers.\r
956   o LOG LEVEL command for log filtering.\r
957   o MIX transition works with transparent clips.\r
958   o Freeze on last frame.\r
959   o Producer buffering is now configurable.\r
960   o Consumer buffering is now configurable.\r
961   o Now possible to configure template-hosts for different video-modes.\r
962   o Added auto transcoder for FFmpeg producer which automatically transcodes\r
963     input video into compatible video format for the channel.\r
964     + interlacing (50p -> 50i)\r
965     + deinterlacing (50i -> 25p)\r
966     + bob-deinterlacing (50i -> 50p)\r
967     + bob-deinterlacing and reinterlacing (w1xh150i -> w2xh250i)\r
968     + doubling (25p -> 50p)\r
969     + halfing (50p -> 25p)\r
970     + field-order swap (upper <-> lower)\r
971   o Screen consumer now automatically deinterlaces when receiving interlaced\r
972     content.\r
973   o Optimized renderer.\r
974   o Renderer can now be run asynchronously with producer by using a\r
975     producer-buffer size greater than 0.\r
976   o Improved error and crash recovery.\r
977   o Improved logging.\r
978   o Added Image-Scroll-Producer.\r
979   o Key-only has now near zero performance overhead.\r
980   o Reduced memory requirements.\r
981   o Removed "warm up lag" which occurred when playing the first media clip after\r
982     the server has started.\r
983   o Added read-back fence for OpenGL device for improved multi-channel\r
984     performance.\r
985   o Memory support increased from standard 2 GB to 4 GB on 64 bit Win 7 OS.\r
986   o Added support for 2* DeckLink cards in Full HD.\r
987   o Misc bugs fixes and performance improvements.\r
988   o Color producer now support some color codes in addition to color codes, e.g.\r
989     EMPTY, BLACK, RED etc...\r
990   o Alpha value in color codes is now optional.\r
991   o More than 2 DeckLink cards might be possible but have not yet been tested.\r
992 \r
993 \r
994 \r
995 CasparCG Server 2.0 Alpha (as compared to 1.8)\r
996 ==============================================\r
997 \r
998 General\r
999 -------\r
1000 \r
1001   o Mayor refactoring for improved readability and maintainability.\r
1002   o Some work towards platform-independence. Currently the greatest challenge\r
1003     for full platform-independence is flash-producer.\r
1004   o Misc improved scalability.\r
1005   o XML-configuration.\r
1006   o DeckLink\r
1007     + Support for multiple DeckLink cards.\r
1008 \r
1009 Core\r
1010 ----\r
1011 \r
1012   o Multiple producers per video_channel.\r
1013   o Multiple consumers per video_channel.\r
1014   o Swap producers between layers and channels during run-time.\r
1015   o Support for upper-field and lower-field interlacing.\r
1016   o Add and remove consumers during run-time.\r
1017   o Preliminary support for NTSC.\r
1018 \r
1019 AMCP\r
1020 ----\r
1021 \r
1022   o Query flash and template-host version.\r
1023   o Recursive media-folder listing.\r
1024   o Misc changes.\r
1025 \r
1026 Mixer\r
1027 -----\r
1028 \r
1029   o Animated tween transforms.\r
1030   o Image-Mixer\r
1031     + Fully GPU accelerated (all features listed below are done on the GPU),\r
1032     + Layer composition.\r
1033     + Color spaces (rgba, bgra, argb, yuv, yuva, yuv-hd, yuva-hd).\r
1034     + Interlacing.\r
1035     + Per-layer image transforms:\r
1036       + Opacity\r
1037       + Gain\r
1038       + Scaling\r
1039       + Clipping\r
1040       + Translation\r
1041   o Audio Mixer\r
1042     + Per-layer and per-sample audio transforms:\r
1043         + Gain\r
1044     + Fully internal audio mixing. Single output video_channel.\r
1045 \r
1046 Consumers\r
1047 ---------\r
1048 \r
1049   o DeckLink Consumer\r
1050     + Embedded audio.\r
1051     + HD support.\r
1052     + Hardware clock.\r
1053   o Bluefish Consumer\r
1054     + Drivers are loaded on-demand (server now runs on computers without\r
1055       installed Bluefish drivers).\r
1056     + Embedded audio.\r
1057     + Allocated frames are no longer leaked.\r
1058 \r
1059 Producers\r
1060 ---------\r
1061 \r
1062   o Decklink Producer\r
1063     + Embedded audio.\r
1064     + HD support.\r
1065   o Color Producer\r
1066     + GPU accelerated.\r
1067   o FFMPEG Producer\r
1068     + Asynchronous file IO.\r
1069     + Parallel decoding of audio and video.\r
1070     + Color space transform are moved to GPU.\r
1071   o Transition Producer\r
1072     + Fully interlaced transition (previously only progressive, even when\r
1073       running in interlaced mode).\r
1074     + Per-sample mixing between source and destination clips.\r
1075     + Tween transitions.\r
1076   o Flash Producer\r
1077     + DirectDraw access (slightly improved performance).\r
1078     + Improved time-sync. Smoother animations and proper interlacing.\r
1079   o Image Producer\r
1080     + Support for various image formats through FreeImage library.\r
1081 \r
1082 Diagnostics\r
1083 -----------\r
1084 \r
1085   o Graphs for monitoring performance and events.\r
1086   o Misc logging improvements.\r
1087   o Separate log file for every run of the server.\r
1088   o Error logging provides full exception details, instead of only printing that\r
1089     an error has occurred.\r
1090   o Console with real-time logging output.\r
1091   o Console with AMCP input.\r
1092 \r
1093 Removed\r
1094 -------\r
1095 \r
1096   o Registry configuration (replaced by XML Configuration).\r
1097   o TGA Producer (replaced by Image Producer).\r
1098   o TGA Scroll Producer\r