Multiple streams to multiple devices

About encoding, codec settings, muxers and filter usage
Elusid
New Cone
New Cone
Posts: 2
Joined: 19 Apr 2013 04:54

Multiple streams to multiple devices

Postby Elusid » 19 Apr 2013 05:29

I work in a dance club / event center with around 30 TVs / projectors. Currently, each room has its own video matrix with a few DVD players which allows us to send any video source to any TV/projector within the same system. It's big, clunky, unreliable, and analog. I'd like to redo and combine the whole system with video over IP. I'd like to have a central server with all the video files on it as well as a few DVD drives but be able to control it with multiple terminals and (if possible) android/apple devices. I'm on a budget so here's what I was thinking but I need some help making it happen.

For the receivers, I am thinking of using Raspberry Pi's and mounting them to each TV/projector. I would probably take a minimal linux distro and just install the proper codecs and VLC with no desktop environment to keep things as fast as possible.
Now, here's the tricky part...

Is there a way to have multiple video streams playing from a single computer, pick which stream goes to which receiver(s), and have it all be with a relatively easy GUI after it's all set up? Also, would there be a way to show all the video streams playing in a grid on the server/terminals like video surveillance systems?


When I've done video streaming in the past I had to direct the receiver to the streams address but with this, I want to direct the video stream to the receivers.


Thoughts?

mundu
Blank Cone
Blank Cone
Posts: 53
Joined: 25 May 2011 19:56
VLC version: 2.1.5
Operating System: Linux

Re: Multiple streams to multiple devices

Postby mundu » 22 Apr 2013 18:01

In multiple video streams I guess its multiple video files to multiple clients. Yes you can. Try the VOD using VLM configuration. In the Raspberry Pi you only need some RTSP client (not necessarily VLC client).

If you want to make thinks easier, use VLM with broadcast configuration and use RTP or UDP to stream to each raspberry PI. Again, you don't need VLC as a mandatory RTP/UDP client. You might use something lighter.
Last edited by mundu on 23 Apr 2013 12:34, edited 1 time in total.

Elusid
New Cone
New Cone
Posts: 2
Joined: 19 Apr 2013 04:54

Re: Multiple streams to multiple devices

Postby Elusid » 23 Apr 2013 06:22

Thank you! I will try that and see how it works

ibstars
Blank Cone
Blank Cone
Posts: 42
Joined: 20 Feb 2009 21:57
VLC version: Mul-versions
Operating System: Windows
Location: The richest man in Babylon

Re: Multiple streams to multiple devices

Postby ibstars » 26 Apr 2013 18:29

With VLM config you can broadcast multiple channels.
Example vlm config file with 3 streams running
-------------------------------cut here
new channel1 broadcast enabled
setup channel1 input http://localhost:11111 (ignore this text and braces here , write your port and domain instead of- 11111,22222,33333)
setup channel1 output #transcode{vcodec=h264,vb=300,deinterlace,ab=32,width=320,acodec=mp3,samplerate=44100}:duplicate{dst=std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=/mediaplayer/stream1.flv},dst=none}

new channel2 broadcast enabled
setup channel2 input http://localhost:22222
setup channel2 output #transcode{vcodec=h264,vb=300,deinterlace,ab=32,width=320,acodec=mp3,samplerate=44100}:duplicate{dst=std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=/mediaplayer/stream2.flv},dst=none}

new channel3 broadcast enabled
setup channel3 input http://localhost:33333
setup channel3 output #transcode{vcodec=h264,vb=300,deinterlace,ab=32,width=320,acodec=mp3,samplerate=44100}:duplicate{dst=std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=/mediaplayer/stream3.flv},dst=none}

control channel1 play
control channel2 play
control channel3 play
-------------------------------cut here

just by typing this, u can assess your different channels.
http://localhost:8080/mediaplayer/stream1.flv (And this works locally for testing without opening any ports - This is your first stream, stream1.flv. Your second stream is stream2.flv etc- Get the idea :)

I'm using flv conversion is more faster and less bandwidth - I think!!
IBstars


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 13 guests