Jump to content


Photo

DB transcoder


  • Please log in to reply
65 replies to this topic

Re: DB transcoder #41 Dimitrij

  • PLi® Core member
  • 10,021 posts

+338
Excellent

Posted 6 June 2016 - 11:37

spameris

Is it possible to add support raspberry-pi3?


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: DB transcoder #42 Dimitrij

  • PLi® Core member
  • 10,021 posts

+338
Excellent

Posted 10 June 2016 - 06:43

spameris

Is it possible to add support raspberry-pi3?

 

maybe image for pi3 same as pi2?


GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K


Re: DB transcoder #43 spameris

  • Senior Member
  • 49 posts

+1
Neutral

Posted 27 July 2016 - 20:15

 

spameris

Is it possible to add support raspberry-pi3?

 

maybe image for pi3 same as pi2?

 

 

as far i understand now avlib and ffmpeg supports also HW assisted encoding in PI2/PI3 . Before i used my own created transcoder based on gstreamer for transcoding on PI2, it was a pain, a lot of bugs etc.. to support two encoders.. my custom built with a lot of dependencies and ffmpeg/avlib. Right now im trying to create static build of avlib for pi2/pi3 so i guess there will be no need anymore to distribute e2transcoder as full distributive. If everything will work will be enought to download few files and run it on any pi2/pi3 linux, like raspbian or ubuntu mate. So in 1-2 week there might be some news... but you know right now is summer and im trying to not spend too much free time at computer :)

 

if will sucess for PI2 i hope you will test it on PI3 (as i dont have PI3) :)


Edited by spameris, 27 July 2016 - 20:18.

Enigma2 Transcoder win/lin: http://e2transcoder....nscoder_070.zip


Re: DB transcoder #44 mocho

  • Senior Member
  • 42 posts

0
Neutral

Posted 20 August 2016 - 13:21

Hello,
I am trying to make it work in ubuntu 16.04 wich dont have php5 so i installed php7.0-sqlite3 (is the same?)

When I load web page, I enter my credentials but only get a blank page with a red small icon in the upper left

My apache error log file says

 

[Sat Aug 20 07:35:32.171514 2016] [mpm_prefork:notice] [pid 3398] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Sat Aug 20 07:35:32.171621 2016] [core:notice] [pid 3398] AH00094: Command line: '/usr/sbin/apache2'
[Sat Aug 20 13:07:40.514265 2016] [:error] [pid 23624] [client 188.81.9.74:61305] PHP Fatal error:  Uncaught Error: Class 'SQLite3' not found in /var/www/html/admin/functions.php:5\nStack trace:\n#0 /var/www/html/admin/index.php(18): require()\n#1 {main}\n  thrown in /var/www/html/admin/functions.php on line 5
[Sat Aug 20 13:08:04.689640 2016] [mpm_prefork:notice] [pid 3398] AH00169: caught SIGTERM, shutting down
[Sat Aug 20 13:10:00.051462 2016] [mpm_prefork:notice] [pid 3427] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Sat Aug 20 13:10:00.055122 2016] [core:notice] [pid 3427] AH00094: Command line: '/usr/sbin/apache2'
[Sat Aug 20 13:10:16.058832 2016] [:error] [pid 3618] [client 135.81.9.74:61507] PHP Notice:  Undefined index: authenticated in /var/www/html/admin/index.php on line 23
[Sat Aug 20 13:10:29.346561 2016] [:error] [pid 4357] [client 135.81.9.74:61529] PHP Notice:  Undefined index: authenticated in /var/www/html/admin/control.php on line 200, referer: http://fake.zapto.org:8099/admin/
[Sat Aug 20 13:10:29.346696 2016] [:error] [pid 4357] [client 135.81.9.74:61529] PHP Notice:  Undefined index: authenticated in /var/www/html/admin/control.php on line 200, referer: http://fake.zapto.org:8099/admin/
[Sat Aug 20 13:10:29.346735 2016] [:error] [pid 4357] [client 135.81.9.74:61529] PHP Notice:  Undefined index: authenticated in /var/www/html/admin/control.php on line 200, referer: http://fake.zapto.org:8099/admin/
[Sat Aug 20 13:10:29.346771 2016] [:error] [pid 4357] [client 135.81.9.74:61529] PHP Notice:  Undefined index: authenticated in /var/www/html/admin/control.php on line 200, referer: http://fake.zapto.org:8099/admin/
[Sat Aug 20 13:10:29.346807 2016] [:error] [pid 4357] [client 135.81.9.74:61529] PHP Notice:  Undefined index: authenticated in /var/www/html/admin/control.php on line 200, referer: http://fake.zapto.org:8099/admin/
[Sat Aug 20 13:10:29.476699 2016] [:error] [pid 4357] [client 135.81.9.74:61529] PHP Fatal error:  Uncaught Error: Class 'SimpleXMLElement' not found in /var/www/html/admin/functions.php:36\nStack trace:\n#0 /var/www/html/admin/tabs.php(9): current_channel()\n#1 /var/www/html/admin/index.php(57): include('/var/www/html/a...')\n#2 {main}\n  thrown in /var/www/html/admin/functions.php on line 36
[Sat Aug 20 13:10:41.359650 2016] [:error] [pid 3622] [client 135.81.9.74:61548] PHP Fatal error:  Uncaught Error: Class 'SimpleXMLElement' not found in /var/www/html/admin/functions.php:36\nStack trace:\n#0 /var/www/html/admin/tabs.php(9): current_channel()\n#1 /var/www/html/admin/index.php(57): include('/var/www/html/a...')\n#2 {main}\n  thrown in /var/www/html/admin/functions.php on line 36
[Sat Aug 20 13:11:01.142331 2016] [:error] [pid 4374] [client 135.81.9.74:61587] PHP Fatal error:  Uncaught Error: Class 'SimpleXMLElement' not found in /var/www/html/admin/functions.php:36\nStack trace:\n#0 /var/www/html/admin/tabs.php(9): current_channel()\n#1 /var/www/html/admin/index.php(57): include('/var/www/html/a...')\n#2 {main}\n  thrown in /var/www/html/admin/functions.php on line 36



