GithubHelp home page GithubHelp logo

psaavedra / fluunt Goto Github PK

View Code? Open in Web Editor NEW
4.0 5.0 2.0 273 KB

Video stream server (HLS, HTTP, HTTP-FLV, time-shift)

Home Page: http://treitos.com/fluunt

License: MIT License

C 85.90% Shell 2.74% Python 11.36%

fluunt's Introduction

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

Manual git installation
=======================

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
  }

PIP installation
================

cat /usr/share/doc/fluunt/README
apt-get install supervisor
supervisorctl reread
supervisorctl update
supervisorctl start fluunt
supervisorctl start fluunt-image-server

fluunt's People

Contributors

psaavedra avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

biddyweb linecode

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.