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