Multicast Video Streamer beta

Streams live video as RTP multicast to your local network

This package can stream live recorded video from a Raspberry Pi Camera Module or other stream sources to your local network as an RTP multicast stream. You can then display that stream on any number of local Raspberry Pis running info-beamer hosted as well. There are also packages available that allow you to display the stream as a video wall. An example setup might look like this:

Example setup

So for a 2x2 video wall setup you need five Raspberry Pis total:

  • 1x Pi + Camera Module running this multicaster package
  • 4x Pi running an info-beamer video wall package

You can of course also use the package to stream to multiple independant screens: Just configure one of the video walls packages as a 1x1 video wall and it will show the complete stream in fullscreen.

In theory you might also try to use one of the Pi as both the live stream producer and a video wall display. Contact us if you want to learn how that might be done.

Setting up this package

Import this package into your info-beamer hosted account using the Import package button above. Create a setup based on the package. On the following configuration page you can configure how the multicaster captures the live video from the Camera Module or other sources.

Options

Video pipeline

Video streaming means fetching some input and producing some output. We might call that a video pipeline. For this packages its always fetching a stream from somewhere (or the camera) and sending it out as multicast to any number of receivers.

Video Source: The input part of the pipeline. There are three different options:

  • camera: Live streaming from the connected Camera Module
  • streamlink: Fetching remote streams using the streamlink tool. This can be used to fetch YouTube videos or streams. Or Twitch. Or a lot more. You can find the full list of supported sources here.
  • direct directly specify a Url that ffmpeg then fetches. This could in theory be used to forward an existing stream as multicast.

Multicast target: Specifies the target multicast address. The default setting of 224.0.0.1:6970 should work out of the box and makes the stream available to all devices in your local network.

Direct stream options

Specify a url to an existing stream source that is directly fed into ffmpeg.

Streamlink stream options

You can put in a url to any of the supported sources.

Camera encoding options

Resolution: The resolution of the captured video. Higher resolutions are slower to encode, so SD (1280x720) is usually recommended.

Bitrate: The bitrate of the generated video stream. For fairly static scenes, a lower bitrate is enough. If you have lots of movement, use a higher bitrate.

FPS: Frames per second captured. Together with the resolution as well as the bitrate, this determines how much work the hardware encoder has to do. You most likely won't be able to capture FullHD (1920x1080) with 60fps.

Show preview: If the live camera output should be shown on screen. This requires a bit of performance, so if you don't need the live preview, feel free to turn this preview off.

Camera image options

The remaining settings control how the camera is configured while capturing. The default settings work out of the box. If your camera is installed upside down, you can use the Flip video option to rotate the image by 180°.

Viewing your stream

You can use one of the following packages to show your stream.

Video Wall Image/Video Player

by Florian Wesch <fw@info-beamer.com>

Displays images and videos on multiple screens arranged in a grid.

Learn more..

Magic Video Wall

by Florian Wesch <fw@info-beamer.com>

Plays videos and images across multiple arbitrarily placed screens

Learn more..

They all have the option to specify a stream url next to their playlist setting. Instead of setting a playlist, just put in your stream url and you're ready to go. The stream url is always in the form of http://<device-IP>/stream.sdp. You can also see the url in the output of the device running the multicaster and of course also on its device detail page.

Versions

Version 2

  • Added streamlink and direct stream input options. The result highly depends on the input stream, so result may vary.

Tips & Tricks

  • Always use Ethernet based networking for the multicaster and the viewer devices. WiFi just isn't reliable enough and due to packet loss you might end up with decoding artifacts on your receiving devices.

  • Switching resolutions might break playback on the receiver devices. So be careful with that.

  • Any configuration change made to this package results in a brief stream interruption as the recorder and sending pipeline is restarted.

Want to run Multicast Video Streamer on your Raspberry Pi?

This package is ready to run on your Raspberry Pi using info-beamer.com hosted. Easily manage unlimited number of Raspberry Pi devices and centrally configure and run visualizations like this on them. info-beamer.com is a prepaid service. You only pay for the resources you are using. No long term commitment, no hidden fees. Learn more...

Copyright