fluunt-1.0.0
توضیحات
Video stream server (HLS, HTTP, HTTP-FLV, time-shift, image server)
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | fluunt-1.0.0 |
| نام | fluunt |
| نسخه کتابخانه | 1.0.0 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Pablo Saavedra |
| ایمیل نویسنده | saavedra.pablo@gmail.com |
| آدرس صفحه اصلی | http://github.com/psaavedra/fluunt |
| آدرس اینترنتی | https://pypi.org/project/fluunt/ |
| مجوز | Copyright (R) - 2011 Pablo Saavedra Rodiño at treitos.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
Document status: **Early draft**
Depends:
python: 2.6 at least
bottle: 0.11.5 at least
paste: 1.7.5.1 at least
requests: 2.3.0 at least
ffmpeg
imagemagick
Installation::
* adduser fluunt
* mkdir /var/log/fluunt
* mkdir -p /mnt/vod/fluunt
* mkdir -p /mnt/vod/fluunt/pvr/ts
* mkdir -p /mnt/vod/fluunt/videos
* # Alternative 1:
* cd /opt
* git clone https://github.com/psaavedra/fluunt.git fluunt
* chown -R fluunt.fluunt /opt/fluunt
* # End Alternative 1
* # Alternative 2:
* pip install fluunt
* # End Alternative 2
* chown -R fluunt.fluunt /var/log/fluunt
* chown -R fluunt.fluunt /mnt/vod/fluunt
just for fluunt-image-server::
* mkdir -p /mnt/images/fluunt/
* mkdir -p /mnt/images/fluunt/local
* chown -R fluunt.fluunt /mnt/images
fluunt-server watchdog (just for manual git installation)::
(cronjobs)
0 7,2 * * * root /opt/fluunt/tools/fluunt-watchdog 127.0.0.1 8000 /mnt/vod/fluunt /pvr/ts check.txt force > /dev/null 2&>1
*/1 * * * * root /opt/fluunt/tools/fluunt-watchdog 127.0.0.1 8000 /mnt/vod/fluunt /pvr/ts check.txt > /dev/null 2&>1
(examples of cronjobs for fluunt-image-server)
5 */2 * * * root rm /mnt/images/fluunt/tmp/* > /dev/null 2>&1
20 0 * * * root find /mnt/images/fluunt/cache/ -mtime 1 -exec rm {} \; > /dev/null 2>&1
fluunt-server start (just for manual git installation)::
/opt/fluunt/tools/fluunt-watchdog 127.0.0.1 8000 /mnt/vod/fluunt /pvr/ts check.txt force
fluunt-image-server start::
/opt/fluunt/tools/fluunt-image-server --loglevel 30 -i 0.0.0.0 -p 5555 \
-w /mnt/images/fluunt/ -l /mnt/images/fluunt/local/ \
-L /var/log/fluunt/flunnt-image-server.log \
--accesslogfile=/var/log/fluunt/flunnt-image-server_access.log \
--defaultcachetime=36000
Logs (just for manual git installation)::
(logrotate)
/var/log/fluunt/*.log {
daily
missingok
rotate 52
compress
delaycompress
# notifempty
create 640 fluunt fluunt
sharedscripts
}
نحوه نصب
نصب پکیج whl fluunt-1.0.0:
pip install fluunt-1.0.0.whl
نصب پکیج tar.gz fluunt-1.0.0:
pip install fluunt-1.0.0.tar.gz