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 PR: ports/146967 Submitted by: Marcus Hermansson <bmhermansson at gmail.com>
This commit is contained in:
parent
852df8d980
commit
273e59cbe0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=255083
6 changed files with 73 additions and 0 deletions
|
@ -544,6 +544,7 @@
|
|||
SUBDIR += mod_sed
|
||||
SUBDIR += mod_sequester
|
||||
SUBDIR += mod_shapvh
|
||||
SUBDIR += mod_smooth_streaming
|
||||
SUBDIR += mod_sqlinclude
|
||||
SUBDIR += mod_ticket
|
||||
SUBDIR += mod_tidy
|
||||
|
|
36
www/mod_smooth_streaming/Makefile
Normal file
36
www/mod_smooth_streaming/Makefile
Normal file
|
@ -0,0 +1,36 @@
|
|||
# New ports collection makefile for: mod_smooth_streaming
|
||||
# Date created: May 25, 2010
|
||||
# Whom: Marcus Hermansson <bmhermansson@gmail.com>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mod_smooth_streaming
|
||||
PORTVERSION= 1.0.8
|
||||
CATEGORIES= www
|
||||
MASTER_SITES= http://smoothstreaming.code-shop.com/download/
|
||||
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
|
||||
DISTNAME= apache_${PORTNAME}-${PORTVERSION}
|
||||
DIST_SUBDIR= apache22
|
||||
|
||||
MAINTAINER=
|
||||
COMMENT= Apache smooth streaming module
|
||||
|
||||
RESTRICTED= no-commercial-use
|
||||
|
||||
USE_APACHE= 22+
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+= --with-apxs=${APXS}
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
||||
|
||||
PKGMESSAGE= ${WRKDIR}/pkg-message
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST+= APACHEMODDIR=${APACHEMODDIR}
|
||||
|
||||
post-install:
|
||||
${LOCALBASE}/sbin/apxs -e -a -n smooth_streaming ${LOCALBASE}/${APACHEMODDIR}/${PORTNAME}.so
|
||||
@${CAT} ${PKGMESSAGE}
|
||||
|
||||
.include <bsd.port.mk>
|
3
www/mod_smooth_streaming/distinfo
Normal file
3
www/mod_smooth_streaming/distinfo
Normal file
|
@ -0,0 +1,3 @@
|
|||
MD5 (apache22/apache_mod_smooth_streaming-1.0.8.tar.gz) = 606db653147a609619e4477e2ae9af9a
|
||||
SHA256 (apache22/apache_mod_smooth_streaming-1.0.8.tar.gz) = 5820e8d2a72f806a7d06088c9908a01d829a2deb4ef6dd6124b41dbf8069d81a
|
||||
SIZE (apache22/apache_mod_smooth_streaming-1.0.8.tar.gz) = 328809
|
11
www/mod_smooth_streaming/files/pkg-message.in
Normal file
11
www/mod_smooth_streaming/files/pkg-message.in
Normal file
|
@ -0,0 +1,11 @@
|
|||
***************************************************************
|
||||
|
||||
To enable, add these lines to your main web server config:
|
||||
|
||||
LoadModule smooth_streaming_module %%APACHEMODDIR%%/mod_smooth_streaming.so
|
||||
AddHandler smooth-streaming.extensions .ism
|
||||
|
||||
For more information on how to configure, see
|
||||
http://smoothstreaming.code-shop.com/trac/wiki/Mod-Smooth-Streaming-Apache
|
||||
|
||||
***************************************************************
|
18
www/mod_smooth_streaming/pkg-descr
Normal file
18
www/mod_smooth_streaming/pkg-descr
Normal file
|
@ -0,0 +1,18 @@
|
|||
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
|
4
www/mod_smooth_streaming/pkg-plist
Normal file
4
www/mod_smooth_streaming/pkg-plist
Normal file
|
@ -0,0 +1,4 @@
|
|||
@exec %D/sbin/apxs -e -a -n %%AP_NAME%% %D/%F
|
||||
%%APACHEMODDIR%%/%%AP_MODULE%%
|
||||
@unexec %D/sbin/apxs -e -A -n %%AP_NAME%% %D/%F
|
||||
@unexec echo "Don't forget to remove all mod_smooth_streaming-related directives in your httpd.conf"
|
Loading…
Reference in a new issue