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.
[/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.
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
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: