Welcome to World of IPTV

With

+23k members
+11k threads
+106k posts

we are the most popular IPTV community on the web. 

IMPORTANT NOTE:
WE HAVE RECENTLY NOTICED THAT TOO MANY DOUBLE FAKE ACCOUNTS ARE CREATED IN THE PAST.
TO PREVENT THIS ISSUE THE DECISION WAS MADE THAT IN THE FUTURE A ANNUALLY FEE 20 EURO WILL BE RAISED FOR NEW MEMBERSHIPS.

Join now to the World of IPTV

Forum Rules

Before you start, check out the forum rules first

Account upgrade

Upgrade your account to get access to full features

Advertising

Would you like to place your advertisement with us ?

Resources Manager

Hundreds of IPTV scripts and apps are available for download

Tutorial Reencode YouTube Live to HLS using Streamlink, Debian 10 and FFMPEG - DEFUNCT

Status
Not open for further replies.

kimbrasil

Extended Member
Ext. Member
Joined
Apr 21, 2020
Messages
11
Reaction score
67
Points
14
Location
Brazil
The first part is the same from my last tutorial on how to create your IPTV channel using VLC, Debian and FFMPEG, but in that you don't mind on how easy it is!

In the server side I'm using Debian GNU/Linux 10 as example, but you can adapt to use in any other OS. I'm presuming who will use this tutorial already know at least the basics of Debian (or Ubuntu) and VLC. Check if your server machine have full access to the internet and HTTP port (80) open.

Firts, install Apache 2 HTTP server, FFMPEG and Streamlink in your Debian server side

Now start the apache 2 server, go to your server http root, create a subfolder that we'll use for restream the YouTube live channel you want, and make permissions.

PHP:
# service apache2 start
# cd /var/www/html
# mkdir retube
# chmod 775 retube -R
# exit
[/THANKS]
Now execute the follow command to restream, using the desired Youtube channel "URL" + "/live"

That's it! Following this procedures you'll be able to have your URL "http:/ / your.server.domain.or.ip/retube/stream.m3u8" ready to play in any HLS compatible player.
 
Last edited:

lasauce29

Extended Member
Ext. Member
Joined
Jan 23, 2020
Messages
69
Reaction score
121
Points
44
Location
canada
Last edited:

kimbrasil

Extended Member
Ext. Member
Joined
Apr 21, 2020
Messages
11
Reaction score
67
Points
14
Location
Brazil
[cli][info] Found matching plugin youtube for URL https://www.youtube.com/user/CHANNELNAME/live
error: Unable to open URL: https://www.googleapis.com/youtube/v3/search (403 Client Error: Forbidden for url: https://www.googleapis.com/youtube/...d&key=AIzaSyBDBif4roGzWJN4du9TuDMLd_jVTcVkKz4)
pipe:0: Invalid data found when processing input

i have try multiples channels always the same error do you know why ?

See if the channel name is valid and if the channel have an assigned private name, check the URL in the browser first and look if it is name or alpha-numeric

https://www.youtube.com/user/CHANELNAME/live , https://www.youtube.com/channel/CHANNELNAME/live , https://www.youtube.com/user/NoNOoOnooOonoNo/live or https://www.youtube.com/channelNoNOoOnooOonoNo/live

p75RpC0.png


No, I'm no catholic, it was the first live channel I'd found
 
Last edited:
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 @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

lasauce29

Extended Member
Ext. Member
Joined
Jan 23, 2020
Messages
69
Reaction score
121
Points
44
Location
canada

chofrengo

Basic Member
Basic Member
Banned
Joined
Sep 22, 2019
Messages
207
Reaction score
873
Points
104
Location
hard1010
The first part is the same from my last tutorial on how to create your IPTV channel using VLC, Debian and FFMPEG, but in that you don't mind on how easy it is!

In the server side I'm using Debian GNU/Linux 10 as example, but you can adapt to use in any other OS. I'm presuming who will use this tutorial already know at least the basics of Debian (or Ubuntu) and VLC. Check if your server machine have full access to the internet and HTTP port (80) open.

Firts, install Apache 2 HTTP server, FFMPEG and Streamlink in your Debian server side

$ sudo su # apt update # apt install apache2 ffmpeg streamlink

Now start the apache 2 server, go to your server http root, create a subfolder that we'll use for restream the YouTube live channel you want, and make permissions.

# service apache2 start # cd /var/www/html # mkdir retube # chmod 775 retube -R # exit

Now execute the follow command to restream, using the desired Youtube channel "URL" + "/live"

$ streamlink https://www.youtube.com/user/HERE-THE-ID-OR-NAME-OF-THE-CHANNEL/live best -O | ffmpeg -i pipe:0 -c:v copy -c:a copy -f hls -hls_time 10 -hls_list_size 6 -hls_wrap 10 /var/www/html/retube/stream.m3u8

