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