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!

restream iptv using nginx

tyblbs

Extended Member
Ext. Member
Joined
Sep 4, 2019
Messages
95
Reaction score
151
Points
54
Location
algeria
Hi, when i have added this ffmpeg order in ubuntu, the broadcast start succefully.

input : iptv (.ts - m3u8)
output : rtmp:// (youtube-...)
root@ssdz:~# exec ffmpeg -i http://**iptv**.ts -threads 1 -c:v libx264 -profile:v baseline -b:v 1200K$ 1200K -s 720x576 -f flv -c:a aac -ac 1 -strict -2 -b:a 128k rtmp://output;



and when i add this order ffmpeg in nginx and i restart nginx .
the broadcast don't start .

NGINX:
rtmp {
    server {
            listen 1935;
            chunk_size 4096;

            application live {
                    live on;
                    record off;
                    allow publish 127.0.0.1;
                    allow publish 138.201.145.138;
                    deny publish all;
                    exec ffmpeg -i http://**iptv**.ts -threads 1 -c:v libx264 -profile:v baseline -b:v 1200K$ 1200K -s 720x576 -f flv -c:a aac -ac 1 -strict -2 -b:a 128k rtmp://output;
            }
            application live720p {
                    live on;
                    record off;
                    allow publish 127.0.0.1;
                    allow publish 138.201.145.138;
        }
    }
}
 
Last edited by a moderator:
check very well to see if you omitted any semi colon or remove the allow publish stuffs and try again.
I tried several attempts and did not succeed .
Do you have a successful confg to try?
 
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 tried several attempts and did not succeed .
Do you have a successful confg to try?



this works for me... kindly try and see if it works for you... like my post if it works for you ;D
 
Last edited by a moderator:
@tyblbs and @dogstyle007 excellent topic for discussion. one thing, please refer to the post on how to use bbCodes for code samples. it is 2 clicks before you paste in the code. @dogstyle007 we also have a thanks button so you can earn your likes for pasting good material such as you have posted. just a tip ;) dont go using it for useless info though.
 
@tyblbs and @dogstyle007 excellent topic for discussion. one thing, please refer to the post on how to use bbCodes for code samples. it is 2 clicks before you paste in the code. @dogstyle007 we also have a thanks button so you can earn your likes for pasting good material such as you have posted. just a tip ;) dont go using it for useless info though.
Thanks for the insight, i will do as you've said.
 
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
No quote


this works for me... kindly try and see if it works for you... like my post if it works for you ;D

From your nginx.conf
nginx3.png

i have delete this line
nginx2.png

i have restarted succefully
nginx4.png


But Broadcast not start
 
tyblbs,
sudo mkdir /HLS/live
then restart nginx again.
 
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
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top