[APP] rtmpgw for ES/F-series

Here are software that related with Samsung F series TVs.
Please don't create any new topic here unless you have software to post/release.

wluczykijwf
Official SamyGO Developer
Posts: 1051
Joined: Sat Sep 21, 2013 5:07 pm
Location: Poland

[APP] rtmpgw for ES/F-series

Post 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:
SpoilerShow

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:
SpoilerShow

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
You do not have the required permissions to view the files attached to this post.
Last edited by wluczykijwf on Thu Mar 26, 2015 10:54 am, edited 4 times in total.
sorry for my english
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500
wluczykijwf
Official SamyGO Developer
Posts: 1051
Joined: Sat Sep 21, 2013 5:07 pm
Location: Poland

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

Post 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
You do not have the required permissions to view the files attached to this post.
sorry for my english
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500
DarkMega
SamyGO Project Donor
Posts: 8
Joined: Tue Feb 04, 2014 2:03 pm

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

Post by DarkMega »

How do i install this ?
wluczykijwf
Official SamyGO Developer
Posts: 1051
Joined: Sat Sep 21, 2013 5:07 pm
Location: Poland

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

Post 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
sorry for my english
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500
DarkMega
SamyGO Project Donor
Posts: 8
Joined: Tue Feb 04, 2014 2:03 pm

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

Post 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.
wluczykijwf
Official SamyGO Developer
Posts: 1051
Joined: Sat Sep 21, 2013 5:07 pm
Location: Poland

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

Post 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.
  • 1. Download rtmpgw on PC for D-series (download/file.php?id=1826)
    2. Unzip file on PC.
    3. To modify the original script 99_97_rtmpgateway.init.dis by recommendations by fluffi444
    fluffi444 wrote: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 &
    4. Copy file 99_97_rtmpgateway.init.dis from an unpacked archive (/etc/init.d/) to /mnt/etc/init.d/ on your TV.
    5. Rename 99_97_rtmpgateway.init.dis to 99_97_rtmpgateway.init.
    6. Set via telnet on TV for the 99_97_rtmpgateway.init the file's permissions to perform.

    Code: Select all

    cd /mnt/etc/init.d
    chmod 755 99_97_rtmpgateway.init
    7. Download rtmpgw on PC for ES/F-series (download/file.php?id=5436).
    8. Unzip file on PC.
    9. Put rtmpgw on /mnt/opt/privateer/usr/libso on TV.
    10. Set via telnet on TV for the rtmpgw the file's permissions to perform.

    Code: Select all

    cd /mnt/opt/privateer/usr/libso
    chmod 755 rtmpgw
    fluffi444 wrote:test it with
    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
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
sorry for my english
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500
wluczykijwf
Official SamyGO Developer
Posts: 1051
Joined: Sat Sep 21, 2013 5:07 pm
Location: Poland

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

Post 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.
You do not have the required permissions to view the files attached to this post.
Last edited by wluczykijwf on Fri Oct 16, 2015 7:45 pm, edited 1 time in total.
sorry for my english
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500
tadzpadz
Posts: 12
Joined: Tue Apr 29, 2014 6:49 am

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

Post 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?
wluczykijwf
Official SamyGO Developer
Posts: 1051
Joined: Sat Sep 21, 2013 5:07 pm
Location: Poland

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

Post by wluczykijwf »

tadzpadz wrote:
SpoilerShow
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 :).
sorry for my english
UE40F8000 (T-FXPDEUC-1136.0), BD-D5500
tadzpadz
Posts: 12
Joined: Tue Apr 29, 2014 6:49 am

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

Post 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?

Post Reply

Return to “[F] Software”