Package Details: decklink-sdk 1:12.4-1

Git Clone URL: (read-only, click to copy)
Package Base: decklink-sdk
Description: Blackmagic DeckLink SDK
Upstream URL:
Licenses: custom
Conflicts: blackmagic-decklink-sdk
Provides: blackmagic-decklink-sdk
Replaces: blackmagic-decklink-sdk
Submitter: alub
Maintainer: dbermond
Last Packager: dbermond
Votes: 45
Popularity: 0.78
First Submitted: 2011-05-26 11:54 (UTC)
Last Updated: 2022-07-23 16:13 (UTC)

Latest Comments

dbermond commented on 2022-06-27 02:30 (UTC)

@San32 Upstream changed downloadid. Package updated, thanks for reporting.

San32 commented on 2022-06-26 22:47 (UTC) (edited on 2022-06-26 23:13 (UTC) by San32)

The DeckLink SDK automatic registration somehow does not work correctly. Downloaded the zip manually & it worked. Trying to build ffmpeg-full-git.

SamLukeYes commented on 2022-03-09 16:56 (UTC)

@abcfy2 Thanks for your solution. It works for me.

dbermond commented on 2020-06-28 21:44 (UTC)

@abcfy2 Good that you managed it by yourself.

abcfy2 commented on 2020-06-28 18:45 (UTC)

Hi @dbermond. I find a very simple solution, here is the patch:

diff --git a/PKGBUILD b/PKGBUILD
index d1d7028..355e5a4 100644
@@ -27,7 +27,7 @@ _reqjson="$(  printf '%s' "$_reqjson"   | sed 's/[[:space:]]\+/ /g')"
 _useragent="$(printf '%s' "$_useragent" | sed 's/[[:space:]]\+/ /g')"
 _useragent_escaped="${_useragent// /\\ }"

