Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add youtube live streaming. #498

Closed
Evreke opened this issue Oct 22, 2017 · 6 comments
Closed

Add youtube live streaming. #498

Evreke opened this issue Oct 22, 2017 · 6 comments
Assignees

Comments

@Evreke
Copy link

Evreke commented Oct 22, 2017

I want to output my radio to YouTube live.
In future i plan to stream to twitch and facebook also. I found that Liquidsoap supports Youtube-dl, but no documentation on it.

Is it possible to do just with liquidsoap? Or i must use something inbetween?

@toots
Copy link
Member

toots commented Oct 31, 2017

I don't think that we have this functionality right now but I'll make sure to look at it, it seems like a great feature to add.

@toots toots changed the title Is it possible to feed YouTube live just with liquidsoap? Add youtube live streaming. Oct 31, 2017
@toots toots self-assigned this Oct 31, 2017
@Evreke
Copy link
Author

Evreke commented Nov 1, 2017

You are absolutely right. This feature may be very interesting for some users of liquidsoap. But also streaming to twitch, and facebook will be nice too.

@Lukahhh
Copy link

Lukahhh commented Dec 28, 2017

http://liquidsoap.info/doc-dev/protocols.html - has a brief bit of information on the youtube-dl option.

@Niall7459
Copy link

I believe youtube-dl is for downloading videos?

@toots
Copy link
Member

toots commented Jul 4, 2018

Yeah, youtube-dl is for downloading. I would still love to see this feature added but I have no plans to do it myself for the moment. I'm available to mentor someone to do it, though.

@toots toots closed this as completed in 7333b2c Jul 5, 2018
@ivellios1988
Copy link

Actually there's a relatively easy solution that allows to rebroadcast our radio to YouTube.

  1. You need a VPS with access to GPU or iGPU (a graphic unit integrated in the processor)

  2. On your VPS, you install Ubuntu Server

  3. Then you need to install a bunch of packages that will turn Ubuntu Server to Ubuntu Desktop. You will find all instructions and commands in Google

  4. Then both on your VPS and PC you need to install NoMachine. It is basically a remote desktop application. Once you installed NoMachine, you need to connect to your VPS using this program

  5. Tadaaaaam! Now you need to install OBS on your VPS - you will find the instructions on OBS's website

  6. Open OBS, prepare some scene, add some images, etc. In order to allow yt listeners to hear your radio, you need to provide a link to your radio stream in a 'media source' element.

If your radio stream goes offline for some reason, your yt listeners will obviously hear silence. When your radio goes back online, you will need to connect to your VPS, exit OBS, launch it again and start streaming again.

And here's my solution in action: https://www.youtube.com/channel/UCWrr1yb4pR058sYZxdmjBFg/live

I rebroadcast my own radio, and on the video you see contents of a specially prepared website with a slideshow. In order to put this website in the video, I had to install a plugin called 'Linux Browser' in OBS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants