]> git.sesse.net Git - casparcg/blob - CHANGES.txt
Added new decklink consumer implementation which does not use scheduled playback...
[casparcg] / CHANGES.txt
1 CasparCG 2.0.4 Beta (w.r.t 2.0.3 Stable)\r
2 ==========================================\r
3 \r
4 General\r
5 -------\r
6 \r
7   o Logging output now includes milliseconds and has modified format:\r
8     yyyy-mm-d HH:MM:SS.ZZZ\r
9   o Added support for generating thumbnails for media files. Currently only\r
10     video files and images are supported. By default the media directory is\r
11     scanned every 5 seconds for new/modified/removed files and thumbnails are\r
12     generated/regenerated/removed accordingly.\r
13   o Support for new video modes: 2k2398, 2k2400, 2k2500, 4k2398, 4k2400, 4k2500,\r
14     4k2997 and 4k3000.\r
15   o Optimizations in AMCP protocol implementations for large incoming messages\r
16     like for example base64 encoded PNG-images.\r
17   o Added support for more than 2 audio channels in caspar. See\r
18     http://casparcg.com/forum/viewtopic.php?f=3&t=1453 for more information.\r
19   o ATI graphics card support. Static linking against SFML instead of dynamic.\r
20     Should inprove ATI card support. Needs testing.\r
21   o An attempt to improve output synchronization of consumers has been made. Use\r
22     for example:\r
23     \r
24     <consumers>\r
25       <synchronizing>\r
26         <decklink>\r
27           <device>1</device>\r
28           <embedded-audio>true</embedded-audio>\r
29         </decklink>\r
30         <decklink>\r
31           <device>2</device>\r
32           <key-only>true</key-only>\r
33         </decklink>\r
34       </synchronizing>\r
35     </consumers>\r
36     \r
37     to say that both decklink consumers should be in sync with each other.\r
38     Consider this experimental, so don't wrap everything in <synchronizing />\r
39     unless synchronization of consumer outputs is needed. For synchronization to\r
40     be effective both cards (or same if it is for example a Decklink Quad) must\r
41     have reference signal connected.\r
42 \r
43 Layer\r
44 -----\r
45 \r
46   o Fixed a problem where the first frame was not always shown on LOAD.\r
47 \r
48 Audio mixer\r
49 -----------\r
50 \r
51   o Added support for a master volume mixer setting for each channel.\r
52 \r
53 Video mixer\r
54 -----------\r
55 \r
56   o Added support for chroma keying.\r
57   o Fixed bug where MIXER CONTRAST set to < 1 can cause transparency issues.\r
58   o Experimental support for straight alpha output.\r
59 \r
60 Consumers\r
61 ---------\r
62 \r
63   o Avoid that the ffmpeg consumer blocks the channel output when it can't keep\r
64     up with the frame rate (drops instead).\r
65   o Added support for to create a separate key and fill file when recording with\r
66     the ffmpeg consumer. Add the SEPARATE_KEY parameter to the ffmpeg consumer\r
67     parameter list. The key file will get the _A suffix to be picked up by the\r
68     separated_producer when doing playback.\r
69   o The image consumer now writes to the media folder instead of the data\r
70     folder.\r
71   o Fixed bug in decklink consumer where we submit too few audio samples to the\r
72     driver when the video format has a frame rate > 50.\r
73   o Added another experimental decklink consumer implementation where scheduled\r
74     playback is not used, but a similar approach as in the bluefish consumer\r
75         where we wait for a frame to be displayed and then display the next frame.\r
76         It is configured via a <blocking-decklink> consumer element. The benefits of\r
77         this consumer is lower latency and more deterministic synchronization\r
78         between multiple instances (should not need to be wrapped in a\r
79         <synchronizing> element when separate key-fill is used).\r
80 \r
81 Producers\r
82 ---------\r
83 \r
84   o Added support for playing .swf files using the flash producer.\r
85   o image producer premultiplies PNG images with their alpha.\r
86   o image producer can load a PNG image encoded as base64 via:\r
87     PLAY 1-0 [PNG_BASE64] <base64 string>\r
88   o ffmpeg producer can now use a directshow input filters:\r
89     PLAY 1-10 "dshow://video=Some Camera"\r
90 \r
91 AMCP\r
92 ----\r
93 \r
94   o The master volume feature is controlled via the MASTERVOLUME MIXER\r
95     parameter. Example: MIXER 1 MASTERVOLUME 0.5\r
96   o THUMBNAIL LIST/RETRIEVE/GENERATE/GENERATE_ALL command was added to support\r
97     the thumbnail feature.\r
98   o ADD 1 FILE output.mov SEPARATE_KEY activates the separate key feature of the\r
99     ffmpeg consumer creating an additional output_a.mov containing only the key.\r
100   o Added KILL command for shutting down the server without console access.\r
101   o Added RESTART command for shutting down the server in the same way as KILL\r
102     except that the return code from caspar is 5 instead of 0, which can be used\r
103     by parent process to take other actions. The casparcg_auto_restart.bat\r
104     script restarts the server if the return code is 5.\r
105   o DATA RETRIEVE now returns linefeeds encoded as an actual linefeed (the\r
106     single character 0x0a) instead of the previous two characters \ followed by\r
107     n.\r
108   o MIXER CHROMA command added to control the chroma keying. Example:\r
109     MIXER 1-1 CHROMA GREEN|BLUE 0.10 0.04\r
110   o Fixed bug where MIXER FILL overrides any previous MIXER CLIP on the same\r
111     layer. The bugfix also has the side effect of supporting negative scale on\r
112     MIXER FILL, causing the image to be flipped.\r
113   o MIXER <ch> STRAIGHT_ALPHA_OUTPUT added to control whether to output straight\r
114     alpha or not.\r
115   o Added INFO <ch> DELAY and INFO <ch>-<layer> DELAY commands for showing some\r
116     delay measurements.\r
117 \r
118 OSC\r
119 ---\r
120 \r
121   o Support for sending OSC messages over UDP to either a predefined set of\r
122     clients (servers in the OSC sense) or dynamically to the ip addresses of the\r
123     currently connected AMCP clients.\r
124   o /channel/[1-9]/stage/layer/[0-9]\r
125     + always             /paused           [paused or not]\r
126     + color producer     /color            [color string]\r
127     + ffmpeg producer    /profiler/time    [render time]     [frame duration]\r
128     + ffmpeg producer    /file/time        [elapsed seconds] [total seconds]\r
129     + ffmpeg producer    /file/frame       [frame]           [total frames]\r
130     + ffmpeg producer    /file/fps         [fps]\r
131     + ffmpeg producer    /file/path        [file path]\r
132     + ffmpeg producer    /loop             [looping or not]\r
133     + during transitions /transition/frame [current frame]   [total frames]\r
134     + during transitions /transition/type  [transition type]\r
135     + flash producer     /host/path        [filename]\r
136     + flash producer     /host/width       [width]\r
137     + flash producer     /host/height      [height]\r
138     + flash producer     /host/fps         [fps]\r
139     + flash producer     /buffer           [buffered]        [buffer size]\r
140     + image producer     /file/path        [file path]\r
141 \r
142 \r
143 CasparCG 2.0.3 Stable (w.r.t 2.0.3 Alpha)\r
144 =========================================\r
145 \r
146 Stage\r
147 -----\r
148 \r
149   o Fixed dead-lock that can occur with multiple mixer tweens.\r
150 \r
151 AMCP\r
152 ----\r
153 \r
154   o DATA STORE now supports creating folders of path specified if they does not\r
155     exist.\r
156   o DATA REMOVE command was added.\r
157 \r
158 \r
159 CasparCG 2.0.3 Alpha (w.r.t 2.0 Stable)\r
160 =======================================\r
161 \r
162 General\r
163 -------\r
164 \r
165   o Data files are now stored in UTF-8 with BOM. Latin1 files are still\r
166     supported for backwards compatibility\r
167   o Commands written in UTF-8 to log file but only ascii characters to console.\r
168   o Added supported video formats:\r
169     + 720p2398 (not supported by decklink)\r
170     + 720p2400 (not supported by decklink)\r
171     + 1080p5994\r
172     + 1080p6000\r
173     + 720p30 (not supported by decklink)\r
174     + 720p29.976 (not supported by decklink)\r
175 \r
176 CLK\r
177 ---\r
178 \r
179   o CLK protocol implementation can now serve more than one connection at a time\r
180     safely.\r
181   o Added timeline support to the CLK protocol.\r
182   o Refactored parts of the CLK parser implementation.\r
183 \r
184 Consumers\r
185 ---------\r
186 \r
187   o Consumers on same channel now invoked asynchronously to allow for proper\r
188     sync of multiple consumers.\r
189   o System audio consumer:\r
190     + no longer provides sync to caspar.\r
191   o Screen consumer:\r
192     + Support for multiple screen consumers on the same channel\r
193     + No longer spin-waits for vsync\r
194     + Now deinterlaces to two separate frames so for example 50i will no longer\r
195       be converted to 25p but instead to 50p for smooth playback of interlaced\r
196       content.\r
197   o Decklink consumer now logs whether a reference signal is detected or not.\r
198 \r
199 Producers\r
200 ---------\r
201 \r
202   o Image scroll producer:\r
203     + Field-rate motion instead of frame-rate motion with interlaced video\r
204       formats. This can be overridden by giving the PROGRESSIVE parameter.\r
205     + SPEED parameter now defines pixels per frame/field instead of half pixels\r
206       per frame. The scrolling direction is also reversed so SPEED 0.5 is the\r
207       previous equivalent of SPEED -1. Movements are done with subpixel accuracy\r
208     + Fixed incorrect starting position of image.\r
209     + Rounding error fixes to allow for more exact scrolling.\r
210     + Added support for motion blur via a new BLUR parameter\r
211     + Added PREMULTIPLY parameter to support images stored with straight alpha.\r
212 \r
213 \r
214 CasparCG 2.0 Stable (w.r.t Beta 3)\r
215 ==================================\r
216 \r
217 General\r
218 -------\r
219 \r
220   o Misc stability and performance fixes.\r
221 \r
222 Consumers\r
223 ---------\r
224 \r
225   o File Consumer\r
226     + Changed semantics to more closely follow ffmpeg (see forums).\r
227     + Added options, -r, -acodec, -s, -pix_fmt, -f and more.\r
228   o Screen Consumer\r
229     + Added vsync support.\r
230 \r
231 \r
232 CasparCG 2.0 Beta 3 (w.r.t Beta 1)\r
233 ==================================\r
234 \r
235 Formats\r
236 -------\r
237 \r
238   o ProRes Support\r
239     + Both encoding and decoding.\r
240   o NTSC Support\r
241     + Updated audio-pipeline for native NTSC support. Previous implementation\r
242       did not fully support NTSC audio and could cause incorrect behaviour or\r
243       even crashes.\r
244 \r
245 Consumers\r
246 ---------\r
247 \r
248   o File Consumer added\r
249     + See updated wiki or ask in forum for more information.\r
250     + Should support anything ffmpeg supports. However, we will work mainly with\r
251       DNXHD, PRORES and H264.\r
252     - Key-only is not supported.\r
253   o Bluefish Consumer\r
254     + 24 bit audio support.\r
255     - Embedded-audio does not work with Epoch cards.\r
256   o Decklink Consumer\r
257     + Low latency enabled by default.\r
258     + Added graphs for driver buffers.\r
259   o Screen Consumer\r
260     + Changed screen consumer square PAL to the more common wide-square PAL.\r
261     + Can now be closed.\r
262     + Fixed interpolation artifacts when running non-square video-modes.\r
263     + Automatically deinterlace interlaced input.\r
264 \r
265 Producers\r
266 ---------\r
267 \r
268   o Decklink Producer\r
269     + Improved color quality be avoiding uneccessary conversion to BGRA.\r
270   o FFMPEG Producer\r
271     + Fixed missing alpha for (RGB)A formats when deinterlacing.\r
272     + Updated buffering to work better with files with long audio/video\r
273       interleaving.\r
274     + Seekable while running and after reaching EOF. CALL 1-1 SEEK 200.\r
275     + Enable/disable/query looping while running. CALL 1-1 LOOP 1.\r
276     + Fixed bug with duration calculation.\r
277     + Fixed bug with fps calculation.\r
278     + Improved auto-transcode accuracy.\r
279     + Improved seeking accuracy.\r
280     + Fixed bug with looping and LENGTH.\r
281     + Updated to newer ffmpeg version.\r
282     + Fixed incorrect scaling of NTSC DV files.\r
283     + Optimized color conversion when using YADIF filters.\r
284   o Flash Producer\r
285     + Release flash-player when empty.\r
286     + Use native resolution template-host.\r
287     + Template-hosts are now choosen automatically if not configured. The\r
288       template-host with the corresponding video-mode name is now chosen.\r
289     + Use square pixel dimensions.\r
290 \r
291 AMCP\r
292 ----\r
293 \r
294   o When possible, commands will no longer wait for rendering pipeline. This\r
295     reduces command execution latencies, especially when sending a lot of\r
296     commands in a short timespan.\r
297   o Fixed CINF command.\r
298   o ADD/REMOVE no longer require subindex,\r
299     e.g. "ADD 1 SCREEN" / "REMOVE 1 SCREEN" instead of "ADD 1-1 SCREEN" / ...\r
300   o PARAM is renamed to CALL.\r
301   o STATUS command is replaced by INFO.\r
302   o INFO command has been extended:\r
303     + INFO (lists channels).\r
304     + INFO 1 (channel info).\r
305     + INFO 1-1 (layer info).\r
306     + INFO 1-1 F (foreground producer info).\r
307     + INFO 1-1 B (background producer info).\r
308     + INFO TEMPLATE mytemplate (template meta-data info, e.g. field names).\r
309   o CG INFO command has been extended.\r
310     + CG INFO 1 (template-host information, e.g. what layers are occupied).\r
311 \r
312 Mixer\r
313 -----\r
314 \r
315   o Fixed alpha with blend modes.\r
316   o Automatically deinterlace for MIXER FILL commands.\r
317 \r
318 Channel\r
319 -------\r
320 \r
321   o SET MODE now reverts back to old video-mode on failure.\r
322 \r
323 Diagnostics\r
324 -----------\r
325 \r
326   o Improved graphs and added more status information.\r
327   o Print configuration into log at startup.\r
328   o Use the same log file for the entire day, instead of one per startup as\r
329     previously.\r
330   o Diagnostics window is now closable.\r
331 \r
332 Configuration\r
333 -------------\r
334 \r
335   o Simplified.\r
336 \r
337 \r
338 CasparCG 2.0 Beta 1 (w.r.t Alpha)\r
339 =================================\r
340 \r
341   o Blending Modes (needs to be explicitly enabled)\r
342     + overlay\r
343     + screen\r
344     + multiply\r
345     + and many more.\r
346   o Added additive keyer in addition to linear keyer.\r
347   o Image adjustements\r
348     + saturation\r
349     + brightness\r
350     + contrast\r
351     + min input-level\r
352     + max input-level\r
353     + min output-level\r
354     + max output-level\r
355     + gamma\r
356   o Support for ffmpeg-filters such as (ee http://ffmpeg.org/libavfilter.html)\r
357     + yadif deinterlacer (optimized in CasparCG for full multi-core support)\r
358     + de-noising\r
359     + dithering\r
360     + box blur\r
361     + and many more\r
362   o 32-bit SSE optimized audio pipeline.\r
363   o Decklink-Consumer uses external-key by default.\r
364   o Decklink-Consumer has 32 bit embedded-audio support.\r
365   o Decklink-Producer has 32 bit embedded-audio support.\r
366   o LOADBG with AUTO feature which automatically playes queued clip when\r
367     foreground clip has ended.\r
368   o STATUS command for layers.\r
369   o LOG LEVEL command for log filtering.\r
370   o MIX transitation work with transparent clips.\r
371   o Freeze on last frame.\r
372   o Producer buffering is now configurable.\r
373   o Consumer buffering is now configurable.\r
374   o Now possible to configure template-hosts for different video-modes.\r
375   o Added auto transcoder for ffmpeg-producer which automatically transcodes\r
376     input video into compatible video format for the channel.\r
377     + interlacing (50p -> 50i)\r
378     + deinterlacing (50i -> 25p)\r
379     + bob-deinterlacing (50i -> 50p)\r
380     + bob-deinterlacing and reinterlacing (w1xh150i -> w2xh250i)\r
381     + doubling (25p -> 50p)\r
382     + halfing (50p -> 25p)\r
383     + field-order swap (upper <-> lower)\r
384   o Screen consumer now automatically deinterlaces when receiveing interlaced\r
385     content.\r
386   o Optimized renderer.\r
387   o Renderer can now be run asynchronously with producer by using a\r
388     producer-buffer size greater than 0.\r
389   o Improved error and crash recovery.\r
390   o Improved logging.\r
391   o Added Image-Scroll-Producer\r
392   o Key-only has now near zery performance overhead.\r
393   o Reduced memory requirements\r
394   o Removed "warm up lag" which occured when playing the first media clip after\r
395     the server has started.\r
396   o Added read-back fence for OpenGL device for improved multi-channel\r
397     performance.\r
398   o Memory support increased from standard 2 GB to 4 GB on 64 bit Win 7 OS.\r
399   o Added support for 2* Decklink cards in FullHD.\r
400   o Misc bugs fixes and performance improvements.\r
401   o Color producer now support some color codes in addition to color codes, e.g.\r
402     EMPTY, BLACK, RED etc...\r
403   o Alpha value in color codes is now optional.\r
404   o More than 2 Decklink cards might be possible but have not yet been tested.\r
405 \r
406 \r
407 CasparCG 2.0 Alpha (w.r.t 1.8)\r
408 ==============================\r
409 \r
410 General\r
411 -------\r
412 \r
413   o Mayor refactoring for improved readability and mainainability.\r
414   o Some work towards platorm-independence. Currently the greatest challenge for\r
415     full platform-independence is flash-producer.\r
416   o Misc improved scalability.\r
417   o XML-configuration.\r
418   o Decklink\r
419     + Support for multiple decklink-cards.\r
420 \r
421 Core\r
422 ----\r
423 \r
424   o Multiple producers per video_channel.\r
425   o Multiple consumers per video_channel.\r
426   o Swap producers between layers and channels during run-time.\r
427   o Support for upper-field and lower-field interlacing.\r
428   o Add and remove consumers during run-time.\r
429   o Preliminary support for NTSC.\r
430 \r
431 AMCP\r
432 ----\r
433 \r
434   o Query flash and template-host version.\r
435   o Recursive media-folder listing.\r
436   o Misc changes.\r
437 \r
438 Mixer\r
439 -----\r
440 \r
441   o Animated tween transforms.\r
442   o Image-Mixer\r
443     + Fully GPU accelerated (all features listed below are done on the gpu),\r
444     + Layer composition.\r
445     + Colorspaces (rgba, bgra, argb, yuv, yuva, yuv-hd, yuva-hd).\r
446     + Interlacing.\r
447     + Per-layer image-transforms:\r
448       + Opacity\r
449       + Gain\r
450       + Scaling\r
451       + Clipping\r
452       + Translation\r
453   o Audio-Mixer\r
454     + Per-layer and per-sample audio-transforms:\r
455         + Gain\r
456     + Fully internal audio-mixing. Single output-video_channel.\r
457 \r
458 Consumers\r
459 ---------\r
460 \r
461   o Decklink-Consumer\r
462     + Embedded audio.\r
463     + HD support.\r
464     + Hardware clock.\r
465   o Bluefish-Consumer\r
466     + Drivers are loaded on-demand (server now runs on computers without\r
467       installed bluefish-drivers).\r
468     + Embedded-audio.\r
469     + Allocated frames are no longer leaked.\r
470 \r
471 Producers\r
472 ---------\r
473 \r
474   o Decklink-Producer\r
475     + Embedded audio.\r
476     + HD support.\r
477   o Color-Producer\r
478     + GPU accelerated.\r
479   o FFMPEG-Producer\r
480     + Asynchronous file IO.\r
481     + Parallel decoding of audio and video.\r
482     + Colorspace transform are moved to gpu.\r
483   o Transition-Producer\r
484     + Fully interlaced transition (previsously only progressive, even when\r
485       running in interlaced mode).\r
486     + Per-sample mixing between source and destination clips.\r
487     + Tween transitions.\r
488   o Flash-Producer\r
489     + DirectDraw access (sligthly improved performance).\r
490     + Improved time-sync. Smoother animations and proper interlacing.\r
491   o Image-Producer\r
492     + Support for various imageformats through FreeImage library.\r
493 \r
494 Diagnostics\r
495 -----------\r
496 \r
497   o Graphs for monitoring performance and events.\r
498   o Misc logging improvements.\r
499   o Seperate log-file for every run of the server.\r
500   o Error logging provides full exception details, instead of only printing that\r
501     an error has occured.\r
502   o Console with real-time logging output.\r
503   o Console with AMCP input.\r
504 \r
505 Removed\r
506 -------\r
507 \r
508   o Registry-configuration (replaced by XML-Configuration).\r
509   o TGA-Producer (replaced by Image-Producer).\r
510   o TGA-Scroll-Producer\r