-_srcurl="$(curl \
+_srcurl="$(curl -L --post301 \
             -s \
             -H 'Host:' \
             -H 'Accept: application/json, text/plain, */*' \
@@ -43,17 +43,6 @@ _srcurl="$(curl \
             --compressed \

-DLAGENTS=("https::/usr/bin/curl \
-              -gqb '' -C - --retry 3 --retry-delay 3 \
-              -H Host:\ \
-              -H Upgrade-Insecure-Requests:\ 1 \
-              -H ${_useragent_escaped} \
-              -H Accept:\ text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8 \
-              -H Accept-Language:\ en-US,en;q=0.9 \
-              -o %o \
-              --compressed \
-              %u")

Both my network and proxy could work.

abcfy2 commented on 2020-06-28 18:15 (UTC)

@dbermond It seems a location issue. I find in my country must request via http. I try to use a American proxy, your PKGBUILD is very well.

But my patch is not working via American proxy, it's sad.

Is there any way try both http and https download?

abcfy2 commented on 2020-06-28 12:59 (UTC)

A little strange. I try your PKGBUILD, but failed. So I download from upstream manually. And I find the download must request via http. If https, then the download url will redirect to http.

dbermond commented on 2020-06-28 12:51 (UTC)

@abcfy2 The source file is downloading fine for me without the need of any modifications.

abcfy2 commented on 2020-06-28 11:49 (UTC)

Hi @dbermond, I've already fixed by myself. I find the upstream URL use http download files. So here is the patch to fix:

diff --git a/PKGBUILD b/PKGBUILD
index d1d7028..08fff13 100644
@@ -4,7 +4,7 @@


 _useragent="User-Agent: Mozilla/5.0 (X11; Linux ${CARCH}) \
                         AppleWebKit/537.36 (KHTML, like Gecko) \
@@ -12,6 +12,7 @@ _useragent="User-Agent: Mozilla/5.0 (X11; Linux ${CARCH}) \
 _reqjson="{ \
     \"platform\": \"Linux\", \
+    \"policy\": true, \
     \"country\": \"us\", \
     \"firstname\": \"Arch\", \
     \"lastname\": \"Linux\", \
@@ -41,9 +42,10 @@ _srcurl="$(curl \
             -H 'Cookie: _ga=GA1.2.1849503966.1518103294; _gid=GA1.2.953840595.1518103294' \
             --data-ascii "$_reqjson" \
             --compressed \
+            --insecure \

-DLAGENTS=("https::/usr/bin/curl \
+DLAGENTS=("http::/usr/bin/curl \
               -gqb '' -C - --retry 3 --retry-delay 3 \
               -H Host:\ \
               -H Upgrade-Insecure-Requests:\ 1 \

abcfy2 commented on 2020-06-28 10:41 (UTC)

404 Not found:

❯ LC_ALL=en_US.UTF-8 yay -S decklink-sdk :: Checking for conflicts... :: Checking for inner conflicts... [Aur: 1] decklink-sdk-1:11.5.1-1

1 decklink-sdk (Build Files Exist) ==> Packages to cleanBuild? ==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4) ==> :: PKGBUILD up to date, Skipping (1/1): decklink-sdk 1 decklink-sdk (Build Files Exist) ==> Diffs to show? ==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4) ==> :: Parsing SRCINFO (1/1): decklink-sdk ==> Making package: decklink-sdk 1:11.5.1-1 (Sun 28 Jun 2020 06:39:49 PM CST) ==> Retrieving sources... ==> ERROR: was not found in the build directory and is not a URL. Error downloading sources: decklink-sdk

I've tried the download URL, also 404:

wget ''

Trying to shorten... New name is --2020-06-28 18:40:47-- Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt' Resolving (,,, ... Connecting to (||:443... connected. HTTP request sent, awaiting response... 404 Not Found 2020-06-28 18:40:48 ERROR 404: Not Found.

pangwa commented on 2020-06-09 23:24 (UTC)

It seems to be the local network problem. I can download it now. Thanks @dbermond

dbermond commented on 2020-06-09 16:10 (UTC)

@pangwa The source file is downloading fine for me.

pangwa commented on 2020-06-09 15:11 (UTC)

Can't download

==> Making package: decklink-sdk 1:11.5.1-1 (Tue 09 Jun 2020 10:56:37 PM CST) ==> Retrieving sources... ==> ERROR: was not found in the build directory and is not a URL. Error downloading sources: decklink-sdk

dbermond commented on 2019-10-03 11:20 (UTC)

@Ashark Somethings are missing there, like a complete json form fill. Although we are more bloated here, it makes sure to work.

Thanks for pointing another resource to look at if it breaks again.

Ashark commented on 2019-09-26 09:30 (UTC)

@dbermond, thanks for your DLAGENTS preparation and recent fix for curl. Works great for DaVinci Resolve as well. But could not it be simplified? If you look at decklink package, it's DLAGENTS looks more minimalistic. Thanks.

dbermond commented on 2019-09-15 13:51 (UTC)

@SolarAquarion This error started after the curl update 7.65.3->7.66.0. I've changed the download code and now it's working fine.

SolarAquarion commented on 2019-09-14 13:45 (UTC)

-> Downloading % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0Warning: Binary output can mess up your terminal. Use "--output -" to tell Warning: curl to output it to your terminal anyway, or consider "--output Warning: <FILE>" to save to a file. 0 61.9M 0 10136 0 0 16643 0 1:05:05 --:--:-- 1:05:05 16616 <html> <head><title>301 Moved Permanently</title></head> <body bgcolor="white"> <center><h1>301 Moved Permanently</h1></center>

<center>openresty</center> </body> </html>

dbermond commented on 2019-08-14 19:35 (UTC)

@keepitsimpleengr As I already said, the checksum is correct.

Maybe you have the old file (upstream changed the source file). Delete the source file and download it again, using an updated version (currently at 11.3-2).

keepitsimpleengr commented on 2019-08-14 15:01 (UTC) (edited on 2019-08-14 15:01 (UTC) by keepitsimpleengr)

==> Retrieving sources...

-> Found

-> Found LICENSE

==> Validating source files with sha256sums... ... FAILED

LICENSE ... Passed

==> ERROR: One or more files did not pass the validity check!

Error downloading sources: blackmagic-decklink-sdk

dbermond commented on 2019-08-13 17:22 (UTC)

@keepitsimpleengr Checksum is correct at the time of this writing.

keepitsimpleengr commented on 2019-08-13 14:52 (UTC) (edited on 2019-08-13 14:53 (UTC) by keepitsimpleengr)

==> Validating source files with sha256sums... / ... FAILED

dbermond commented on 2019-08-12 19:15 (UTC)

@craeckie Thank you for pointing this. Upstream changed the source file. Package updated.

craeckie commented on 2019-08-12 09:00 (UTC)

Seems like upstream source changed. New sha256sum: 6a13a7045d74cde9901d85420d01ee529a6144bf84480a7a10428ae2736da960

satriani commented on 2019-01-24 22:03 (UTC)

@dbermond, where do you get the downloadid from? I'm trying to implement your download method in my package, unfortunately I can't find the _downloadid of DaVinci Resolve.

dbermond commented on 2018-07-03 16:34 (UTC)

@wootywoot Thank you for reporting this. Upstream changed to source file without notice. Now fixed.

wootywoot commented on 2018-06-29 19:44 (UTC) (edited on 2018-06-29 19:45 (UTC) by wootywoot)

I am currently getting the following error.

-> Validating with sha256sum...<br> ... FAILED<br> ==> ERROR: A failure occurred in prepare().<br> Aborting...

Looks like the sha256 sum needs to be updated.

dbermond commented on 2017-07-14 22:32 (UTC)

@ahjolinna Good word: "for now". Until they change it again. :) Nice to know that it's working. Thank you for the confirmation.

