Package Details: ffmpeg-decklink 1:4.3.1-2

Git Clone URL: https://aur.archlinux.org/ffmpeg-decklink.git (read-only, click to copy)
Package Base: ffmpeg-decklink
Description: Complete solution to record, convert and stream audio and video (decklink enabled)
Upstream URL: https://www.ffmpeg.org/
Keywords: audio codec convert decklink encoder ffmpeg media video
Licenses: custom: nonfree and unredistributable
Conflicts: ffmpeg
Provides: ffmpeg, libavcodec.so, libavdevice.so, libavfilter.so, libavformat.so, libavutil.so, libpostproc.so, libswresample.so, libswscale.so
Submitter: jankoppe
Maintainer: dbermond
Last Packager: dbermond
Votes: 2
Popularity: 0.000000
First Submitted: 2016-05-11 10:29
Last Updated: 2020-10-19 14:54

Dependencies (62)

Required by (1000)

Sources (5)

Latest Comments

dbermond commented on 2020-10-19 14:56

@jankoppe Added patch for srt 1.4.2. I added the patch in ffmpeg-full but forgot to add it here. Thanks.

jankoppe commented on 2020-10-19 11:50

Current version of ffmpeg has deprecated use of libsrt, that is not compatible with newer versions of libsrt anymore. There is the option of downgrading libsrt or applying this patch, as described in https://trac.ffmpeg.org/ticket/8760#comment:5 :

--- a/libavformat/libsrt.c
+++ b/libavformat/libsrt.c
@@ -313,8 +313,7 @@
         (s->pbkeylen >= 0 && libsrt_setsockopt(h, fd, SRTO_PBKEYLEN, "SRTO_PBKEYLEN", &s->pbkeylen, sizeof(s->pbkeylen)) < 0) ||
         (s->passphrase && libsrt_setsockopt(h, fd, SRTO_PASSPHRASE, "SRTO_PASSPHRASE", s->passphrase, strlen(s->passphrase)) < 0) ||
 #if SRT_VERSION_VALUE >= 0x010302
-        /* SRTO_STRICTENC == SRTO_ENFORCEDENCRYPTION (53), but for compatibility, we used SRTO_STRICTENC */
-        (s->enforced_encryption >= 0 && libsrt_setsockopt(h, fd, SRTO_STRICTENC, "SRTO_STRICTENC", &s->enforced_encryption, sizeof(s->enforced_encryption)) < 0) ||
+        (s->enforced_encryption >= 0 && libsrt_setsockopt(h, fd, SRTO_ENFORCEDENCRYPTION, "SRTO_ENFORCEDENCRYPTION", &s->enforced_encryption, sizeof(s->enforced_encryption)) < 0) ||
         (s->kmrefreshrate >= 0 && libsrt_setsockopt(h, fd, SRTO_KMREFRESHRATE, "SRTO_KMREFRESHRATE", &s->kmrefreshrate, sizeof(s->kmrefreshrate)) < 0) ||
         (s->kmpreannounce >= 0 && libsrt_setsockopt(h, fd, SRTO_KMPREANNOUNCE, "SRTO_KMPREANNOUNCE", &s->kmpreannounce, sizeof(s->kmpreannounce)) < 0) ||
 #endif
@@ -333,7 +332,7 @@
         (s->lossmaxttl >= 0 && libsrt_setsockopt(h, fd, SRTO_LOSSMAXTTL, "SRTO_LOSSMAXTTL", &s->lossmaxttl, sizeof(s->lossmaxttl)) < 0) ||
         (s->minversion >= 0 && libsrt_setsockopt(h, fd, SRTO_MINVERSION, "SRTO_MINVERSION", &s->minversion, sizeof(s->minversion)) < 0) ||
         (s->streamid && libsrt_setsockopt(h, fd, SRTO_STREAMID, "SRTO_STREAMID", s->streamid, strlen(s->streamid)) < 0) ||
-        (s->smoother && libsrt_setsockopt(h, fd, SRTO_SMOOTHER, "SRTO_SMOOTHER", s->smoother, strlen(s->smoother)) < 0) ||
+        (s->smoother && libsrt_setsockopt(h, fd, SRTO_CONGESTION, "SRTO_CONGESTION", s->smoother, strlen(s->smoother)) < 0) ||
         (s->messageapi >= 0 && libsrt_setsockopt(h, fd, SRTO_MESSAGEAPI, "SRTO_MESSAGEAPI", &s->messageapi, sizeof(s->messageapi)) < 0) ||
         (s->payload_size >= 0 && libsrt_setsockopt(h, fd, SRTO_PAYLOADSIZE, "SRTO_PAYLOADSIZE", &s->payload_size, sizeof(s->payload_size)) < 0) ||
         ((h->flags & AVIO_FLAG_WRITE) && libsrt_setsockopt(h, fd, SRTO_SENDER, "SRTO_SENDER", &yes, sizeof(yes)) < 0)) {

dbermond commented on 2020-03-25 13:29

@limaxray Thanks. Package updated.

limaxray commented on 2020-03-24 19:16

The PKGBUILD is missing the sha256sum of the new decklink 11.5 support patch, causing makepkg to fail on source validation.

dbermond commented on 2018-06-11 02:01

@ggrub Thank you for appreciating this package.

Yes, vaapi decode for mjpeg is enabled in this package. It's not viewed with ffmpeg -codecs or -decoders options. vaapi decoding is treated as a hwaccel component, and not as direct decoder, being used with ffmpeg option -hwaccel. You can see it enabled by viewing the ./configure output at build time: Enabled hwaccels: ... mjpeg_vaapi.

ggrub commented on 2018-06-10 12:12

MJPEG decode hwaccel is included ?

https://github.com/FFmpeg/FFmpeg/commit/63c690ad154509dcda78d3d3537bd1af9c406241

DEVIL. mjpeg Motion JPEG (decoders: mjpeg mjpeg_cuvid ) (encoders: mjpeg mjpeg_vaapi )

ggrub commented on 2018-06-09 18:14

Thank you very much for this package. Works perfectly here.

nxse commented on 2017-01-29 08:30

This package should also provide ffmpeg. The installed files will conflict with repo's ffmpeg otherwhise.

jankoppe commented on 2016-09-18 11:08

I have a commented example on how to record a stream from your Card with ffmpeg here:

https://github.com/JanKoppe/pyca-script/blob/master/record.decklink.sh#L95-L126

Please keep in mind that depending on your card you will need to select the input port (HDMI, SDI, etc.) beforehand, otherwise you will only get a testscreen with color bars. You can do that by using the Desktop Video Utility from the `decklink` package, or editing the config file in `/etc/blackmagic/BlackMagicPreferences.xml` directly.

The decklink cards are very picky about the input signal, so if you do not match the resolution and refresh rate exactly, you will only get a testscreen as input.

Kakashi-sensei commented on 2016-09-18 10:47

How do I open a stream from my card with this?