Postby markfm » 30 May 2004 13:09
Is this what you want to do? :
Stream from Windows at 92.13 to Linux client at 92.88,
then
re-stream (re-transmit) from Linux at 92.88 to other client at 92.12?
It sounds like you have the first part, from Windows server to Linux client OK -- correct?
In Windows (the OS I use), if I want to display something locally, plus re-transmit it, make it available on my PC as an HTTP stream, I would use a "sout" piece that looks like:
:sout=#transcode{vcodec=WMV2,vb=1024,scale=1,acodec=mp3,ab=192,channels=2}:duplicate{dst=display,dst=std{access=http,mux=avi,url=127.0.0.1:8080}}
What the above does is:
-Set up a transcoding (you probably don't want/need this), to WMV2 video at 1024 kbps, mp3 audio at 192 kbps
-Make two "output" sets of the resulting data, one to my local display, and one made available via HTTP to anyone connecting to my PC's IP address
(127.0.0.1 is "Localhost", something that a PC knows means to use its local interface); the HTTP copy is an AVI transport stream
If I just want to re-transmit, don't local display, no transcoding, make it a UDP multicast, the line looks like:
:sout=#duplicate{dst=std{access=udp,mux=ts,url=239.20.30.40:1234}}
The above copies the data, makes it available as a UDP stream, uses MPEG Transmit Stream format, on address 239.20.30.40, port 1234
if working from a Linux command line, I believe you change ":sout=" to "--sout ", then wrap the rest of it in quotation marks (so it looks like "#transcode ... 8080}}" -- check the VLC reference documentation, the How-To I believe.