c# command line controls
Posted: 28 Nov 2008 17:57
I have been trying to get command line controls forking in the VLanControl .Net wrapper for a long time now.
If there is documentation on it its hard to find, every post just seems to link to "VLC command line interface" without any clear guidelines on how to implement it in c#. The search being broken on multi word queries doesnt help!
Anyway I'm sure that this is straight forward but nothing that I put into the options has any effect.
Im trying to control the logo overlay and audio output device through the options.
If I set the preferences in VLC itself I can achieve what I want, but I need to do it programatically.
Ive tried all sorts of things to get it working but heres a chunk of my code as it stands now.
My program uses libvlc 0.8.6(f - if i remember rightly)
What am I missing or doing wrong here?
Thanks in advance to anyone kind enough to help out.
If there is documentation on it its hard to find, every post just seems to link to "VLC command line interface" without any clear guidelines on how to implement it in c#. The search being broken on multi word queries doesnt help!
Anyway I'm sure that this is straight forward but nothing that I put into the options has any effect.
Im trying to control the logo overlay and audio output device through the options.
If I set the preferences in VLC itself I can achieve what I want, but I need to do it programatically.
Ive tried all sorts of things to get it working but heres a chunk of my code as it stands now.
My program uses libvlc 0.8.6(f - if i remember rightly)
Code: Select all
nexttoplay = libraryPath + nexttoplay;
string[] options = new string[] { "vlc", "--no-loop", "--drop-late-frames", "--sub-filter=logo", "--directx-audio-device=" + audiodevice };
frmtv.videoPlayer.Stop();
frmtv.videoPlayer.ClearPlayList();
frmtv.videoPlayer.AddToPlayList(nexttoplay, "Firstplay", options);
frmtv.videoPlayer.Play();
Thanks in advance to anyone kind enough to help out.