logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
millst  
#1 Posted : Saturday, April 28, 2018 1:13:31 AM(UTC)
millst

Rank: Member

Groups: Registered
Joined: 4/28/2018(UTC)
Posts: 25
Location: NZ

Was thanked: 7 time(s) in 3 post(s)
It would be useful to be able to set a YouTube video as a source.
Particularly a YouTube Live video as a source so that you could switch to it, provide commentary etc.

Other uses, we use a YouTube Live video as a background video at a radio station that we cut to during a music break but at the moment we have to download it regularly and save it as a file, so it is never "live".

Control Parameters for a YouTube video would need to be.

- Auto Resume (resumes playing video where last finished).
- Live (constantly streams even when previewed so you can switch back and forward to it or use the audio).
- Quality (pick the stream you want to play or use auto).
- Buffer (how long to buffer in seconds)

YouTube Live is just an HLS stream which should be relatively simple to create as a new source.


DWAM  
#2 Posted : Saturday, April 28, 2018 4:43:38 AM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
Hi!

I understand this is a feature request that should be given +1 but I see it's also your very first post and I'm not sure you tried all the options vMix offers to use YT videos directly. So let's try to sum them up!

First, yes it's an HLS stream but AFAIK the exact url for the m3u8 playlist file is not publicy given anywhere. Unless I'm wrong here, there is no "easy" way to get it, so it's required to use the standard YT videos url. Besides, YT also uses DASH manifests for delivery, not only HLS, and last but not least it's against their policy terms to use both of them.

So, there are workarounds offered by vMix and other tools:

1 . you can use the WebBrowser input. This is the easiest way and it works great. Just copy and paste the video url in this address field or use the API command to inject it.

2 . another very easy option is to use vMix Desktop Capture, either on the same computer or a remote one on your LAN. Directly in a browser window or using any video player that can play YT videos, such as FFMPEG, VLC, MPlayer as so on...

3 . my favorite tool is StreamLink. It's precisely designed to do this. Check https://streamlink.github.io/

4 . alternatively, VLC can be used too especially if the NDI plugin from Newtek is installed. In this case anything played in VLC is converted into a NDI feed super easy to use into vMix...

Pretty sure some other methods can be used too but I do not think about them right now. However, it's already a lot of solutions and I'm pretty sure you can find one that fits your needs.

Bien à toi
Guillaume
thanks 1 user thanked DWAM for this useful post.
RichShumaker on 3/29/2022(UTC)
melody  
#3 Posted : Saturday, March 19, 2022 4:14:11 AM(UTC)
Guest

Rank: Guest

Groups:
Joined: 1/13/2010(UTC)
Posts: 230

Was thanked: 3 time(s) in 3 post(s)
+1
Users browsing this topic
Guest (3)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.