ahjolinna commented on 2017-07-14 22:20 (UTC)

@dbermond: yeah that worked..for now, thanks for the fast fix.

dbermond commented on 2017-07-14 22:09 (UTC)

@ahjolinna Thank you for reporting this. Upstream keeps changing the download process frequently. This error should be fixed as of version 10.9.3-4. Can you please confirm it?

ahjolinna commented on 2017-07-14 18:10 (UTC)

the download thing still doesn't work for me " 0curl: (6) Could not resolve host: Bad Request"

dbermond commented on 2017-07-12 16:30 (UTC)

@SwooshyCueb @venjo Thank you for reporting this. It is now fixed as of version 10.9.3-3.

venjo commented on 2017-07-12 16:21 (UTC)

Both automatic and manual intallation do not work either: Automatic error>> curl: (6) Could not resolve host: Must agree to the Terms and Conditions error: failed to download Manual install error>> ==> ERROR: LICENSE was not found in the build directory and is not a URL.

SwooshyCueb commented on 2017-07-12 09:13 (UTC)

Automated downloading doesn't work curl: (6) Could not resolve host: Must agree to the Terms and Conditions error: failed to download

dbermond commented on 2017-03-15 23:50 (UTC)

The downloading and building process is fully automated as of version 10.8.3-2. The source file is downloaded directly from the official upstream website. Now this package currently works with AUR helpers and there is no more need for manual source file download.

nxse commented on 2017-01-29 13:26 (UTC) (edited on 2017-01-29 13:26 (UTC) by nxse)

