[Release] CasparCG 2.5 released

It is long overdue, but today CasparCG 2.5.0 has been released.

Highlights include:

  • Updated CEF (fixes some stuttering issues)
  • Initial support for HDR

The full changelog is provided below


Important

We recommend running CasparCG 2.5 on CPUs which support AVX2. Officially Chrome claims to require AVX2, and it is required for some of our in-progress HDR support.
Intel CPUs based on Haswell or later support this, which were first released to consumers in 2013, or 2014 for servers.

Starting with CasparCG 2.6, this will become a requirement.

Make sure to install the latest MSVC runtime, the compiler update requires a newer version than 2.4 https://aka.ms/vc14/vc_redist.x64.exe

Core

Improvements
  • Initial support for HDR. This is limited to a subset of producers and consumers at this stage.
  • Build for Windows with VS2022
  • Rework linux builds to produce ubuntu deb files
  • Update ffmpeg to 7.0
  • Reimplement mixer transforms, to handle routes correctly
  • Support more pixel formats from ffmpeg, to preserve colour accuracy better
  • Support running on headless linux
  • Transitions: Additional behaviours
Fixes
  • Build with boost 1.85/1.86/1.87/1.88
  • Build with ffmpeg 7.1
  • Only produce mixed frames on channels which have consumers
  • Routed channels not compositing correctly when channel used a MIXER KEY
  • Handle audio for fractional framerates properly
  • Gracefully exit on SIGINT and SIGTERM

Producers

Improvements
  • FFmpeg: Support loading with a scaling-mode, to configure how clips get fit into the channel
  • FFmpeg: Support more pixel formats without cpu conversion
  • FFmpeg: Enable alpha for webm videos
  • Image: Support loading with a scaling-mode, to configure how images get fit into the channel
  • Image: Replace freeimage with ffmpeg
  • HTML: Update CEF to 142
  • HTML: Support audio
Fixes
  • Route: Use full field rate when performing i->p channel route
  • HTML: Gracefully handle page load errors
  • HTML: Always set cache path

Consumers

Improvements
  • Screen: Set size and position from AMCP
  • Screen: Improve performance
  • Image: Propagate AMCP parameters from PRINT command
  • FFmpeg: Remove unnecessary forced conversion to YUVA422
  • Decklink: Support explicit yuv output (requires AVX2)
  • Decklink: Allow selecting device by hardware persistent id
Fixes
  • FFmpeg: Correctly handle PTS on frame drop

Full Changelog: Comparing v2.4.3-stable...v2.5.0-stable · CasparCG/server · GitHub

7 Likes

This is HUGE!
Just in time for a seamless Linux transition…
Thank you very much to everyone involved in this, and specially you Julian, awesome work!
CasparCG is at its best shape yet! It really feels very healthy, performant and very feature rich.
I’m really thankful.

Thanks so much to everyone who worked hard on development and testing. I can’t wait to try out the new features and improvements. Time to download and play around with the new build!

Great work, team!

Looks great, indeed! - One question concerning Windows: Has anybody already tested it on Windows 11? My own machines are all still running Win 10, but I have a client explicitly requesting Windows 11. They currently run Version 2.3.0 on Win 11, so I expect no problems with 2.5.0, right?

I know of some broadcasters who are running 2.4 upgraded their machines from 10 to 11.
I don’t think 2.5 should be any different in behaviour than 2.4 really

I upgraded my dev machine to 11 the other day too, so I no longer have anything to test on 10. Although I didn’t test much after doing that upgrade.

1 Like

Thanks for amazing update!!! I have one old as world question, what about mac’s and m series processors maybe now it’s possible to make casparcg for them?

I tested latest builds on Windows 11 and had to revert back to Windows 10 because performance in an older machine (8th-gen 6-core i5) was lacking. Couldn’t even enable NDI because the CPU was pegged at 100% most of the time. Either background processes (some continuity-like syncing service) or Windows Defender would hog the CPU.

In context, the machine did run 2 playout channels (Decklink + NDI), a Fill+Key channel (Decklink) and a preview channel (NDI) without breaking a sweat, with spare performance to run zoom meetings in other two displays.

That’s why I think linux deserves a shot. Having the possibility to run a sealed headless server and not worrying constantly about security or forced updates is a plus.

I did not see any compatibility problems. Only issues were W11 itself (frozen explorer, taskbar…) in the latest update.

We still have the same problem as when this was asked about years ago; the compositor is written in a technology that apple deprecated 6+ years ago and stopped updating even longer before that. That hasn’t changed, and windows and linux still support it as well as they did 10 years ago with no sign of that changing, so motivating rewriting the compositor to support this is a hard sell.

That said, Vulkan support is a plan to do just that and should make it pretty easy to start supporting macos. So things are slowly moving us towards being able to think about it, but no idea on when that might be usable

1 Like

Looks great.
Since there are a lot of new parameters in the config-file (especially for the Decklink-consumer)
Should we have a breakdown here what they mean and which are optional especially if you are not running HDR.

br Markus

  • FFmpeg: Support loading with a scaling-mode, to configure how clips get fit into the channel

Is this scaling mode documented somewhere. Really interested in that one

Only in the pr and the code for now

its not really documented, the wiki could probably do with being updated for even 2.4 features..

The original PRs are probably best feat: support for scaling modes by dimitry-ishenko · Pull Request #1566 · CasparCG/server · GitHub Feat/aspect ratio control by Julusian · Pull Request #28 · nrkno/sofie-casparcg-server · GitHub and give some explanation and exmaples

Thanks to everyone involved, this is awesome!! Can’t wait to try it out!!

The future looks bright and promising!!

I just installed tinyw11 core on a old NUC because only 2gb ram.

Cool thing is the installer lets you install install it on older hardware.

You can use the official iso of windows with https://rufus.ie/ also if you want to install it on systems that don’t have Secure Boot or TPM 2.0

Like old HP Z640 systems that still run like beasts.

But now with the tiny 11 core, thinking of installing that on my old Z640 systems. The only thing with the core is that windows update is disabled if you want to stay up to date.

1 Like