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