info-beamer

Supported streams within the Scheduled Player Package


#1

A user asks:

When using Scheduled Player and adding a stream, does it use the same url as the package Live Streaming? I tried to add the same URL and it does not play where is does within live streaming package. The URL is https://youtube.com/watch?v=...

It’s not the same. The Live Streaming package works by starting an instance of streamlink in the background. This is a wrapper around “streams” that tries to extract the HLS source url and then passes through the stream to the info-beamer video player.

The code in the Scheduled Player only plays sources that don’t require any browser magic to make them work. So only sources that directly supply video data like HLS urls, UDP or RTP unicast or multicast streams.

Summary is: Right now the Scheduled Player package doesn’t support YouTube.


#2

Many thanks. Look forward to in the future if schedule player could support this. :wink:


#3

I’m looking for a solution to use the scheduled player to play images and videos from assets uploaded via the dashboard, and then schedule a playlist to play a video stream from the local network at specific times.

If a video output ( HDMI etc ) can be converted to a stream, I’m guessing via a hardware encoder, and then the resulting stream played via the local network.

Would it just require the local network address of the stream to be added to the video stream configuration box in the setup?


#4

Yes. That’s how it would work. You need some hardware that directly generates such a stream though. So HLS, RTP or raw UDP.

If it wasn’t HDMI input but something like the Pi camera, you could even use the Multicast Video Streamer Package to generate such a stream. Thinking about it, it might be possible to use that in combination with this hardware encoder that (from what I understand) behaves like a Pi camera: https://auvidea.com/b101-hdmi-to-csi-2-bridge-15-pin-fpc/


#5

I just ordered the B101 addon. I’ll check it out to see if it works with the Multicaster Package.


Raspberry Pi HDMI - Stream encoder
#6

I’ve been experimenting with different streams, and even streams that I know contain audio don’t output any audio from the Pi’s HDMI.

Is there any option to allow audio to be played from the stream via the Pi’s HDMI output?

The option to play audio was added to the video files, could this be done with streams?

Thanks, Johnnie


#7

Done now in beta15. I’ve confirmed this to work with a HLS stream with audio. Just update your package and you’re good to go.


#8

Wow, this is fantastic :slight_smile:

Thank you Florian.

I’ll be experimenting with this tomorrow, this also ties in beautifully with my other request regarding playing football match highlights at half-time, as if we can just capture the video that is already being sent to one of the screens, and then use an encoder to generate a stream on the local network, and then add the stream url to the scheduled player, the process of adding the videos to the Pi can be automated using info-beamer!


#9

I’ve been experimenting with this and it works really well.

I’m using a BBC stream to test it at the moment ( http://a.files.bbci.co.uk/media/live/manifesto/audio_video/simulcast/hls/uk/hls_tablet/ak/bbc_one_london.m3u8 )

The only issue is that the current video background we have, that displays advertising around the main video content is currently around 2 mins in duration, and I’ve set it to loop, when it loops it causes the stream to ‘jump’ and restart.

I guess the solution to this would be to make a background video that is the full duration of the half-time, so it doesn’t loop.


#10

I’m looking at this device for creating a stream from an HDMI input.

https://shop.tbsdtv.com/tbs2216-h-264-hd-hdmi-encoder-professional-hd-video-coding-for-iptv-p-121.html

Can anyone advise if this will indeed create the required stream on the local network, suitable to be added as a stream using the Scheduled Player.

I just want to set it up to automatically take the HDMI input and output it to the local network as a stream, and control when it will be displayed by scheduling the playlist that contains the stream url generated from this device.


#11

In theory that should work. I skipped through the manual and it looks like it supports multicast. I guess in that case using udp://<multicast-ip>:<port> or rtp://<multicast-ip>:<port> as stream source should work. No guarantee though.


#12

Found a Youtube video about the encoder showing screenshots of the web interface: https://www.youtube.com/watch?v=BBWv9C_yeXM


#13

On Amazon there are a couple of questions/answers about the device:

Does this device encode to a HLS steam on the local network with a .m3u8 extension ?

Answer:

No sorry there is no HLS support, you would need to use something like FFmpeg to create HLS stream.
By PCIEX SELLER on 03 August 2018

No it’s a http link or rtmp you will need to either use ffmpeg or a dedicated software to get HLS
By M1cha3l on 03 August 2018


#14

You don’t need HLS. HLS is a pull protocol, so devices that want to receive a stream pull from some url.

This device sends out multicast to your (local) network instead. So it pushes out a stream. All devices (including the Pi) can receive the stream that way and decode it. As I said: In theory. I have this working with other hardware and the multicaster package, but I don’t know what to expect from this one.


#15

Thanks Florian, yeah, I think it should work, and at that price it’s not too much more than buying a Pi and the required hardware.

Also, I really need something that is ‘plug n play’ and bulletproof in terms of reliability, as on a match day the last thing we want is for it to not work!


#16

Great work on this Florian


#17

It seems that the system I want to integrate with uses the Vmix software, I’ve just had a quick look at the specs and I’m really hoping that it’s possible to grab a compatible stream from this and send it over the local network and be picked up by the stream player by adding it’s url into the stream settings.

Here’s a description from the spec sheet:

Blockquote
Output

  • Output 4 formats simultaneously (Screen, Recording, External Output, Streaming)
  • Default output to secondary computer display or projector
  • Output to web sites such as USTREAM and YouTube Live
  • Output over NDI - Network Device Interface to other devices on the same network
  • Optional output to compatible rendering device such as from AJA, BlueFish and Blackmagic Design
  • Output to streaming applications such as the Adobe Flash Media Live Encoder and Skype

Live Streaming

  • Built in RTMP live streaming to providers such as USTREAM, YouTube Live and more.

Blockquote


#18

That’s a fairly non-technical spec sheet and I don’t see anything that indicates that the software can stream anything other than RTMP. That won’t work with info-beamer.