Piping a Stream INPUT to TWO separate VLC instances

About encoding, codec settings, muxers and filter usage
Brahman
New Cone
New Cone
Posts: 7
Joined: 23 Nov 2007 17:22

Piping a Stream INPUT to TWO separate VLC instances

Postby Brahman » 02 Feb 2008 17:36

Hello,

we are a charitable institution where bandwidth is at a premium (i.e. we can never afford enough, just a 2MB DSL connection shared by 40 people :( ).

A lot of us watch the same mms stream, therefore - to avoid everyone getting the same stream from the internet in order to save bandwidth - I have set up a multicast VLC server that works from 10.00 to 23.00 which broadcasts one stream to all users in our LAN.

Some are not watching live, but would like to see a selection of the streams later.

Therefore I would like to save 1 hour chunks of the stream to a shared disk, but not the Multicast stream, since I need to transcode the WMA audio component of the incoming MMS stream to MP3, otherwise I do not get audio, and the transcoding increases diskspace (since I need to up the very low bitrate of the stream so that it sounds good) and decreases quality slightly.

So my idea is to somehow pipe the mms stream into two instances of VLC: With the first I Multicast the incoming stream, with the second I will save 1 hour chunks to disk.

I cannot do it with one instance, because then there would be small gaps when the 1 hour chunks are saved and VLC continues.

Is there a way to pipe one incoming mms stream to two vlc threads (again the purpose is to save bandwidth here)?

Thank you for any suggestions.

Kind Regards,

Brahman

kunkie
New Cone
New Cone
Posts: 1
Joined: 12 Feb 2008 22:08

Re: Piping a Stream INPUT to TWO separate VLC instances

Postby kunkie » 12 Feb 2008 22:11

It's just an idea but you could try saving the MMS stream with http://sdp.ppona.com/.

Then open two vlc instances to deal with the one file on the disk.

I *think* that'll work.

jjjuande
New Cone
New Cone
Posts: 1
Joined: 20 Feb 2008 10:53

Re: Piping a Stream INPUT to TWO separate VLC instances

Postby jjjuande » 20 Feb 2008 11:41

Why don't you open a second VLC that read the stream you are broadcastring and save it to a file.
Also, you can do this in any machine of the network.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 22 guests