ports/177296: enable opus plugin in multimedia/gstreamer-plugins-bad
Eric L. Camachat
eric at camachat.org
Sat Mar 23 03:10:00 UTC 2013
>Number: 177296
>Category: ports
>Synopsis: enable opus plugin in multimedia/gstreamer-plugins-bad
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Sat Mar 23 03:10:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator: Eric L. Camachat
>Release: 10.0-CURRENT
>Organization:
Motorola Solutions, Inc.
>Environment:
FreeBSD eb8460p 10.0-CURRENT FreeBSD 10.0-CURRENT #5 r248590: Thu Mar 21 14:07:35 PDT 2013 root at eb8460p:/usr/obj/usr/src/sys/EB8460p amd64
>Description:
Enable opus plugin support in gstreamer-plugins-bad
>How-To-Repeat:
$ gst-launch filesrc location=audio.mp3 ! mad ! audioconvert ! audioresample ! opusenc ! oggmux ! filesink location=audio.ogg
$ gst-launch filesrc location=audio.ogg ! oggdemux ! opusdec ! audioconvert ! audioresample ! autoaudiosink
>Fix:
Encode/Decode Opus audio with gstreamer
Patch attached with submission follows:
Index: audio/gstreamer-plugins-opus/Makefile
===================================================================
--- audio/gstreamer-plugins-opus/Makefile (revision 0)
+++ audio/gstreamer-plugins-opus/Makefile (working copy)
@@ -0,0 +1,11 @@
+
+PORTREVISION= 0
+CATEGORIES= audio
+
+COMMENT= Gstreamer Opus audio encoder/decoder plugin
+
+GST_PLUGIN= opus
+
+MASTERDIR= ${.CURDIR}/../../multimedia/gstreamer-plugins
+
+.include "${MASTERDIR}/Makefile"
Index: multimedia/gstreamer-plugins/Makefile.common
===================================================================
--- multimedia/gstreamer-plugins/Makefile.common (revision 314865)
+++ multimedia/gstreamer-plugins/Makefile.common (working copy)
@@ -50,6 +50,7 @@
neon \
ofa \
opencv \
+ opus \
resindvd \
rsvg \
schro \
@@ -432,6 +433,12 @@
${GST_LIB_DIR}/libgstopencv.so
gst_opencv_DIST= bad
+# opus
+gst_opus_LIB_DEPENDS+= opus.3:${PORTSDIR}/audio/opus
+gst_opus_PLIST_FILES= ${GST_LIB_DIR}/libgstopus.la \
+ ${GST_LIB_DIR}/libgstopus.so
+gst_opus_DIST= bad
+
# pango
gst_pango_USE_GNOME+= pango
gst_pango_PLIST_FILES= ${GST_LIB_DIR}/libgstpango.la \
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list