GithubHelp home page GithubHelp logo

dwadrn20192025 / dreamboxrestream Goto Github PK

View Code? Open in Web Editor NEW

This project forked from theyosh/dreamboxrestream

0.0 0.0 0.0 12.74 MB

PHP Laravel Application for transcoding between your TV decoder and mobile device using FFMPEG

Home Page: https://restream.theyosh.nl

PHP 73.44% Shell 1.15% Blade 25.41%

dreamboxrestream's Introduction

Dreambox ReStream

Dreambox ReStream is a Laravel PHP framework application that allows you to watch television on your mobile phone while you are not at home. Using FFMPEG it can transcode a live tv channel from your Dreambox to an HLS live stream wich can be watched on a Desktop, mobile or any other device that supports HLS live streaming. This software is made for PERSONAL usage. It does not facilitate free television streaming! Dreambox ReStream overview image

Features

  • Stream any channel to your mobile
  • Stream any recording to your mobile
  • Electronic program guide
  • Ambilight effect
  • Hardware enabled transcoding (VAAPI, NVIDIA)

Translations

  • English

Installation

Dreambox ReStream requires a webserver with PHP enabled. And FFMPEG for transcoding. This software is tested with NGINX on an Ubuntu server. To get it working smoothly a decent upstream connection (minimal 512 Kbps) is needed. And ofcourse an Enigma2 enabled TV Decoder is needed. Best known are the Dreamboxes.

Vagrant installation

If you have Vagrant installed already, then you can skip the installation below by using the vagrant file that is provided with this software. Just run

git clone https://github.com/theyosh/DreamboxReStream.git
cd DreamboxReStream
vagrant up

and everything will be installed and configured.

Manual installation

Install the dependencies

sudo apt install git nginx php-fpm php-cli php-mbstring php-xml ffmpeg

Install PHP Composer

Install php composer according to the website: https://getcomposer.org/download/

Install Dreambox ReStream

git clone https://github.com/theyosh/DreamboxReStream.git
cd DreamboxReStream
php composer.phar install --no-dev
touch database/restream.sqlite
cp .env.example .env
sed -i -e 's@APP_NAME=.*@APP_NAME=DreamboxReStream@g' .env
sed -i -e 's@APP_DEBUG=.*@APP_DEBUG=false@g' .env
sed -i -e 's@DB_CONNECTION=.*@DB_CONNECTION=sqlite@g' .env
sed -i -e 's@DB_DATABASE=.*@DB_DATABASE='`pwd`'/database/restream\.sqlite@g' .env
php artisan key:generate
php artisan migrate
php artisan storage:link

Configure NGINX

cp nginx.conf.example nginx.conf
sed -i -e 's@root .*@root '`pwd`'/public;@g' nginx.conf
sed -i -e 's@server_name .*@server_name [YOUR_DOMAIN_NAME];@g' .env
sudo ln -s `pwd`/nginx.conf /etc/nginx/sites-enabled/dreambox_restream.conf
sudo nginx -t
sudo service nginx reload

Setup

When the installation is finished, go with a browser to your configured domain. This will load a setup screen where you can enter the needed information to connect to your TV encoder. It is pretty straight forward.

The amount of 'Streaming profiles' thant can be used is depending on the CPU power. So start with 1 or 2 profiles, and when that works well, you can later add more profiles until your CPU gets loaded to much.

dreamboxrestream's People

Contributors

theyosh avatar dependabot[bot] avatar

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.