Audio configuration
C-Play embeds MPV as its media player backend, so it supports the audio formats that MPV supports.
MPV also has its own feature-rich configuration system for both video and audio processing. Several audio-related settings can be made in the MPV configuration files, which are described more extensively in the Video configuration guide. This includes settings such as audio-spdif for passthrough of certain audio formats directly to your audio system.
Audio output in C-Play
The audio output device you want C-Play to use can be configured in "Settings -> Configure -> Audio".
You can choose to either use a custom audio device that MPV has detected, or to go for a specific audio driver.
Native, up to 8 channels
C-Play is a "Windows only" application, and as such, is partially limited by the native capabilities of Windows when it comes to audio output. You should expect C-Play to find any device output you have connected. However, native Windows audio support is normally limited to up to 8 channels of output, such as 7.1, without the use of any additional third-party solution.
However, C-Play was designed with the intention of supporting many more audio channels, and as such it is capable of using JACK if you need more than eight channels.
JACK, low latency up to 64 or 128 channels
In C-Play, the MPV and FFmpeg libraries used as the backend for video and audio decoding are compiled together with the cross-platform audio API JACK.
As C-Play is a Windows only application, please follow this guide on how to install it and set it up on the Windows machine that you want to use as C-Play master.
The application QJackCtl, which should run in the background or tray and preferably at startup, acts as the bridge between C-Play, through MPV, and your audio device, which might have up to 128 channels.
In QJackCtl, you can configure a specific driver, such as the low-latency ASIO driver if your audio device supports it, as well as how many channels you want it to show in the graph. For instance, if you specify 12 channels, you should see 12 channels in the graph, named "playback_**".
When C-Play loads an audio file, you should see how many channels it has by how many channels are connected in the graph, as seen below.

Normally mpv connects straight to these playback ports. Video, Audio, Stream and YouTube layers can instead have their JACK output go through C-Play's audio mapping (up/down mix and spatial mapping), turned on per layer with Audio mapping via JACK. Those layers are then connected to a C-Play input (cplay-mix-…) in the graph instead of to playback_**. See mpv layers via JACK.
Audio on nodes: which media the master needs
With Enable audio on nodes turned on in the audio settings, the sound is played by the cluster nodes instead of by the master. Whether the master still needs the media depends on where the audio comes from.
File-based media: the master needs the file too
This applies to the main video and to Video and Audio layers.
The master's player is the clock for the whole cluster. The master opens the file, plays it, and sends its playback position and pause state to the nodes every frame. The nodes follow that position. If the master cannot open the file, nothing drives playback, and the nodes do not play either, even though they have their own copy.
When audio is enabled on the nodes but not on the master, the master still plays the file but keeps it muted. The master sends only the timing, the selected audio track, the volume and the mute state. Each node decodes the audio from its own local copy of the file.
So for file-based media with audio on nodes:
- The media file must exist on the master and on every node that plays audio, at the same path, or a path that C-Play's file locations resolve on each machine.
- Separate audio tracks that are side-loaded from the video's folder (see Naming of external files) should be present on both the master and the nodes. The master selects the audio track by its number, so the track list must be the same on all machines.
_NODEfiles: the master can play a lighter file while the nodes play a separate version named<name>_NODE.<ext>, for exampleShow.mp4on the master andShow_NODE.mp4on the nodes. The master decides whether to send the_NODEname by checking whether that file exists on the master's own disk. So the_NODEfile must also be present on the master, next to the original file, for the nodes to use it.- Per-node media folders: to give each node its own video and/or audio files (video only, audio only, or both, with several audio files per node), put them in a
<name>_NODES/<node id>/folder next to the file. See Per-node media folders. A node without a folder there uses the_NODEfile or the master's file as described above.
Live sources: the master does not need the source
This applies to NDI, OMT, DirectShow and capture card layers.
Each machine receives a live source on its own, so there is no shared playback clock. The master sends only the volume and the mute state. A node can play the audio of a source that the master does not have:
- DirectShow presets can name a different video and audio device for each machine in
data/predefined-directshows.json, under"master"and under each node's name. The master's audio device can be left empty. - Capture card presets choose per machine whether that machine plays the audio.
Multi-video compositions
In a .cplaymulti composition, the master file is only an optional preview on the master. Each node plays its own file, so the master does not need the nodes' media.
Naming of external files
In a show environment, it is beneficial not to have different video files for every movie. Since C-Play supports loading audio files that sit next to the video file, that is, side-loading, it is useful to add additional tracks as separate files next to the main video file on the master machine. If C-Play is configured to run audio from nodes, add them on the nodes as well (see Audio on nodes).
C-Play also has a Web API that supports retrieval of the audio tracks that are embedded or side-loaded, so the user can trigger a change to a different audio track if desired. To avoid mixing up audio files for different video files, it is good practice to name the audio file with at least the start of the same filename, followed by the specific language or track name.
So, if your video is named "Awesome_4K_3D_H265_video.mp4", you could name your English and Swedish tracks "Awesome_English.wav" and "Awesome_Swedish.wav".
While the C-Play GUI itself will show the complete name, the Web API can be configured to omit the filename prefix so a playback UI for hosts or operators on a tablet or phone can simply show tracks named "English" or "Swedish".