PDA

View Full Version : Need help to setup Enigma2 Transcoder Apps on debian 7



m2farid
30-04-15, 21:27
Hi All,

I am newbie on linux, but i have a debian server running debian 7.

I would like to setup enigma2 transcoder on this server, but i have problem to make it work.

Could someone help to setup this on this server?

I need step by step tuto, from seting up apache and all the other pacquages required, including changes to be made on the differents configs, to make this apps working on my debian server.

Mant thanks for your help.

spameris
01-05-15, 18:16
Im not very familiar with debian linux, using ubuntu and centos, but there should not be much differences from ubuntu linux.

1. Extract "admin" and "stream" folder from archive folder www, somewhere to your web server folder root, usually this is /var/www , but im not sure where it is located in debian.
2. Now you need install sqlite3 extension for php,

sudo apt-get install php5-sqlite3

after installing this restart apache

service httpd restart

3. Install now avconv

sudo apt-get install libav-tools


after installing this check in console does "avconv" command exists

But you can also use ffmpeg for transcoding and download static executable from
http://johnvansickle.com/ffmpeg/

4. Delete from folder /admin/ file config.php and rename config.linux_example.php to config.php.

edit this config.php file according your needs. As debain uses avlib, command is avconv for converting video. For linux distributives with ffmpeg , ffmpeg can be used.

$conf[“command”]=”avconv”;

Make sure /admin/db/dbtranscode.db is writable by your webserver
go to this /admin/db folder and run command

chmod 666 dbtranscode.db

Make sure /stream/ folder is writable by your webserver
go to this folder and run command

chmod 666 stream

5. Open link http://yourwebserver/pathtoadminfolder/admin in browser

6. Log in into app and under settings push button “reload playlist”, this will download bouquets to application

thats all

Let me know if this helps