private void btnStart_Click(object sender, EventArgs e) { try { LibVlc vlc = new LibVlc(); vlc.Initialize(); vlc.VideoOutput = pictureBox1; vlc.PlaylistClear(); string[] Options = { ":sout=#duplicate{dst=display,dst=std {access=udp,mux=ts,dst=224.100.0.1:1234}}" }; vlc.AddTarget(@"d:\sample.avi", Options); vlc.Play(); } catch (Exception e1) { MessageBox.Show($"Error!!! {e}"); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)