Date: Sat, 16 Feb 2019 00:42:46 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r493026 - in head/multimedia: . ffmpeg svt-av1 Message-ID: <201902160042.x1G0gkgK076985@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Sat Feb 16 00:42:45 2019 New Revision: 493026 URL: https://svnweb.freebsd.org/changeset/ports/493026 Log: multimedia/ffmpeg: add another AV1 encoder Added: head/multimedia/svt-av1/ head/multimedia/svt-av1/Makefile (contents, props changed) head/multimedia/svt-av1/distinfo (contents, props changed) head/multimedia/svt-av1/pkg-descr (contents, props changed) head/multimedia/svt-av1/pkg-plist (contents, props changed) Modified: head/multimedia/Makefile (contents, props changed) head/multimedia/ffmpeg/Makefile (contents, props changed) head/multimedia/ffmpeg/distinfo (contents, props changed) Modified: head/multimedia/Makefile ============================================================================== --- head/multimedia/Makefile Sat Feb 16 00:42:36 2019 (r493025) +++ head/multimedia/Makefile Sat Feb 16 00:42:45 2019 (r493026) @@ -400,6 +400,7 @@ SUBDIR += subtitleoffsetmodifier SUBDIR += subtitleripper SUBDIR += subtools + SUBDIR += svt-av1 SUBDIR += swfdec-gnome SUBDIR += syncplay SUBDIR += szap-s2 Modified: head/multimedia/ffmpeg/Makefile ============================================================================== --- head/multimedia/ffmpeg/Makefile Sat Feb 16 00:42:36 2019 (r493025) +++ head/multimedia/ffmpeg/Makefile Sat Feb 16 00:42:45 2019 (r493026) @@ -73,7 +73,7 @@ OPTIONS_RADIO_SSL= GNUTLS MBEDTLS OPENSSL OPTIONS_GROUP= LICENSE OPTIONS_GROUP_LICENSE= GPL3 NONFREE -OPTIONS_DEFINE_amd64= BEIGNET MMX SSE +OPTIONS_DEFINE_amd64= BEIGNET MMX SSE SVTAV1 OPTIONS_DEFINE_armv6= VFP NEON OPTIONS_DEFINE_i386= BEIGNET MMX SSE OPTIONS_DEFAULT_amd64= MMX SSE @@ -107,6 +107,7 @@ RUBBERBAND_DESC=Time-stretching and pitch-shifting wit RTCPU_DESC= Detect CPU capabilities at runtime RTMP_DESC= RTMP(T)E protocol support SRT_DESC= Haivision SRT protocol via libsrt +SVTAV1_DESC= AV1 encoding via SVT-AV1 LIBRTMP_DESC= ${RTMP_DESC} via librtmp TENSORFLOW_DESC=TensorFlow as a DNN module backend for DNN based filters like sr TESSERACT_DESC= Optical Character Recognition via Tesseract @@ -406,6 +407,15 @@ SSH_CONFIGURE_ENABLE= libssh # srt SRT_LIB_DEPENDS= libsrt.so:net/srt SRT_CONFIGURE_ENABLE= libsrt + +# svt-av1 +SVTAV1_LIB_DEPENDS= libSvtAv1Enc.so:multimedia/svt-av1 +SVTAV1_CONFIGURE_ENABLE= libsvtav1 +SVTAV1_PATCH_SITES= https://github.com/OpenVisualCloud/SVT-AV1/raw/37a5b96/ffmpeg_plugin/ +SVTAV1_PATCHFILES= 0001-Add-ability-for-ffmpeg-to-run-svt-av1.patch:-p1 +.if make(makesum) +.MAKEFLAGS: WITH+=SVTAV1 +.endif # tensorflow TENSORFLOW_LIB_DEPENDS= libtensorflow.so:science/tensorflow Modified: head/multimedia/ffmpeg/distinfo ============================================================================== --- head/multimedia/ffmpeg/distinfo Sat Feb 16 00:42:36 2019 (r493025) +++ head/multimedia/ffmpeg/distinfo Sat Feb 16 00:42:45 2019 (r493026) @@ -1,3 +1,5 @@ -TIMESTAMP = 1549745767 +TIMESTAMP = 1541460154 SHA256 (ffmpeg-4.1.1.tar.xz) = 373749824dfd334d84e55dff406729edfd1606575ee44dd485d97d45ea4d2d86 SIZE (ffmpeg-4.1.1.tar.xz) = 8893404 +SHA256 (0001-Add-ability-for-ffmpeg-to-run-svt-av1.patch) = ffe17691750a952591090e6f7396a6063a0c48907bc4023db15e088a7673528a +SIZE (0001-Add-ability-for-ffmpeg-to-run-svt-av1.patch) = 20364 Added: head/multimedia/svt-av1/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/svt-av1/Makefile Sat Feb 16 00:42:45 2019 (r493026) @@ -0,0 +1,34 @@ +# $FreeBSD$ + +PORTNAME= svt-av1 +PORTVERSION= s20180215 +CATEGORIES= multimedia + +MAINTAINER= jbeich@FreeBSD.org +COMMENT= Scalable AV1 encoder + +LICENSE= BSD2CLAUSE+PATENT +LICENSE_GROUPS= FSF OSI COPYFREE +LICENSE_NAME= BSD-2-Clause Plus Patent License +LICENSE_FILE= ${WRKSRC}/LICENSE.md +LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept + +ONLY_FOR_ARCHS= amd64 +ONLY_FOR_ARCHS_REASON= requires AVX support and uses x86-64 assembly + +BUILD_DEPENDS= nasm:devel/nasm + +USES= cmake +USE_GITHUB= yes +USE_LDCONFIG= yes +GH_ACCOUNT= OpenVisualCloud +GH_PROJECT= SVT-AV1 +GH_TAGNAME= 37a5b96 + +post-patch: +# Avoid platform whitelists for generic non-Windows code + @${REINPLACE_CMD} 's/Linux/${OPSYS}/' ${WRKSRC}/CMakeLists.txt + @${GREP} -Flr '__linux__' ${WRKSRC} | ${XARGS} \ + ${REINPLACE_CMD} -i .opsys 's/__linux__/__${OPSYS}__/' + +.include <bsd.port.mk> Added: head/multimedia/svt-av1/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/svt-av1/distinfo Sat Feb 16 00:42:45 2019 (r493026) @@ -0,0 +1,3 @@ +TIMESTAMP = 1550269147 +SHA256 (OpenVisualCloud-SVT-AV1-s20180215-37a5b96_GH0.tar.gz) = 03ebe4efcd22fd8f4176018371ec6574428e7448e98e28cd84cf5766030eef64 +SIZE (OpenVisualCloud-SVT-AV1-s20180215-37a5b96_GH0.tar.gz) = 1625656 Added: head/multimedia/svt-av1/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/svt-av1/pkg-descr Sat Feb 16 00:42:45 2019 (r493026) @@ -0,0 +1,6 @@ +The Scalable Video Technology for AV1 Encoder (SVT-AV1 Encoder) is an +AV1-compliant encoder library core. The SVT-AV1 development is a +work-in-progress targeting performance levels applicable to both VOD +and Live encoding / transcoding video applications. + +WWW: https://github.com/OpenVisualCloud/SVT-AV1 Added: head/multimedia/svt-av1/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/multimedia/svt-av1/pkg-plist Sat Feb 16 00:42:45 2019 (r493026) @@ -0,0 +1,7 @@ +bin/SvtAv1EncApp +bin/SvtAv1EncSimpleApp +include/svt-av1/EbApi.h +include/svt-av1/EbErrorCodes.h +include/svt-av1/EbTime.h +lib/libSvtAv1Enc.so +libdata/pkgconfig/SvtAv1Enc.pc
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201902160042.x1G0gkgK076985>