Piping a Stream INPUT to TWO separate VLC instances
Posted: 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
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