ports/146967: New Port: www/mod_smooth_streaming Smooth Streaming module for Apache
Marcus Hermansson
bmhermansson at gmail.com
Tue May 25 14:10:03 UTC 2010
>Number: 146967
>Category: ports
>Synopsis: New Port: www/mod_smooth_streaming Smooth Streaming module for Apache
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue May 25 14:10:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Marcus Hermansson
>Release: 8.0-RELEASE
>Organization:
>Environment:
FreeBSD *** 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Sat Nov 21 15:02:08 UTC 2009 root at mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
Smooth Streaming Module for Apache. Encode your content once
and playback on Silverlight, iPhone and Flash 10.1.
Advantages & features:
* It's HTTP-based, so no problems with firewalls.
* It's cache/proxy friendly, so you can use generic HTTP caches/proxies.
* It's cheap, there is no need for additional media streaming
services offered by hosting providers.
* The end user will appreciate the fast starting and seeking
anywhere in the video.
* The video dynamically adapts to network conditions.
* It uses the industry standard MPEG4 file format.
* Use your favourite open source software (X264) to encode your videos.
* Encoded content is compatible with both Smooth Streaming for Silverlight
as well as for HTTP Streaming to the iPhone.
WWW: http://smoothstreaming.code-shop.com/trac/wiki/Mod-Smooth-Streaming-Apache
>How-To-Repeat:
>Fix:
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# .
# ./Makefile
# ./distinfo
# ./pkg-descr
# ./pkg-plist
# ./pkg-message
#
echo c - .
mkdir -p . > /dev/null 2>&1
echo x - ./Makefile
sed 's/^X//' >./Makefile << '464ef7c6571951809b23e262cbe26e19'
X# New ports collection makefile for: mod_smooth_streaming
X# Date created: May 25, 2010
X# Whom: Marcus Hermansson <bmhermansson at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= mod_smooth_streaming
XPORTVERSION= 1.0.8
XCATEGORIES= www
XMASTER_SITES= http://smoothstreaming.code-shop.com/download/
XDISTNAME= apache_${PORTNAME}-${PORTVERSION}
XDIST_SUBDIR= apache22
X
XMAINTAINER=
XCOMMENT= Apache smooth streaming module
X
XUSE_APACHE= 22+
X
XPKGMESSAGE= ${PKGDIR}/pkg-message
XGNU_CONFIGURE= yes
XCONFIGURE_ARGS+= --with-apxs="${APXS}"
X
XRESTRICTED= no-commercial-use
X
XWRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
XPLIST_SUB= SED=${SED}
X
Xpost-install:
X @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
464ef7c6571951809b23e262cbe26e19
echo x - ./distinfo
sed 's/^X//' >./distinfo << 'aec8793adfd5b7c3f00e62ae41a09ac2'
XMD5 (apache22/apache_mod_smooth_streaming-1.0.8.tar.gz) = 606db653147a609619e4477e2ae9af9a
XSHA256 (apache22/apache_mod_smooth_streaming-1.0.8.tar.gz) = 5820e8d2a72f806a7d06088c9908a01d829a2deb4ef6dd6124b41dbf8069d81a
XSIZE (apache22/apache_mod_smooth_streaming-1.0.8.tar.gz) = 328809
aec8793adfd5b7c3f00e62ae41a09ac2
echo x - ./pkg-descr
sed 's/^X//' >./pkg-descr << '0e313719ff012ceaf97a028d51caa8f5'
XSmooth Streaming Module for Apache. Encode your content once
Xand playback on Silverlight, iPhone and Flash 10.1.
X
XAdvantages & features:
X
X * It's HTTP-based, so no problems with firewalls.
X * It's cache/proxy friendly, so you can use generic HTTP caches/proxies.
X * It's cheap, there is no need for additional media streaming
X services offered by hosting providers.
X * The end user will appreciate the fast starting and seeking
X anywhere in the video.
X * The video dynamically adapts to network conditions.
X * It uses the industry standard MPEG4 file format.
X * Use your favourite open source software (X264) to encode your videos.
X * Encoded content is compatible with both Smooth Streaming for Silverlight
X as well as for HTTP Streaming to the iPhone.
X
XWWW: http://smoothstreaming.code-shop.com/trac/wiki/Mod-Smooth-Streaming-Apache
0e313719ff012ceaf97a028d51caa8f5
echo x - ./pkg-plist
sed 's/^X//' >./pkg-plist << 'ef3e7f63841ae908ba397c2bef1fbad6'
X at unexec %%SED%% -i '' '/LoadModule %%AP_NAME%%_module/d' %D/%%APACHEETCDIR%%/httpd.conf
X%%APACHEMODDIR%%/%%AP_MODULE%%
X at exec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%F
X at unexec echo "Don't forget to remove all mod_smooth_streaming-related directives in your httpd.conf"
ef3e7f63841ae908ba397c2bef1fbad6
echo x - ./pkg-message
sed 's/^X//' >./pkg-message << '9f51c313804c544b8024c5640d645b0a'
X***************************************************************
X
XTo enable, add these lines to your main web server config:
X
X LoadModule smooth_streaming_module libexec/apache22/mod_smooth_streaming.so
X AddHandler smooth-streaming.extensions .ism
X
XFor more information on how to configure, see
Xhttp://smoothstreaming.code-shop.com/trac/wiki/Mod-Smooth-Streaming-Apache
X
X***************************************************************
9f51c313804c544b8024c5640d645b0a
exit
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list