Re: DB transcoder #45 mocho

  • Senior Member
  • 42 posts

0
Neutral

Posted 20 August 2016 - 13:27

File /tmp/stream.log is not created

do I have to create "db/dbtranscode.db" database? how?



Re: DB transcoder #46 mocho

  • Senior Member
  • 42 posts

0
Neutral

Posted 20 August 2016 - 13:58

Ok

I gess I was missing sqlite and php7.0-xml packages

Now i can see web interface .

If I press start current  or if I press a channels I can see "runing" but nothing hapens in web interface despite I can see "AVconv consuming lots of cpu.

Same thing happens if I try FFmpeg

 

Also pasting the live url in to VlC does not work



Re: DB transcoder #47 mocho

  • Senior Member
  • 42 posts

0
Neutral

Posted 10 September 2016 - 04:17

Just to thank you. This is a very nice work. It's simple to install and transcodes really well!! Thanks again!!



Re: DB transcoder #48 spameris

  • Senior Member
  • 49 posts

+1
Neutral

Posted 28 October 2016 - 05:54

Sorry, some how missed your questions.


Enigma2 Transcoder win/lin: http://e2transcoder....nscoder_070.zip


Re: DB transcoder #49 spaceman

  • Member
  • 8 posts

0
Neutral

Posted 3 November 2016 - 14:06

I have got it up running using

Ubuntu 16.04.1 LTS

NginX

php7.0-fpm

 

Some channels is not working and I am getting following message in stream.log

Input #0, mpegts, from 'httx://url:8001/1:0:1:132B:7E7:2:11A0000:0:0:0:':

(ignore httx as it is http)

...

...

Stream map '0:a:1' matches no streams.

To ignore this, add a trailing '?' to the map.

 

I have tried adding the trailing ? to the map and did not make any difference. Please can you advise how I can troubleshoot this?

 

 

Thanks


Edited by spaceman, 3 November 2016 - 14:07.


Re: DB transcoder #50 spaceman

  • Member
  • 8 posts

0
Neutral

Posted 3 November 2016 - 14:54

Got it working had to add '?' to both audio and video map

 

-map 0:a:{audio_id}? -map 0:v:0?

 

 

Thanks.



Re: DB transcoder #51 spaceman

  • Member
  • 8 posts

0
Neutral

Posted 4 November 2016 - 00:23

can you advise how i can have multiple streams running at same time? i have 4 tuners which i would like to put to use at same time if possible

thanks

Edited by spaceman, 4 November 2016 - 00:23.


Re: DB transcoder #52 spameris

  • Senior Member
  • 49 posts

+1
Neutral

Posted 4 November 2016 - 14:12

can you advise how i can have multiple streams running at same time? i have 4 tuners which i would like to put to use at same time if possible

thanks

 

I never tested. But in theory there should not be problems running 4 transcodes at same time, you need to install 4 seperate e2 transcoders like http://e2stream1/admin http://e2stram2/admin etc...  . Also use seperate log file for each transcoder. But transcoding 4 streams at same time might use alot of CPU power. Let me know if you try this way, if not working i may try to adjust code.


