[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: 1042
Joined: Sat Sep 21, 2013 5:07 pm
Location: Poland

[APP] rtmpgw for ES/F-series

Post by wluczykijwf » Thu Mar 12, 2015 1:47 am

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
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-1125.1), BD-D5500