To install this package, you need to download the Linux version of the Desktop Video SDK and place it next to the PKGBUILD. The desktop video SDK is available here: You need to enter some personal details to download it. (Hint: doesn't have to be correct)

nxse commented on 2017-01-29 13:05 (UTC)

It's done sensei

Kakashi-sensei commented on 2016-09-18 10:17 (UTC) (edited on 2016-09-18 10:24 (UTC) by Kakashi-sensei)

Could you please update this to 10.8? All you need to do is update the sha256sum and the version number.

dbermond commented on 2016-01-28 22:59 (UTC) (edited on 2016-01-28 23:32 (UTC) by dbermond)

@mnovick1988 Thank you for the help. You're welcome. There is already a reference to the download website in PKGBUILD file. Adding it to description could be a good idea. I understand your arguments, they really make sense. But since the download requires registration and the upstream developer doesn't provide an open and direct download link I think that it will not be a good practice to mirror the source file somewhere in the internet. If Blackmagic wanted, they could provide a direct download link, but since they don't provide, it's better to respect the download restrictions from such big company. Regarding the License, it says that the agreement is made by clicking the "AGREE" button (at developer's website). I think that it is a restriction that imposes the user to manualy download the file from developer's website in order to agree with the License. Having this restriction in mind, the source file should not be mirrored or automatic downloaded by PKGBUILD.

EndlessEden commented on 2016-01-26 09:09 (UTC)

@bermond: i was just giving the link in refrence. While it does allow for the file:// protocol to be used, if your not providing the SDK and are not refrencing where it can be retrieved from. then this PKGBUILD is lacking the required sources to build. Please atleast put some information as to where to retrieve the sdk in the description. for people less search-savvy. It would be far easier to just download the SDK and mirror it elsewhere(the license has no limitations on mirroring/redistribution without editing.)

dbermond commented on 2016-01-19 01:27 (UTC)

@Wesley_Chan Blackmagic updated the DeckLink SDK 10.5.4 zip file. It's now a smaller one and has reverted back to the simpler folder structure used until 10.5.3, without the Linux files being presented inside the directory 'CintelSDK-<version>'. I have updated the PKGBUILD to match this new zip file of version 10.5.4 with the new sha256sum. Thank you for the notice.

Wesley_Chan commented on 2016-01-18 04:30 (UTC) (edited on 2016-01-18 04:38 (UTC) by Wesley_Chan)

@Bermond I downloaded twice the file and sha256sum is 3ccd2017c157a9deefe91365cbaabbe530fcc7cef74447238bf865cba67d6557. Could you please verify this? Edit: Oh, seems like the developers has released a new version. Lines to change: _cintelsdkver="$pkgver" sha256sums=('3ccd2017c157a9deefe91365cbaabbe530fcc7cef74447238bf865cba67d6557' cd "${srcdir}/Blackmagic DeckLink SDK ${_cintelsdkver}/Linux/include"

dbermond commented on 2016-01-13 17:36 (UTC) (edited on 2016-01-13 21:33 (UTC) by dbermond)

@mnovick1988 The link that you provided is invalid. It seems to be a kind of link that works only for a few minutes after the registration at Blackamagic's website and only to the person who registered. When trying to access it I get an expiration message: "This URL is invalid or has expired. If you are not redirected automatically, please locate your download on the Blackmagic Design Support page." As stated on PKGBUILD it's necessary to do a registration at Blackmagic's website and manually download the file. So a download link cannot be provided in the source array, but only a reference to the local file. It's up the user to download the file at Blackmagic's website and put it in the PKGBUILD folder to only after that start the makepkg process. Also, it's worth to mention that it will not work with AUR Helpers. This approach is not against the PKGBUILD rules stated in Arch Linux Wiki. Quote from the Arch Linux Wiki: "Files can also be supplied directly in the location of the PKGBUILD and added to this array. These paths are resolved relative to the directory of the PKGBUILD. Before the actual build process is started, all of the files referenced in this array will be downloaded or checked for existence, and makepkg will not proceed, if any are missing." Source: And I see no problems and no need to do any updates in the package() funcion. At least not now. It works nicely with me and I can build, install and use the package with no problems.

EndlessEden commented on 2016-01-12 22:19 (UTC) (edited on 2016-01-12 22:27 (UTC) by EndlessEden) please add file mirror to sources, NOT file:// with no description. (check pkgbuild rules) ----- also please update the package() ---- package() { cd "${srcdir}/Blackmagic DeckLink SDK ${pkgver}/Linux/include" mkdir -p "${pkgdir}"/usr/include install -D -m644 * "${pkgdir}"/usr/include install -D -m644 "$srcdir"/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }

alub commented on 2015-12-01 09:31 (UTC)

How would you do this? You still have to download the SDK yourself.

Enverex commented on 2015-12-01 09:29 (UTC)

Can you please fix this PKGBUILD. It's still failing with "==> ERROR: Unknown download protocol: file".

alub commented on 2015-10-08 17:10 (UTC)

Downloading the Decklink SDK requires registration, you have to download it here: and put it next to the PKGBUILD.

keepitsimpleengr commented on 2015-10-08 17:01 (UTC)

==> Making package: decklink-sdk 1:10.5-1 (Thu Oct 8 09:28:07 PDT 2015) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... ==> ERROR: Unknown download protocol: file Aborting...

DrZaius commented on 2015-08-15 01:53 (UTC)

Path appears to have changed from "$pkgver/SDK/Linux" to "$pkgver/Linux".

milaxnuts commented on 2015-06-18 22:11 (UTC)

here is my PKGBUILD file for decklink-sdk 10.3 i ran: yaourt -S ffmpeg-full and got the error: ==> Retrieving sources... ==> ERROR: Unknown download protocol: file Aborting... ==> ERROR: Makepkg was unable to build decklink-sdk. version 10.4 requires online registration, so you can download the source zip file. then, you would enter the zip file path: source=("/home/$USER/Downloads/Blackmagic_DeckLink_SDK_${pkgver}.zip") and eventually adjust sha256sums and pkgver to fit your source zip file. ---- but i did not test this way! i dont know, if yaourt or makepkg recognize local source files... at least it does not recognize the file:// protocol with URLs like file:///home/$USER/Downloads/Blackmagic_DeckLink_SDK_${pkgver}.zip todo: file a bug report. the source variable should also tolerate local file URLs, so you can manually register at, download the source zip file and proceed with yaourt or makepkg. maybe introduce a special mechanism to manually download source files for makepkg... ---- version 10.3 does not require registration :) current ffmpeg is also compatible with decklink-sdk 10.3 to install decklink-sdk 10.3, run $ yaourt -S decklink-sdk wait for promt 'edit PKGBUILD?', then execute the following curl command as normal user, not root, same user as uses yaourt, makepkg, etc.: $ curl -o "/tmp/yaourt-tmp-$USER/aur-decklink-sdk/PKGBUILD" curl should overwrite the existing old PKGBUILD file. $ ls "/tmp/yaourt-tmp-$USER/aur-decklink-sdk/PKGBUILD"* should only list one file! enter 'n' to 'edit PKGBUILD?' compilation should proceed without errors :) i also had to adjust file paths: 10.3: "$srcdir/Blackmagic DeckLink SDK $pkgver/Linux/include" 10.4: "$srcdir/Blackmagic DeckLink SDK $pkgver/SDK/Linux/include" 10.3: "$srcdir/Blackmagic DeckLink SDK $pkgver/Linux/Samples/bin/${_arch}" 10.4: "$srcdir/Blackmagic DeckLink SDK $pkgver/SDK/Linux/Samples/bin/${_arch}"

alub commented on 2015-06-13 08:48 (UTC)

How do you build your package? I don’t have any problem with makepkg. I will update to 10.4.1, thanks.

RunasSudo commented on 2015-06-13 08:39 (UTC)

Latest version appears to be 10.4.1. Also, PKGBUILD gives "ERROR: Unknown download protocol: file", even when the archive has been downloaded. Removing the "file://" protocol from the PKGBUILD works.

alub commented on 2015-06-06 16:19 (UTC)

You can find version 10.4 here:, “Latest Downloads” Download fails because I can’t include a direct link anymore, Blackmagic requires that you go through their website. Download the file next to the PKGBUILD, and then run makepkg.

keepitsimpleengr commented on 2015-06-06 16:15 (UTC)

I found no version 10.4, only 10.1.4 dated 14 Aug 2014. Also download failed... ==> Retrieving sources... ==> ERROR: Unknown download protocol: file Aborting... ==> ERROR: Makepkg was unable to build decklink-sdk. ...regards

alub commented on 2013-10-09 20:02 (UTC)

The link you gave is for the driver, not the SDK, but I’m going to update the driver soon.

mmx commented on 2013-10-08 14:48 (UTC)

Could you please update this with following link: