MetaBUG

Worldwide BSD Advocacy

Video Streaming Update

March 13th, 2007 by jdixon

I was able to get streaming server software installed on a well-connected system over the weekend. Thanks to work by Brad Smith, OpenBSD-current will soon have a patched version of VLC that supports RTSP for live video feeds. A few users have tested this out while I streamed a test feed from my laptop, and it works great! We should be able to support dozens of remote clients, but the true test will come at the next CapBUG meeting (speakers willing). Read on for more details about patching VLC if you can’t wait for the OpenBSD ports to unfreeze (or you’re a Free/Net/DragonFlyBSD user).

The following VLC patch enables RTSP support via the liveMedia libraries. The attached liveMedia port will need to be extracted into your /usr/ports/ directory before you perform a make install. Although this patch is only tested against -current, it should work with OpenBSD 4.0 and -stable with minimal edits. If you need further assistance, please post your questions to the talk mailing list.

Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/vlc/Makefile,v
retrieving revision 1.44
diff -u -p -r1.44 Makefile
--- Makefile	15 Feb 2007 17:15:42 -0000	1.44
+++ Makefile	12 Mar 2007 22:47:36 -0000
@@ -5,7 +5,7 @@ SHARED_ONLY=	Yes
 COMMENT=	"videolan client; multimedia player"
 V=		0.8.6
 DISTNAME=	vlc-${V}
-PKGNAME=	vlc-${V}p2
+PKGNAME=	vlc-${V}p3
 CATEGORIES=	x11
 MASTER_SITES=	http://download.videolan.org/pub/videolan/vlc/${V}/

@@ -22,6 +22,7 @@ USE_X11=	Yes

 MODULES=	devel/gettext

+BUILD_DEPENDS+=	::net/liveMedia
 LIB_DEPENDS=	SDL_image.>=1.3::devel/sdl-image \\
 		png.>=4.1::graphics/png \\
 		id3tag.>=3.0::audio/libid3tag \\
@@ -58,7 +59,6 @@ CONFIGURE_ARGS+=--disable-pth \\
 		--disable-debug \\
 		--disable-release \\
 		--without-contrib \\
-		--disable-livedotcom \\
 		--disable-v4l \\
 		--disable-pvr \\
 		--disable-vcdx \\
@@ -155,7 +155,9 @@ CONFIGURE_ARGS+=--enable-ncurses \\
 		--enable-mpc \\
 		--enable-wxwidgets \\
 		--enable-dvdread \\
-		--enable-dvdnav
+		--enable-dvdnav \\
+		--enable-live555 \\
+		--with-live555-tree=${LOCALBASE}/live

 MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/autotools

Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/x11/vlc/pkg/PLIST,v
retrieving revision 1.23
diff -u -p -r1.23 PLIST
--- pkg/PLIST	24 Dec 2006 01:57:16 -0000	1.23
+++ pkg/PLIST	12 Mar 2007 23:01:24 -0000
@@ -146,6 +146,7 @@ lib/vlc/demux/libxa_plugin.so
 lib/vlc/gui/
 lib/vlc/gui/libncurses_plugin.so
 lib/vlc/gui/libwxwidgets_plugin.so
+lib/vlc/liblive555.a
 lib/vlc/libtheora.a
 lib/vlc/libxvideo.a
 lib/vlc/misc/

This entry was posted on Tuesday, March 13th, 2007 at 10:52 pm and is filed under BUG News. You can follow any responses to this entry through the RSS 2.0 feed. Responses are currently closed, but you can trackback from your own site.

Comments are closed.