Page 7 of 108

Re: [APP] More TV channels on ES/F series

Posted: Fri Mar 13, 2015 9:19 pm
by bartik
the problem is i think in rtmpgw not in the script
we need to find other copy of rtmpgw or compile it somehow for our tv set

Re: [APP] More TV channels on ES/F series

Posted: Fri Mar 13, 2015 9:36 pm
by wluczykijwf
bartik wrote:the problem is i think in rtmpgw not in the script
we need to find other copy of rtmpgw or compile it somehow for our tv set
I think so too. You must compile under your processor on TV. This compilation is for F8000 (toolchain for cross-compile: arm-v7a15v3r1)

Re: [APP] More TV channels on ES/F series

Posted: Fri Mar 13, 2015 9:51 pm
by bartik
maybe to put here the files we need and also a little example or a littler knowhow how to do it :)

Re: [APP] More TV channels on ES/F series

Posted: Fri Mar 13, 2015 9:56 pm
by wluczykijwf
bartik wrote:maybe to put here the files we need and also a little example or a littler knowhow how to do it :)
This was my first cross compilation, more here: viewtopic.php?f=63&t=8862&p=71486#p71486

Posted: Fri Mar 13, 2015 10:03 pm
by juusso
Try another compiler. Like vd8v2r2

Re: [APP] More TV channels on ES/F series

Posted: Fri Mar 13, 2015 10:21 pm
by zoelechat
Or simply "none" (arm-none-linux-gnueabi), no need to look for anything exotic :)

Re: [APP] More TV channels on ES/F series

Posted: Fri Mar 13, 2015 10:52 pm
by bartik
hmm i will wait maybe someone will have more luck with compiling rtmpgw

Re: [APP] More TV channels on ES/F series

Posted: Fri Mar 13, 2015 11:50 pm
by wluczykijwf
zoelechat wrote:Or simply "none" (arm-none-linux-gnueabi), no need to look for anything exotic :)
Thank you. New compilation also working on F8000 and the file is smaller :).
bartik wrote:hmm i will wait maybe someone will have more luck with compiling rtmpgw
Try this new cross compilation for arm-none-linux-gnueabi for download/file.php?id=5435

Re: [APP] More TV channels on ES/F series

Posted: Sat Mar 14, 2015 12:04 am
by bartik
wluczykijwf wrote:
zoelechat wrote:Or simply "none" (arm-none-linux-gnueabi), no need to look for anything exotic :)
Thank you. New compilation also working on F8000 and the file is smaller :).
bartik wrote:hmm i will wait maybe someone will have more luck with compiling rtmpgw
Try this new cross compilation for arm-none-linux-gnueabi for download/file.php?id=5435
well you done it again great work thanks :)

Re: [APP] More TV channels on ES/F series

Posted: Sat Mar 14, 2015 1:37 am
by fluffi444
The new one works here on ES - thanks!

Code: Select all

root@tv:/ # ./mtd_rwcommon/rtmpgw_init
+ rtmpgw_init
+ /mtd_rwcommon/rtmpgw -q -g 1935
HTTP-RTMP Stream Gateway v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL
Did you notice this thread already?
viewtopic.php?f=22&t=4592

There is already an nice init.d start/stop script (99_97_rtmpgateway.init) for rtmpgw (in file rtmpdump_arm.SGO_ext.tar)

We just need to add (to use the same place as usual)

Code: Select all

SODIR=$SYSROOT/opt/privateer/usr/libso
and change

Code: Select all

$DAEMON -g 1935 >/dev/null 2>/dev/null &
to

Code: Select all

$SODIR/$DAEMON -g 1935 >/dev/null 2>/dev/null &
and put rtmpgw with 755 to /opt/privateer/usr/libso

test it with

Code: Select all

sh /mnt/etc/init.d/99_97_rtmpgateway.init start
sh /mnt/etc/init.d/99_97_rtmpgateway.init stop
sh /mnt/etc/init.d/99_97_rtmpgateway.init status
credits to juuso (juuso?) :-)

BUT: With this rtmpgw created high CPU usage ~ 50% usage (on dual core) - There is also an fix in this thread but I don't understand this :-)
viewtopic.php?f=22&t=4592&start=10#p41466

Maybe juuso can help or you already know what they talking about... :-)
Maybe you can also add this fix to your version...