1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-07 11:49:40 +00:00

www/angie-module-vod: VOD dynamic module for Angie

Module allows on-the-fly repackaging of MP4 files to DASH, HDS, HLS, MSS.
It provides following working modes:
- local: serve locally accessible files (local disk/NFS mounted)
- remote: serve files accessible via HTTP using range requests
- mapped - serve files according to a specification encoded in JSON format

PR:		273462
This commit is contained in:
Oleg A. Mamontov 2023-08-31 00:01:43 +03:00 committed by Robert Clausecker
parent 42c6d0e54a
commit b33d841b2e
5 changed files with 49 additions and 0 deletions

View File

@ -48,6 +48,7 @@
SUBDIR += angie-module-set-misc
SUBDIR += angie-module-subs
SUBDIR += angie-module-upload
SUBDIR += angie-module-vod
SUBDIR += angie-module-xslt
SUBDIR += anyremote2html
SUBDIR += apache-mode.el

View File

@ -0,0 +1,25 @@
PORTNAME= angie-module-vod
GH_TUPLE= kaltura:nginx-vod-module:1.31:module
COMMENT= VOD dynamic module for Angie
LIB_DEPENDS= libavcodec.so:multimedia/ffmpeg \
libswscale.so:multimedia/ffmpeg
MASTERDIR= ${.CURDIR}/../../www/angie
do-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${MKDIR} ${STAGEDIR}${MODDIR}
${INSTALL_LIB} ${WRKSRC}/objs/ngx_http_vod_module.so \
${STAGEDIR}${MODDIR}
${INSTALL_MAN} ${WRKSRC_module}/README.md ${STAGEDIR}${DOCSDIR}
do-install-DEBUG-on:
${INSTALL} ${COPY} -m ${_SHAREMODE} \
${WRKSRC_DEBUG}/objs/ngx_http_vod_module.so \
${STAGEDIR}${MODDIR}/ngx_http_vod_module-debug.so
.include "${MASTERDIR}/Makefile"

View File

@ -0,0 +1,15 @@
[
{ type: install
message: <<EOM
The VOD dynamic module for Angie has been installed.
To enable this module, add the following to %%PREFIX%%/etc/angie/angie.conf
and reload angie:
load_module modules/ngx_http_vod_module.so;
Please refer to the module documentation for further details:
https://github.com/kaltura/nginx-vod-module
EOM
}
]

View File

@ -0,0 +1,5 @@
Module allows on-the-fly repackaging of MP4 files to DASH, HDS, HLS, MSS.
It provides following working modes:
- local: serve locally accessible files (local disk/NFS mounted)
- remote: serve files accessible via HTTP using range requests
- mapped - serve files according to a specification encoded in JSON format

View File

@ -0,0 +1,3 @@
%%DOCSDIR%%/README.md
%%MODDIR%%/ngx_http_vod_module.so
%%DEBUG%%%%MODDIR%%/ngx_http_vod_module-debug.so