Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!
Resource icon

Script RTMP Decoder Boot Script

Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
I've cleaned up your code a bit and put some sanity check in, auto omxplayer installer and added some comments to help people understand what each line is doing. I also corrected some syntax errors in your code

 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
Why would anyone want to decode an rtmp URL to the HDMI monitor all the time on boot, seems a bit odd and the wrong way around to me
 
Does Any One Have Raspberry Pi Rtmp , Udp , Http Decoder Software
 
Channels MatchTime Unblock CDN Offshore Server Contact
100 cnx / 90€ 5Gbps / 180€ 48CPU-256GRAM 10Gbps 569€ Skype live:giefsl
500 cnx / 350€ 10Gbps / 350€ 48CPU-128GRAM 5Gbps / 349€ TG @changcdn
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
Thank you, that looks cool! Thank you for share!
 
I've cleaned up your code a bit and put some sanity check in, auto omxplayer installer and added some comments to help people understand what each line is doing. I also corrected some syntax errors in your code

Code:
#!/bin/sh
clear
stty -isig
echo "For Details Visit: https://www.worldofiptv.com/"

# omxplayer sanity check
command -v omxplayer >/dev/null 2>&1 || { sudo apt-get install -y -qq omxplayer; } >> $LOG

# dont flood the system
sleep 2

# check online status
ping -c1 -s1 www.google.com
pingStatus=$?

# results of online status check
if [ $pingStatus = "0" ] then
    # we are online, lets stream

    #clear the screen contents
    clear

    echo "Stream Starting Please wait..."

    # launch the stream
    omxplayer -o hdmi --no-keys --vol 600 rtmp://localhost:1935/live/mystream
else
    # internet appears offline, launch mp4 placeholder

    #clear the screen contents
    clear

    echo "Internet disconnected. Please check Internet"

    # dont flood the system
    sleep 1

    echo "Starting Promo"

    # dont flood the system
    sleep 1

    # launch mp4 placeholder
    omxplayer -o hdmi --no-keys --vol 600 /home/pi/promo.mp4
fi


Thanks,,I will test the same with my Rpi3
 
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top