Page 1 of 2

[APP] rtmpgw for ES/F-series

Posted: Thu Mar 12, 2015 1:47 am
by wluczykijwf
HTTP-RTMP Stream Gateway v2.4
Cross compile for VDLinux-arm-v7a15v3r1.
Tested on F8000.
  • 1.Unpack and place file from archive in you TV.
    2. Telnet to TV and set file permissions:

    Code: Select all

    chmod 755 rtmpgw
    3. To start app:

    Code: Select all

    ./rtmpgw -q -g 1935
    4. To play rtmp stream on player inTV:

    Code: Select all

    http://127.0.0.1:1935/?r=rtmp://stream.smcloud.net/live2/eska_rock/eska_rock_720p
App worked with OnlineTV viewtopic.php?f=63&t=8760.

This was my first cross compilation.
I have used this link: My modify scripts by juuso to make zlib:

Code: Select all

export HOST=/opt/VDLinux-armv7a8/bin/arm-v7a15v3r1-linux-gnueabi
export PREFIX_DIR=/opt/VDLinux-armv7a8/arm-v7a15v3r1-linux-gnueabi
export BUILD=arm-linux
export INSTALL_DIR="$PREFIX_DIR"
export PKG_CONFIG_PATH="$INSTALL_DIR/lib/pkgconfig"
PREFIX=$PREFIX_DIR
export CC=/opt/VDLinux-armv7a8/bin/arm-v7a15v3r1-linux-gnueabi-gcc 
LDSHARED="/opt/VDLinux-armv7a8/bin/arm-v7a15v3r1-linux-gnueabi-gcc -shared -Wl,-soname,libz.so.1" \
cFLAGS=-fPIC
./configure --shared --prefix=$PREFIX 
make
make install
My script to make openssl:

Code: Select all

export OPENSSL_SRC=~/workbench/openssl/src
mkdir -pv ~/workbench/openssl
mkdir $OPENSSL_SRC
cd $OPENSSL_SRC

export INSTALLDIR=~/workbench/gcc-4.8.2/arm
export PATH=$INSTALLDIR/bin:$PATH
export TARGETMACH=/opt/VDLinux-armv7a8/bin/arm-v7a15v3r1-linux-gnueabi
export BUILDMACH=i686-pc-linux-gnu
export CROSS=/opt/VDLinux-armv7a8/bin/arm-v7a15v3r1-linux-gnueabi
export CC=${CROSS}-gcc
export LD=${CROSS}-ld
export AS=${CROSS}-as
export AR=${CROSS}-ar

cd openssl-1.0.2/
patch -Np1 -i ../openssl-1.0.2-fix_parallel_build-1.patch

./Configure -DOPENSSL_NO_HEARTBEATS --openssldir=/root/workbench/openssl/final shared os/compiler:/opt/VDLinux-armv7a8/bin/arm-v7a15v3r1-linux-gnueabi- -fPIC

make clean
make
make install
cd ../../final/lib/
$AR -x libcrypto.a
$CC -shared *.o -o libcrypto.so
rm *.o
$AR -x libssl.a
$CC -shared *.o -o libssl.so
rm *.o
My modify scripts by juuso to make rtmpdump:
Makefiles_rtmpdump.zip

Re: [APP] rtmpgw for ES/F-series

Posted: Fri Mar 13, 2015 11:45 pm
by wluczykijwf
New compilation with fix!
More about fix viewtopic.php?f=22&t=4592&start=10#p41466.
Cross compile for arm-none-linux-gnueabi.
Tested on F8000.
rtmpgw.7z

Re: [APP] rtmpgw for ES/F-series

Posted: Sun Mar 29, 2015 10:44 pm
by DarkMega
How do i install this ?

Re: [APP] rtmpgw for ES/F-series

Posted: Sun Mar 29, 2015 10:51 pm
by wluczykijwf
DarkMega wrote:How do i install this ?
Has just this: viewtopic.php?p=72322#p71486
or
this: viewtopic.php?f=63&t=8760&start=60#p71539

Re: [APP] rtmpgw for ES/F-series

Posted: Sun Mar 29, 2015 11:37 pm
by DarkMega
wluczykijwf wrote:
DarkMega wrote:How do i install this ?
Has just this: viewtopic.php?p=72322#p71486
or
this: viewtopic.php?f=63&t=8760&start=60#p71539
I didn't understand the instructions and i have some questions.

Do i have to upload the file to mtd_rwcommon folder ?
Do i need to manually start the service every time i want to use it ?

I want to use this to reproduce rtmp streams with the More Tv channels app.

Re: [APP] rtmpgw for ES/F-series

Posted: Mon Mar 30, 2015 11:42 pm
by wluczykijwf
DarkMega wrote:I didn't understand the instructions and i have some questions.
Do i have to upload the file to mtd_rwcommon folder ?
Not.
DarkMega wrote: Do i need to manually start the service every time i want to use it ?
Not.
DarkMega wrote: I want to use this to reproduce rtmp streams with the More Tv channels app.
Check this: viewtopic.php?f=63&t=8760&start=50#p71487 or for WeebTV viewtopic.php?f=63&t=8888

