What's new

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Youtube Restreaming on Xtream Codes 1.0.60

Not open for further replies.


Staff member
Mar 30, 2018
Reaction score
Login as root
Install curl & youtube-dl ( I have tried other methods of installing youtube-dl but i found this method to be most reliabe and easy to update)
You must click 'Like' before you can see the hidden data contained here

apt install curl
apt update
curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl
chmod a+rx /usr/local/bin/youtube-dl

Since youtube are blocking most ipv6 requests and giving error 429 (too many requests).
We are going to use ipv4 instead of ipv6
Choose the channel you want to restream. I am using Sky News as an example. You can replace your video id with "9Auq9mYxFEE"
Run this command on the server you want to restream on.
You must click 'Like' before you can see the hidden data contained here

youtube-dl -4 --list-formats https://www.youtube.com/watch?v=9Auq9mYxFEE

(-4 means that we want touse ipv4. --list-formats will display all available formats)
Results should look like this..

[youtube] 9Auq9mYxFEE: Downloading webpage
[youtube] 9Auq9mYxFEE: Downloading m3u8 information
[youtube] 9Auq9mYxFEE: Downloading MPD manifest
[info] Available formats for 9Auq9mYxFEE:
format code extension resolution note
91 mp4 256x144 HLS 197k , avc1.42c00b, 30.0fps, mp4a.40.5@ 48k
92 mp4 426x240 HLS 338k , avc1.4d4015, 30.0fps, mp4a.40.5@ 48k
93 mp4 640x360 HLS 829k , avc1.4d401e, 30.0fps, mp4a.40.2@128k
94 mp4 854x480 HLS 1380k , avc1.4d401f, 30.0fps, mp4a.40.2@128k
95 mp4 1280x720 HLS 2593k , avc1.4d401f, 30.0fps, mp4a.40.2@256k
96 mp4 1920x1080 HLS 4715k , avc1.640028, 30.0fps, mp4a.40.2@256k (best)
Now you can choose your format you want to restream. I always go for the best possible which is 96 in this case.
Head to your XC 1.0.60 Panel and add the link

You must click 'Like' before you can see the hidden data contained here
`youtube-dl -4 -f 96 -g https://www.youtube.com/watch?v=9Auq9mYxFEE`

You can also use the "best" option instead of "List-formats" option. It will pick up the best option autimatically.
You must click 'Like' before you can see the hidden data contained here

`youtube-dl -4 -f best -g https://www.youtube.com/watch?v=9Auq9mYxFEE`

Fill in the required details like Stream Name, Category, LB etc
Remove everything from the User Agent Section. It should be Blank.
Now Save the stream and start it.
Your stream should be working now.

Enjoy & Thanks....
Not open for further replies.
  AdBlock Detected
Sure, ad-blocking software does a great job at blocking ads, but it also blocks some useful and important features of our website. For the best possible site experience please take a moment to disable your AdBlocker.