You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/documentation/docs/user-guide/installation/installing-connections-and-additional-hardware/casparcg-server-installation.md
+12-21Lines changed: 12 additions & 21 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
---
2
2
title: Installing CasparCG Server for Sofie
3
-
description: Sofie specific fork of CasparCG Server 2.1
3
+
description: CasparCG Server
4
4
---
5
5
6
6
# Installing CasparCG Server for Sofie
@@ -9,28 +9,23 @@ Although CasparCG Server is an open source program that is free to use for
9
9
10
10
## Installing the CasparCG Server
11
11
12
-
To begin, download the latest release of [CasparCG Server from GitHub](https://github.com/nrkno/sofie-casparcg-server/releases). There are multiple versions of CasparCG Server available to the public for download but, you specifically want the latest NRK version.
12
+
To begin, download the latest release of [CasparCG Server from GitHub](https://github.com/casparcg/server/releases). While some Sofie users have their own fork of CasparCG, we recommend the official builds.
13
13
14
-
Once downloaded, extract the files and navigate down the folders, _CasparCG Server_ then _Server_. This folder contains your CasparCG Server Configuration file, `casparcg.config`, and your CasparCG Server executable, `casparcg.exe`.
14
+
Once downloaded, extract the files into a folder and navigate inside. This folder contains your CasparCG Server Configuration file, `casparcg.config`, and your CasparCG Server executable, `casparcg.exe`.
15
15
16
16
How you will configure the CasparCG Server will depend on the number of DeckLink cards your machine contains. The first subsection for each CasparCG Server setup, labeled _Channels_, will contain the unique portion of the configuration. The following is the majority of the configuration file that will be consistent between setups.
17
17
18
18
```markup
19
19
<?xml version="1.0" encoding="utf-8"?>
20
20
<configuration>
21
21
<log-level>debug</log-level>
22
-
<thumbnails>
23
-
<generate-thumbnails>false</generate-thumbnails>
24
-
</thumbnails>
25
22
<!-- Paths to the Server Media -->
26
23
<!-- Currently set to the same folder as this file -->
27
24
<paths>
28
25
<media-path>media/</media-path>
29
26
<log-path>log/</log-path>
30
27
<data-path>data/</data-path>
31
28
<template-path>template/</template-path>
32
-
<thumbnail-path>thumbnail/</thumbnail-path>
33
-
<font-path>font/</font-path>
34
29
</paths>
35
30
<lock-clear-phrase>secret</lock-clear-phrase>
36
31
<channels>
@@ -41,25 +36,21 @@ How you will configure the CasparCG Server will depend on the number of Dec
41
36
<port>5250</port>
42
37
<protocol>AMCP</protocol>
43
38
</tcp>
44
-
<tcp>
45
-
<port>3250</port>
46
-
<protocol>LOG</protocol>
47
-
</tcp>
48
39
</controllers>
40
+
<amcp>
41
+
<media-server>
42
+
<host>localhost</host>
43
+
<port>8000</port>
44
+
</media-server>
45
+
</amcp>
49
46
</configuration>
50
47
```
51
48
52
49
One additional note, the Server does require the configuration file be named `casparcg.config`.
53
50
54
-
### Installing CasparCG Media Scanner
55
-
56
-
You can use the CasparCG Media Scanner to locate and add all of your media to the _Sofie Core_. To install the Media Scanner, you will go to the [project's Release page](https://github.com/nrkno/sofie-media-scanner/releases) and download the `.zip` file under the latest release. Similar to the CasparCG Server, you want to use the NRK version.
57
-
58
-
Once downloaded and extracted, move the `scanner.exe` file to the same folder as your `casparcg.exe` file.
59
-
60
51
### Installing the CasparCG Launcher
61
52
62
-
You can launch both of your CasparCG applications with the[CasparCG Launcher.](https://github.com/Sofie-Automation/sofie-casparcg-launcher) Download the `.exe` file in the latest release and once complete, move the file to the same folder as your `casparcg.exe` file.
53
+
You can launch both of your CasparCG applications with the[CasparCG Launcher.](https://github.com/Sofie-Automation/sofie-casparcg-launcher) Download the `.exe` file in the latest release and once complete, move the file to the same folder as your `casparcg.exe` file.
63
54
64
55
## Configuring Windows
65
56
@@ -83,7 +74,7 @@ For _dual drives_, it is recommended to use a smaller 250gb NVMe SSD for the ope
83
74
84
75
### DeckLink Cards
85
76
86
-
There are a few SDI cards made by Blackmagic Design that are supported by CasparCG. The base model, with four bi-directional input and outputs, is the [Duo 2](https://www.blackmagicdesign.com/products/decklink/techspecs/W-DLK-31). If you need additional channels, use the[Quad 4](https://www.blackmagicdesign.com/products/decklink/techspecs/W-DLK-30) which supports eight bi-directional inputs and outputs. Be aware the BNC connections are not the standard BNC type. B&H offers [Mini BNC to BNC connecters](https://www.bhphotovideo.com/c/product/1462647-REG/canare_cal33mb018_mini_rg59_12g_sdi_4k.html). Finally, for 4k support, use the [8K Pro](https://www.blackmagicdesign.com/products/decklink/techspecs/W-DLK-34) which has four bi-directional BNC connections and one reference connection.
77
+
There are a few SDI cards made by Blackmagic Design that are supported by CasparCG. The base model, with four bi-directional input and outputs, is the [Duo 2](https://www.blackmagicdesign.com/products/decklink/techspecs/W-DLK-31). If you need additional channels, use the[Quad 2](https://www.blackmagicdesign.com/products/decklink/techspecs/W-DLK-30) which supports eight bi-directional inputs and outputs. Be aware the BNC connections are not the standard BNC type. B&H offers [Mini BNC to BNC connecters](https://www.bhphotovideo.com/c/product/1462647-REG/canare_cal33mb018_mini_rg59_12g_sdi_4k.html). Finally, for 4k support, use the [8K Pro](https://www.blackmagicdesign.com/products/decklink/techspecs/W-DLK-34) which has four bi-directional BNC connections and one reference connection.
87
78
88
79
Here is the Blackmagic Design PDF for [installing your DeckLink card \( Desktop Video Device \).](https://documents.blackmagicdesign.com/UserManuals/DesktopVideoManual.pdf)
89
80
@@ -207,7 +198,7 @@ Once you have setup the configuration file, you can use an online validator to c
207
198
208
199
### Launching the Server
209
200
210
-
Launching the Server is the same for each hardware setup. This means you can run`casparcg-launcher.exe` and the server and media scanner will start. There will be two additional warning from Windows. The first is about the EXE file and can be bypassed by selecting _Advanced_ and then _Run Anyways_. The second menu will be about CasparCG Server attempting to access your firewall. You will need to allow access.
201
+
Launching the Server is the same for each hardware setup. This means you can run`casparcg-launcher.exe` and the server and media scanner will start. There will be two additional warning from Windows. The first is about the EXE file and can be bypassed by selecting _Advanced_ and then _Run Anyways_. The second menu will be about CasparCG Server attempting to access your firewall. You will need to allow access.
211
202
212
203
A window will open and display the status for the server and scanner. You can start, stop, and/or restart the server from here if needed. An additional window should have opened as well. This is the main output of your CasparCG Server and will contain nothing but a black background for now. If you have a DeckLink card installed, its output will also be black.
-[Installed and configured Demo Blueprints](https://github.com/SuperFlyTV/sofie-demo-blueprints)
12
-
-[Installed, configured, and running CasparCG Server](installing-connections-and-additional-hardware/casparcg-server-installation.md)
12
+
-[Installed, configured, and running CasparCG Server](installing-connections-and-additional-hardware/casparcg-server-installation.md) (Optional)
13
13
-[`FFmpeg` and `FFprobe` available in `PATH`](installing-connections-and-additional-hardware/ffmpeg-installation.md)
14
14
15
15
Package Manager is used by Sofie to copy, analyze, and process media files. It is what powers Sofie's ability to copy media files to playout devices, to know when a media file is ready for playout, and to display details about media files in the rundown view such as scene changes, black frames, freeze frames, and more.
On first startup, Package Manager will exit with the following message:
@@ -175,8 +169,12 @@ Note that each appContainer needs to use a different resourceId and will need it
175
169
- If you don't have a `casparcg0` device, add it to the Playout Gateway under the Devices heading, then restart the Playout Gateway.
176
170
- If you are using the distributed setup, you will likely want to repeat this step for each CasparCG machine. You will also want to set `Resource Id` to match the `resourceId` value provided in the appContainer command line.
177
171
1. Click the plus button under "Accessors", then click the edit icon to the right of the newly-created accessor.
178
-
1. Give this accessor an ID of `casparcgHttpProxy0`, a Label of `CasparCG HTTP Proxy Accessor`, an Accessor Type of `HTTP_PROXY`, and a Base URL of `http://localhost:8080/package`. Then, ensure that both the "Allow Read access" and "Allow Write access" boxes are checked. Finally, click the done button (checkmark icon) in the bottom right.
179
-
1. Scroll back to the top of the page and select "CasparCG Package Container" for both "Package Containers to use for previews" and "Package Containers to use for thumbnails".
172
+
1. Give this accessor an ID of `local`, a Label of `Local`, an Accessor Type of `LOCAL`, and a Folder path matching your CasparCG `media` folder. Then, ensure that only the "Allow Read access" boxes are checked. Finally, click the done button (checkmark icon) in the bottom right.
173
+
1. Click the plus button under the Package Containers heading, then click the edit icon (pencil) to the right of the newly-created package container.
174
+
1. Give this package container an ID of `httpProxy0` and a label of `Proxy for thumbnails & preview`.
175
+
1. Click the plus button under "Accessors", then click the edit icon to the right of the newly-created accessor.
176
+
1. Give this accessor an ID of `http0`, a Label of `HTTP`, an Accessor Type of `HTTP_PROXY`, and a Base URL of `http://localhost:8080/package`. Then, ensure that both the "Allow Read access" and "Allow Write access" boxes are checked. Finally, click the done button (checkmark icon) in the bottom right.
177
+
1. Scroll back to the top of the page and select `Proxy for thumbnails & preview` for both "Package Containers to use for previews" and "Package Containers to use for thumbnails".
180
178
1. Your settings should look like this once all the above steps have been completed:
1. If Package Manager `start:single-app` is running, restart it. If not, start it (see the above [Installation instructions](#installation-quick-start) for the relevant command line).
@@ -191,11 +189,11 @@ By adding `--networkIds=pm-net` (a semi colon separated list) when launching the
191
189
Then in the Sofie UI:
192
190
193
191
1. Return to the Package Manager settings under the studio
194
-
1. Expand the `casparcgContainer` container.
195
-
1. Edit the `casparcgHttpProxy` accessor to have a `Base URL` that is accessible from the casparcg machines.
192
+
1. Expand the `httpProxy0` container.
193
+
1. Edit the `http0` accessor to have a `Base URL` that is accessible from the casparcg machines.
196
194
1. Set the `Network ID` to `pm-net` (matching what was passed in the command line)
197
195
1. Click the plus button under "Accessors", then click the edit icon to the right of the newly-created accessor.
198
-
1. Give this accessor an ID of `casparcgHttpProxyThumbnails0`, a Label of `CasparCG Thumbnail HTTP Proxy Accessor`, an Accessor Type of `HTTP_PROXY`, and a Base URL that is accessible to your Sofie client network. Then, ensure that only the "Allow Write access" box is checked. Finally, click the done button (checkmark icon) in the bottom right.
196
+
1. Give this accessor an ID of `publicHttp0`, a Label of `Public HTTP Proxy Accessor`, an Accessor Type of `HTTP_PROXY`, and a Base URL that is accessible to your Sofie client network. Then, ensure that only the "Allow read access" box is checked. Finally, click the done button (checkmark icon) in the bottom right.
0 commit comments