Re: [APP] rtmpgw for ES/F-series

Posted: Fri May 15, 2015 10:59 pm
by wluczykijwf
gogo wrote:Helo wluczykijwf!
Can you compile rtmpgw 2.5 with handshake support, if you don't have source code i can send you?
The compilation the rtmpgw 2.5 (with cpu fix) tested and works on F8000 and works with WeebTV.

Re: [APP] rtmpgw for ES/F-series

Posted: Sat Jun 06, 2015 10:11 pm
by tadzpadz
wluczykijwf wrote:
4. To play rtmp stream on player inTV:

Code: Select all

http://127.0.0.1:1935/?r=rtmp://stream.smcloud.net/live2/eska_rock/eska_rock_720p

Hello
your example works ok, but also it works without rtmpgw directly like this

Code: Select all

rtmp://stream.smcloud.net/live2/eska_rock/eska_rock_720p 
And what about streams like theese:

Code: Select all

rtmp://80.82.78.85:443/liverepeater playpath=15 swfUrl=http://popeoftheplayers.eu/atdedead.swf pageUrl=http://popeoftheplayers.eu/crichd.php?id=15&width=600&height=450 token=#atd%#$ZH

rtmp://46.246.29.157:1935/stream/ playpath=1Kq68GX6Kc.stream swfUrl=http://thecdn.04stream.com/p/ooolo1.swf pageUrl=http://www.04stream.com/ebb.php?adsp=otherse&width=600&height=460

rtmp://5.79.75.129:2195/live3/channel15bb playpath=channel15bb swfUrl=http://supremecater.com/player/src.swf token=E4h6qbRVW3M6Zz6y pageurl=http://www.plus1hd.com/forums/live_stream.php?cid=15&nid=e1 live=true swfvfy=true timeout=10
Is it posible to play on TV? If yes then how url must look like? Does it play rtmpe streams?

Re: [APP] rtmpgw for ES/F-series

Posted: Sat Jun 06, 2015 10:21 pm
by wluczykijwf
tadzpadz wrote: Hello
your example works ok, but also it works without rtmpgw directly like this

Code: Select all

rtmp://stream.smcloud.net/live2/eska_rock/eska_rock_720p 
And what about streams like theese:

Code: Select all

rtmp://80.82.78.85:443/liverepeater playpath=15 swfUrl=http://popeoftheplayers.eu/atdedead.swf pageUrl=http://popeoftheplayers.eu/crichd.php?id=15&width=600&height=450 token=#atd%#$ZH

rtmp://46.246.29.157:1935/stream/ playpath=1Kq68GX6Kc.stream swfUrl=http://thecdn.04stream.com/p/ooolo1.swf pageUrl=http://www.04stream.com/ebb.php?adsp=otherse&width=600&height=460

rtmp://5.79.75.129:2195/live3/channel15bb playpath=channel15bb swfUrl=http://supremecater.com/player/src.swf token=E4h6qbRVW3M6Zz6y pageurl=http://www.plus1hd.com/forums/live_stream.php?cid=15&nid=e1 live=true swfvfy=true timeout=10
Is it posible to play on TV? If yes then how url must look like? Does it play rtmpe streams?
I use this guide: http://manpages.ubuntu.com/manpages/pre ... pgw.8.html. There you should find answers to your questions :).

Re: [APP] rtmpgw for ES/F-series

Posted: Sun Jun 07, 2015 8:03 pm
by tadzpadz
thanks for response. i tried it yesterday and today some variations unsuccessfully, could you as more experienced user write an example with my url's (first two still working) or give an example of yours, maybe with weeb.tv or another (standard url in browser and modified for samsung)

what i have tried

Code: Select all

rtmp://46.246.29.157:1935/stream/ playpath=1Kq68GX6Kc.stream swfUrl=http://thecdn.04stream.com/p/ooolo1.swf pageUrl=http://www.04stream.com/ebb.php?adsp=otherse&width=600&height=460

http://127.0.0.1:1935/?r=rtmp://46.246.29.157:1935/stream/&y=1Kq68GX6Kc.stream&s=http://thecdn.04stream.com/p/ooolo1.swf&p=http://www.04stream.com/ebb.php?adsp=otherse&width=600&height=460

rtmp://80.82.78.85:443/liverepeater playpath=15 swfUrl=http://popeoftheplayers.eu/atdedead.swf pageUrl=http://popeoftheplayers.eu/crichd.php?id=15&width=600&height=450 token=#atd%#$ZH

http://127.0.0.1:1935/?r=rtmp://80.82.78.85:443/liverepeater&y=15&s=http://popeoftheplayers.eu/atdedead.swf&p=http://popeoftheplayers.eu/crichd.php?id=15&width=600&height=450&T=#atd%#$ZH
p.s. offtopic how to view cpu load on tv?