[streaming] Re: Piped input to VLC
Epelde Gorka
GEpelde at ikerlan.es
Fri Mar 18 12:12:52 CET 2005
Benjamin Pracht wrote:
> On Wed, Mar 16, 2005, Epelde Gorka wrote :
>>
>> Nope, because i need to stream multiple programs. I have achieved
>> streaming out only one program.
>>
>
> If by that you mean that you want to stream several SID from the same
> TS stream, VLM won't help. What you need is to set an appropriate
> duplicate chain in stream output.
>
> Have a look here
>
> http://www.via.ecp.fr/via/ml/vlc/2004-10/msg00161.html
>
> For an example.
>
> --
> Benjamin Pracht
Hi all, once again,
I've been trying the option written above and got good results but i
have
some questions about it.
1.- Well i have been streming both through fast ethernet and WIFI. When
using
fast ethernet i get a lot better results through unicast compared to
multicast,
understandable because ethernet switching in the case of unicast
separates the
different colision domains. But in the case of WIFI, there is no switch,
the
AP is a HUB, so unicast or multicast should get equal result. I think
i'm
missing something true? The AP has no MIMO, so spatial stuff isn't a
variable.
Any idea?
2.- In the case that i buy a AP with Qos support, how do i specify to
give
priority to VLC stream or is it automatic?.
3.- Going back to the original question on the thread, isn't there any
way to
control it through VLM? As i told before i was thinking in piping the
stream to
vlc and working from the VLM. Maybe using more than one pipe. The idea
VOD is to offer
10 programs and to send the requested ones. This is because, the medium,
for example
wifi, can't support those 10 programs. Using the way above, if i want to
change the
channel i have to enter the server through ssh stop all the streamings
and execute a
new command line.
I have been testing the use of pipes with normal command line trying:
-Normal pipes:
1. stream | vlc
2. Inside vlc opening /dev/stdin
3. Choose a program
Results: Few seconds of viewing, looks like too slow (messages
output)
-Named pipes:
1. mkfifo pipevlc
2. stream > pipevlc
3. Inside vlc opening pipevlc
4. Choose a program
Results: Same as above.
-Vlc command line way
1. stream | vlc -
2. Choose a program
Results: Works OK.
How is the "-" treated in VLC? Isn't the input a usual pipe?
I was thinking in opening multiple pipes for the stream, one for each
program,
because i think that pipe is one to one.
Thank you to all, for your time. Really apreciated.
--
This is the streaming mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://www.videolan.org/support/lists.html
More information about the streaming
mailing list