Edited by spameris, 4 November 2016 - 14:14.

Enigma2 Transcoder win/lin: http://e2transcoder....nscoder_070.zip


Re: DB transcoder #53 littlesat

  • PLi® Core member
  • 56,274 posts

+691
Excellent

Posted 4 November 2016 - 14:21

As far I know the current boxes can do just 1 transcode... There are even boxes that can only transcode when the box is in standby


WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: DB transcoder #54 spameris

  • Senior Member
  • 49 posts

+1
Neutral

Posted 4 November 2016 - 14:32

As far I know the current boxes can do just 1 transcode... There are even boxes that can only transcode when the box is in standby

 

littlesat this e2transcoder is seperate app runing on windows/linux/RPI computer .


Enigma2 Transcoder win/lin: http://e2transcoder....nscoder_070.zip


Re: DB transcoder #55 spameris

  • Senior Member
  • 49 posts

+1
Neutral

Posted 4 November 2016 - 14:38

I have got it up running using

Ubuntu 16.04.1 LTS

NginX

php7.0-fpm

 

Some channels is not working and I am getting following message in stream.log

Input #0, mpegts, from 'httx://url:8001/1:0:1:132B:7E7:2:11A0000:0:0:0:':

(ignore httx as it is http)

...

...

Stream map '0:a:1' matches no streams.

To ignore this, add a trailing '?' to the map.

 

I have tried adding the trailing ? to the map and did not make any difference. Please can you advise how I can troubleshoot this?

 

 

Thanks

 

btw did you tried to move audio track in settings tab to left side ? maybe this helps.


Enigma2 Transcoder win/lin: http://e2transcoder....nscoder_070.zip


Re: DB transcoder #56 spameris

  • Senior Member
  • 49 posts

+1
Neutral

Posted 12 January 2017 - 22:27

New Version released 0.70 with IPTV support
 
Long time since there was no new versions of transcoder. But good news recently there is new version with new great feature, now you can add IPTV links manually to transcoder bouquets. Actually from this release enigma2 receiver is not mandatory anymore you can use it for transcoding IPTV only. Just do not forget in such case set option
 
 $conf[“callreceiver”] = 0; 
 
To add IPTV link go yo Editor section.
 
editor-221x300.png
 
 
get it here:
 
 
 
 
Supported IPTV formats ? Must be everything what ffmpeg ot avlib supports (as we can use one of those tools)
 

Enigma2 Transcoder win/lin: http://e2transcoder....nscoder_070.zip


Re: DB transcoder #57 crasher91

  • Member
  • 3 posts

0
Neutral

Posted 29 January 2017 - 11:26

hello,

 

I tried to get it running on windows 7 but unfortunately it doesn't wrok.

i did everything according the readme.txt. When i open "start.bat" it shows the following:

C:\WINDOWS\system32>SET PORT=8888

C:\WINDOWS\system32>ECHO OFF
**************************************
**************************************
DB TRANSCODER IS RUNING ON PORT 8888
**************************************
**************************************

Gewartet wird 0 Sekunden. Weiter mit beliebiger Taste...
C:\WINDOWS\system32
PHP 5.6.7 Development Server started at Sun Jan 29 11:23:59 2017
Listening on http://0.0.0.0:8888
Document root is C:\DB\web
Press Ctrl-C to quit.


also i can't open myip:8888 in the browser.

 

hope someone can help me.



Re: DB transcoder #58 crasher91

  • Member
  • 3 posts

0
Neutral

Posted 13 February 2017 - 20:09

i have still some problems to get it running on linux.

 

if i open http://10.0.0.2/e2transcoding/admin/ i get the following:

close(); ?>

my config.php:

<?php
  //mandatory configuration
$conf["username"] = "root"; //username to access DB transcoder
$conf["password"] = "root"; //password to access DB transcoder
$conf["callreceiver"] = 0; // if enigma2 receiver is not used must be 0, but it is not mandatory if receiver is used
$conf["stream_dir"]="/var/www/e2transcoding/stream/"; //full path of stream dir 
$conf["db_stream_port"]="8001"; //enigma2 stream port
$conf["command"] = "/usr/local/bin/ffmpeg";   // path of avconv or ffmpeg executable , if avconv of ffmpeg installed from package only need executable name
//$conf["command"] = "avconv";   // path of avconv or ffmpeg executable , if avconv of ffmpeg installed from package only need executable name
$conf["stream_web_dir"] = "/video/stream/"; //web url folder of stream

