Postby markfm » 04 Oct 2004 13:03
Not with UDP -- VLC streams UDP using what's called MPEG TS -- WMP doesn't recognize it.
For WMP, stream using MMSH -- type in LocalHost or 127.0.0.1 in the address field next to that choice. Then select Encapsulation method ASF.
In WMP, select Open URL, then type in mmsh://address_of_server:port_of_server
If the MPEG is using CODECs supported by WMP, that's all. Otherwise you'll need Transcoding options -- set Video codec = div3, Audio codec = mp3. Transcoding uses more CPU, so you don't want to do that if it's not necessary.
Each client connecting will use a set of bandwidth -- if you're running a 512kbps video, 3 users will consume 1.5 Mbps on your network interface.
I'm not sure where/how to set loop through the wxwindows interface. From the command line, you would use --loop, I believe a command like:
c:\vlc\vlc.exe c:\myfile.mpg :sout=#duplicate{dst=std{access=mmsh,mux=asfh,url=:1234}} --loop