ports/149017: multimedia/gstreamer-ffmpeg not registering as a gst module after being installed, gst-inspect ffmpeg yielding no result, playback of mpeg-4 files not possible using the gstreamer backend

Ivan Georgiev iegeorgiev at gmail.com
Wed Jul 28 01:00:11 UTC 2010


>Number:         149017
>Category:       ports
>Synopsis:       multimedia/gstreamer-ffmpeg not registering as a gst module after being installed, gst-inspect ffmpeg yielding no result, playback of mpeg-4 files not possible using the gstreamer backend
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 28 01:00:10 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Ivan Georgiev
>Release:        FreeBSD 8.1-RELEASE
>Organization:
N/A
>Environment:
uname: FreeBSD bsdbox 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Sat Jul 24 16:41:59 EEST 2010     root at bsdbox:/usr/obj/usr/src/sys/MINE  amd64
gnome: 2.30.2
gstreamer: gstreamer-0.10.30
gstreamer-ffmpeg: gstreamer-ffmpeg-0.10.11
>Description:
Trying to play mpeg-4 files in Gnome using the Totem player with the gstreamer backend is not possible.
The plugin responsible for mpeg-4 playback is gstreamer-ffmpeg. The plugin builds and installs fine from the ports collection, but subsequently is not detected as a plugin by the gstreamer plugin backend, making playback of file formats relying on the plugin not possible. The problem is inherent for version gstreamer-ffmpeg-0.10.11.
>How-To-Repeat:
Build the latest gnome metaport and try to play a mpeg-4 file using any player relying on the gstreamer backend.
>Fix:
There is a patch provided which pathces the ports/gstreamer-ffmpeg Makefile and solves the problem. Patch was provided by kwm - Koop Mast. 

Patch attached with submission follows:

? gstreamer-ffmpeg-fix.diff
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/multimedia/gstreamer-ffmpeg/Makefile,v
retrieving revision 1.37
diff -a -u -r1.37 Makefile
--- Makefile	24 Jul 2010 16:18:48 -0000	1.37
+++ Makefile	27 Jul 2010 23:11:00 -0000
@@ -47,5 +48,7 @@
 		${WRKSRC}/gst-libs/ext/ffmpeg/doc/texi2pod.pl
 	@${REINPLACE_CMD} -e 's|-Wmissing-include-dirs||g' \
 		${WRKSRC}/configure
+	@cd ${WRKSRC}/gst-libs/ext/ffmpeg/libavcodec && \
+		${LN} -s x86 i386 && ${LN} -s x86 amd64
 
 .include <bsd.port.post.mk>


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list