//enigma2 receiver configuration
$conf["db_username"] = "root"; //enigma2 user name
$conf["db_password"] = "root#"; //enigma2 password
$conf["db_ip"] ="10.0.0.1"; //enigma2 IP
$conf["db_web_port"]="80"; //enigma2 WEB interface port





// Advanced settings
$conf["parameters"] = "-i {stream_url} -c:a aac -q:a 1 -strict experimental -c:v libx264 -crf {crf}  -profile:v baseline -filter:v yadif -vf \"scale=trunc(oh*a/2)*2:min({width} \,iw)\" -r 24 -map 0:a:{audio_id} -map 0:v:0 -hls_time 10 -hls_wrap 6 {stream_dir}ystream.m3u8";  
$conf["database"] = "db/dbtranscode.db" ; //sqlite database path
$conf["stream_log"] = "/tmp/stream.log" ; //full path of avconv or ffmpeg log


//Bellow this line do not edit
$conf["command"] =  $conf["command"] . " " . $conf["parameters"];



?>

please help.



Re: DB transcoder #59 spameris

  • Senior Member
  • 49 posts

+1
Neutral

Posted 14 February 2017 - 15:54

is there any errors in php error log ?


Enigma2 Transcoder win/lin: http://e2transcoder....nscoder_070.zip


Re: DB transcoder #60 crasher91

  • Member
  • 3 posts

0
Neutral

Posted 16 February 2017 - 21:15

this is what i found in var/log/apache2/error.log

[Sun Jan 22 13:27:34.880560 2017] [mpm_event:notice] [pid 3568:tid 1996075008] AH00489: Apache/2.4.10 (Raspbian) configured -- resuming normal operations
[Sun Jan 22 13:27:34.880942 2017] [core:notice] [pid 3568:tid 1996075008] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jan 22 13:33:12.000886 2017] [mpm_event:notice] [pid 3568:tid 1996075008] AH00491: caught SIGTERM, shutting down
[Sun Jan 22 13:33:28.625565 2017] [mpm_event:notice] [pid 887:tid 1996374016] AH00489: Apache/2.4.10 (Raspbian) configured -- resuming normal operations
[Sun Jan 22 13:33:28.630590 2017] [core:notice] [pid 887:tid 1996374016] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jan 22 15:31:03.963098 2017] [mpm_event:notice] [pid 887:tid 1996374016] AH00491: caught SIGTERM, shutting down
[Sun Jan 22 15:31:21.910951 2017] [mpm_event:notice] [pid 831:tid 1995599872] AH00489: Apache/2.4.10 (Raspbian) configured -- resuming normal operations
[Sun Jan 22 15:31:21.919771 2017] [core:notice] [pid 831:tid 1995599872] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jan 22 17:03:25.236923 2017] [mpm_event:notice] [pid 831:tid 1995599872] AH00491: caught SIGTERM, shutting down
[Sun Jan 22 17:03:42.738242 2017] [mpm_event:notice] [pid 884:tid 1996181504] AH00489: Apache/2.4.10 (Raspbian) configured -- resuming normal operations
[Sun Jan 22 17:03:42.748871 2017] [core:notice] [pid 884:tid 1996181504] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jan 22 17:57:48.551087 2017] [mpm_event:notice] [pid 884:tid 1996181504] AH00491: caught SIGTERM, shutting down
[Sun Jan 22 17:58:05.765799 2017] [mpm_event:notice] [pid 892:tid 1995444224] AH00489: Apache/2.4.10 (Raspbian) configured -- resuming normal operations
[Sun Jan 22 17:58:05.773742 2017] [core:notice] [pid 892:tid 1995444224] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jan 22 19:45:11.874105 2017] [mpm_event:notice] [pid 892:tid 1995444224] AH00491: caught SIGTERM, shutting down
[Sun Jan 22 19:45:28.908746 2017] [mpm_event:notice] [pid 931:tid 1996267520] AH00489: Apache/2.4.10 (Raspbian) configured -- resuming normal operations
[Sun Jan 22 19:45:28.919766 2017] [core:notice] [pid 931:tid 1996267520] AH00094: Command line: '/usr/sbin/apache2'
[Sun Jan 22 20:38:18.529420 2017] [mpm_event:notice] [pid 931:tid 1996267520] AH00491: caught SIGTERM, shutting down
[Sun Jan 22 20:38:35.863388 2017] [mpm_event:notice] [pid 812:tid 1995902976] AH00489: Apache/2.4.10 (Raspbian) configured -- resuming normal operations
[Sun Jan 22 20:38:35.871558 2017] [core:notice] [pid 812:tid 1995902976] AH00094: Command line: '/usr/sbin/apache2'

should there be an additional log located in another folder?




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users