Playing a video over LAN
Posted: 07 Apr 2009 16:47
Hello,
I have a question concerning network bandwidth usage when VideoLan server is used.
In http://csharpmagics.blogspot.com/ I found the following server code:
And the following client side code:
The question is, when multiple clients has to display the video, the network bandwidth may work at full capacity. Is there a way to configure VLC so that the video (or the playlist) is copied locally first and after that, the videos start playing? is that already implemented or do I have to develop my own copy routine?
Thanks in advance
Jaime
I have a question concerning network bandwidth usage when VideoLan server is used.
In http://csharpmagics.blogspot.com/ I found the following server code:
Code: Select all
LibVlc vlc = new LibVlc();
vlc.Initialize();
vlc.VideoOutput = pictureBox1;
vlc.PlaylistClear();
string[] Options=new string[] { ":sout=#duplicate{dst=display,dst=std {access=udp,mux=ts,dst=224.100.0.1:1234}}" };
vlc.AddTarget("c:\\1.flv", Options);
vlc.Play();
Code: Select all
LibVlc vlc = new LibVlc();
vlc.Initialize();
vlc.VideoOutput = pictureBox1;
vlc.PlaylistClear();
string[] options = { ":sout=#duplicate{dst=display,dst=std{access=file,mux=asf,dst=\"F:\\My-Output-Video-Filename.asf\"}}" };
vlc.AddTarget("udp://@224.100.0.1:1234", options);
vlc.Play();
Thanks in advance
Jaime