Skip to content

Commit

Permalink
documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan McCartney committed Nov 15, 2023
1 parent d1186bc commit 0056d7a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 25 deletions.
16 changes: 0 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,22 +59,6 @@ If you want to contribute to this project or you'd like some of the above featur

1. Install your packages locally - `npm install --platform=linux --arch=arm64v8 sharp`

### With Decklink Support

Before building you'll need to set the build argument variable `DECKLINK_SUPPORT` to `true`.

Additionally, you'll need to get a download link for the Blackmagic Design SDK from the [Blackmagic Website](https://www.blackmagicdesign.com/support/download/2438c76b9f734f69b4a914505e50a5ab/Linux).

It'll come in the form `https://sw.blackmagicdesign.com/DeckLink/v12.x.x/Blackmagic_DeckLink_SDK_12.x.x.zip?Key-Pair-Id=VALUE==&Expires=VALUE`

Then set the build argument variable `DEKSTOP_VIDEO_SDK_URL` to this url.

When running the container you'll then need to pass through the device. To do this;

1. Install Decklink Driver on your host machine.
2. Check device is connected and update any firmware
3. Determine the Blackmagic device mapping on the host. Expect something like - `dev/blackmagic/dv0`.

## About

This software uses libraries from the FFmpeg project under the LGPLv2.1.
Expand Down
12 changes: 6 additions & 6 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,22 @@ services:
build:
context: "."
args:
DECKLINK_SUPPORT: "true"
DECKLINK_SDK_URL: "https://swr.cloud.blackmagicdesign.com/DeckLink/v12.4.1/Blackmagic_DeckLink_SDK_12.4.1.zip?verify=1700043032-FgQMKlR0B7TUvb3%2FPRTMkH4rqe0iUxIkce4%2Bys9XOWo%3D"
DECKLINK_DRIVER_URL: "https://swr.cloud.blackmagicdesign.com/DesktopVideo/v12.4.1/Blackmagic_Desktop_Video_Linux_12.4.1.tar.gz?verify=1700043059-ng0Z1xXhTCotND0oHYbRKv0L8xdTGXPYxfCWin%2BHydU%3D"
DECKLINK_SUPPORT: "false"
DECKLINK_SDK_URL: "https://swr.cloud.blackmagicdesign.com/DeckLink/v12.4.1/Blackmagic_DeckLink_SDK_12.4.1.zip?verify="
DECKLINK_DRIVER_URL: "https://swr.cloud.blackmagicdesign.com/DesktopVideo/v12.4.1/Blackmagic_Desktop_Video_Linux_12.4.1.tar.gz?verify="
DECKLINK_DRIVER_VERSION: "12.4.1"
NDI_SUPPORT: "false"
NDI_SDK_URL: "https://downloads.ndi.tv/SDK/NDI_SDK_Linux/Install_NDI_SDK_v5_Linux.tar.gz"
NON_FREE: "true"
restart: always
volumes:
- ./:/home/node/app
devices:
- /dev/blackmagic/io0:/dev/blackmagic/io0
#devices:
# - /dev/blackmagic/io0:/dev/blackmagic/io0
environment:
NODE_ENV: "development"
PORT: 80
HOST: "172.26.108.42"
HOST: "localhost"
WEB_GUI: "true"
ports:
- 80:80
6 changes: 3 additions & 3 deletions docs/pages/installation/decklink.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ To use the decklink device you'll need to have the correct drivers installed on

You can use the script in this repository to do this;

* `chmod +x setup.sh`
* `./setup.sh`
- `chmod +x setup.sh`
- `./setup.sh`

If your Decklink card required an update during this process you'll need to reboot the host machine.

Expand All @@ -24,7 +24,7 @@ Before building you'll need to set the build argument variable `DECKLINK_SUPPORT

Additionally, you'll need to get a download link for the Blackmagic Design SDK from the [Blackmagic Website](https://www.blackmagicdesign.com/support/download/2438c76b9f734f69b4a914505e50a5ab/Linux).

It'll come in the form `https://sw.blackmagicdesign.com/DeckLink/v12.x.x/Blackmagic_DeckLink_SDK_12.x.x.zip?Key-Pair-Id=VALUE==&Expires=VALUE`
It'll come in the form `https://swr.cloud.blackmagicdesign.com/DeckLink/v12.X.X/Blackmagic_DeckLink_SDK_12.X.X.zip?verify=VALUE`

Then set the build argument variable `DEKSTOP_VIDEO_SDK_URL` to this url.

Expand Down

0 comments on commit 0056d7a

Please sign in to comment.