Package Details: ffmpeg-decklink 1:6.0-3

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 (UTC)
Last Updated: 2023-08-12 13:39 (UTC)

Required by (1744)

Sources (6)

Latest Comments

1 2 Next › Last »

dbermond commented on 2023-06-21 00:45 (UTC)

@thurstylark The option was accidentally dropped in the last update. Now fixed, by adding it again. Thanks for reporting.

thurstylark commented on 2023-05-17 14:25 (UTC) (edited on 2023-05-17 14:25 (UTC) by thurstylark)

Current version fails in build() with the following message:

==> Starting build()...
  -> Running ffmpeg configure script...
decklink is incompatible with the gpl and --enable-nonfree is not specified.

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.libera.chat.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
==> ERROR: A failure occurred in build().
    Aborting...

Adding --enable-nonfree to the configure script options fixes the issue.

dbermond commented on 2020-10-19 14:56 (UTC)

@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 (UTC) (edited on 2020-10-19 11:50 (UTC) by jankoppe)

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 (UTC)

@limaxray Thanks. Package updated.

limaxray commented on 2020-03-24 19:16 (UTC)

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 (UTC)

@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 (UTC)

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 (UTC)

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

nxse commented on 2017-01-29 08:30 (UTC)

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