That's it! Following this procedures you'll be able to have your URL "http:/ / your.server.domain.or.ip/retube/stream.m3u8" ready to play in any HLS compatible player.
same error here
pipe:0: Invalid data found when processing input
trying a lots of channels

[cli][info] streamlink is running as root! Be careful!
[cli][info] Found matching plugin youtube for URL https://www.youtube.com/user/xxxxxxxxxxxxx/live
error: Unable to open URL: https://www.googleapis.com/youtube/v3/search (403 Client Error: Forbidden for url: https://www.googleapis.com/youtube/...d&key=AIzaSyBDBi-4roGzWJN4du9TuDMLd_jVTcVkKz4)
pipe:0: Invalid data found when processing input
 
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 @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

kimbrasil

Extended Member
Ext. Member
Joined
Apr 21, 2020
Messages
11
Reaction score
67
Points
14
Location
Brazil
same error here
pipe:0: Invalid data found when processing input
trying a lots of channels

[cli][info] streamlink is running as root! Be careful!
[cli][info] Found matching plugin youtube for URL https://www.youtube.com/user/xxxxxxxxxxxxx/live
error: Unable to open URL: https://www.googleapis.com/youtube/v3/search (403 Client Error: Forbidden for url: https://www.googleapis.com/youtube/...d&key=AIzaSyBDBi-4roGzWJN4du9TuDMLd_jVTcVkKz4)
pipe:0: Invalid data found when processing input

I'd made exactly what is in my tutorial, reproduced exactly as I described, I'm using without problems,
 

chofrengo

Basic Member
Basic Member
Banned
Joined
Sep 22, 2019
Messages
207
Reaction score
873
Points
104
Location
hard1010
Holy Moses , your link is working great , but unfortunately I cannot do it to work , but thanks for your patience, regards.
 
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 @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com

chofrengo

Basic Member
Basic Member
Banned
Joined
Sep 22, 2019
Messages
207
Reaction score
873
Points
104
Location
hard1010
Can you post post or send me your Terminal log?

thanks dude its working now , its a iptable issue , now its all running fine
[cli][info] streamlink is running as root! Be careful!
[cli][info] Found matching plugin youtube for URL https://www.youtube.com/user/TVSBTBrasilia/live
[cli][info] Available streams: 144p (worst), 240p, 360p, 480p, 720p, 1080p (best)
[cli][info] Opening stream: 1080p (hls)
Input #0, mpegts, from 'pipe:0':
Duration: N/A, start: 90394.039067, bitrate: N/A
Program 1
Stream #0:0[0x101]: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 120 kb/s
Stream #0:1[0x100]: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 90k tbn, 59.94 tbc
[hls @ 0x565489b86940] Opening '/var/www/html/retube/stream0.ts' for writing
Output #0, hls, to '/var/www/html/retube/stream.m3u8':
Metadata:
encoder : Lavf58.20.100
Stream #0:0: Video: h264 (Main) ([27][0][0][0] / 0x001B), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], q=2-31, 29.97 fps, 29.97 tbr, 90k tbn, 29.97 tbc
Stream #0:1: Audio: aac (LC) ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 120 kb/s
Stream mapping:
Stream #0:1 -> #0:0 (copy)
Stream #0:0 -> #0:1 (copy)
[hls @ 0x565489b86940] Opening '/var/www/html/retube/stream1.ts' for writing
[hls @ 0x565489b86940] Cannot use rename on non file protocol, this may lead to races and temporary partial files
[hls @ 0x565489b86940] Opening '/var/www/html/retube/stream2.ts' for writing
[hls @ 0x565489b86940] Opening '/var/www/html/retube/stream3.ts' for writing
 

delta1372

If it moves, compile it!
Banned
Ext. Member
Joined
Jun 17, 2020
Messages
90
Reaction score
1,584
Points
194
Location
A Blackhole
This does not work - another confirmed flop I'm affraid

[cli][info] streamlink is running as root! Be careful!
[cli][info] Found matching plugin youtube for URL https://www.youtube.com/user/SkyNews/live
error: No playable streams found on this URL: https://www.youtube.com/user/SkyNews/live

There is only one way to pull youtube live right now and those that write their own keep it private so it does not get hammered.

Before anyones asks, no I will NOT share my script.

Just so you know its not BS


 
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 @changglobize
1000 cnx / 500€ 20Gbps / 700€ 40CPU-128GRAM 20Gbps / €980 http://coronaserver.com
Status
Not open for further replies.
shape1
shape2
shape3
shape4
shape5
shape6
Top
AdBlock Detected

We know, ad-blocking software do a great job at blocking ads. But our site is sponsored by advertising. 

For the best possible site experience please take a moment to disable your AdBlocker.
You can create a Account with us or if you already have account, you can prefer an Account Upgrade.

I've Disabled AdBlock