diff options
author | tijl <tijl@FreeBSD.org> | 2015-04-17 03:53:02 +0800 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2015-04-17 03:53:02 +0800 |
commit | d9753d880dc147c7d6e788b8e5f58f1be85d664c (patch) | |
tree | 9a74daf02fdc840b9c805120899edb37fdbb329b /multimedia | |
parent | 3c9ac47d1775846cefef2a4aa970ac1488e912e4 (diff) | |
download | freebsd-ports-gnome-d9753d880dc147c7d6e788b8e5f58f1be85d664c.tar.gz freebsd-ports-gnome-d9753d880dc147c7d6e788b8e5f58f1be85d664c.tar.zst freebsd-ports-gnome-d9753d880dc147c7d6e788b8e5f58f1be85d664c.zip |
New port multimedia/msopenh264:
H264 encoder/decoder plugin for Mediastreamer based on OpenH264
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/Makefile | 1 | ||||
-rw-r--r-- | multimedia/msopenh264/Makefile | 19 | ||||
-rw-r--r-- | multimedia/msopenh264/distinfo | 2 | ||||
-rw-r--r-- | multimedia/msopenh264/files/patch-src-msopenh264enc.cpp | 11 | ||||
-rw-r--r-- | multimedia/msopenh264/pkg-descr | 3 | ||||
-rw-r--r-- | multimedia/msopenh264/pkg-plist | 3 |
6 files changed, 39 insertions, 0 deletions
diff --git a/multimedia/Makefile b/multimedia/Makefile index c4b0edef3679..e78534ec5429 100644 --- a/multimedia/Makefile +++ b/multimedia/Makefile @@ -254,6 +254,7 @@ SUBDIR += mps-youtube SUBDIR += mpv SUBDIR += msdl + SUBDIR += msopenh264 SUBDIR += mxflib SUBDIR += mythtv SUBDIR += mythtv-frontend diff --git a/multimedia/msopenh264/Makefile b/multimedia/msopenh264/Makefile new file mode 100644 index 000000000000..4f9c5138ab5c --- /dev/null +++ b/multimedia/msopenh264/Makefile @@ -0,0 +1,19 @@ +# $FreeBSD$ + +PORTNAME= msopenh264 +PORTVERSION= 0.1.1 +CATEGORIES= multimedia net +MASTER_SITES= SAVANNAH/linphone/plugins/sources/ + +MAINTAINER= tijl@FreeBSD.org +COMMENT= Mediastreamer plugin for H264 encoding/decoding + +LIB_DEPENDS= libmediastreamer_base.so:${PORTSDIR}/net/mediastreamer \ + libopenh264.so:${PORTSDIR}/multimedia/openh264 + +USES= libtool pkgconfig +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --disable-strict +INSTALL_TARGET= install-strip + +.include <bsd.port.mk> diff --git a/multimedia/msopenh264/distinfo b/multimedia/msopenh264/distinfo new file mode 100644 index 000000000000..3ed06546c702 --- /dev/null +++ b/multimedia/msopenh264/distinfo @@ -0,0 +1,2 @@ +SHA256 (msopenh264-0.1.1.tar.gz) = d3c0de009a441aa8dcdfccea3fe7f22b9827b23fe50ff181bbc23d0fdad41195 +SIZE (msopenh264-0.1.1.tar.gz) = 386292 diff --git a/multimedia/msopenh264/files/patch-src-msopenh264enc.cpp b/multimedia/msopenh264/files/patch-src-msopenh264enc.cpp new file mode 100644 index 000000000000..5a05801f9c8b --- /dev/null +++ b/multimedia/msopenh264/files/patch-src-msopenh264enc.cpp @@ -0,0 +1,11 @@ +--- src/msopenh264enc.cpp.orig 2015-03-16 09:14:32 UTC ++++ src/msopenh264enc.cpp +@@ -136,7 +136,7 @@ void MSOpenH264Encoder::initialize() + params.iRCMode = RC_BITRATE_MODE; + params.fMaxFrameRate = mVConf.fps; + params.uiIntraPeriod=mVConf.fps*10; +- params.bEnableSpsPpsIdAddition=0; ++ params.eSpsPpsIdStrategy=CONSTANT_ID; + //params.bEnableRc = true; + params.bEnableFrameSkip = true; + params.bPrefixNalAddingCtrl = false; diff --git a/multimedia/msopenh264/pkg-descr b/multimedia/msopenh264/pkg-descr new file mode 100644 index 000000000000..8ad878f8a6e0 --- /dev/null +++ b/multimedia/msopenh264/pkg-descr @@ -0,0 +1,3 @@ +H264 encoder and decoder plugin for Mediastreamer based on OpenH264 codec. + +WWW: https://www.linphone.org/technical-corner/mediastreamer2.html diff --git a/multimedia/msopenh264/pkg-plist b/multimedia/msopenh264/pkg-plist new file mode 100644 index 000000000000..524afa419d75 --- /dev/null +++ b/multimedia/msopenh264/pkg-plist @@ -0,0 +1,3 @@ +lib/mediastreamer/plugins/libmsopenh264.so +lib/mediastreamer/plugins/libmsopenh264.so.0 +lib/mediastreamer/plugins/libmsopenh264.so.0.0.0 |