Page 1 of 1

Recording streams using VB.net plugin

Posted: 21 Dec 2015 04:49
by jcvamp
Hi. Is it possible to record streams using the plugin in VB.net? If not, is it possible to shell to VLC and make it record a stream using command line arguments?

Re: Recording streams using VB.net plugin

Posted: 29 Dec 2015 20:23
by da2424
It could be possible, if you set the correct command line options with vlc.playlist.add().
But I haven't tested it yet, not sure if it is allowed and possible at this point. Probably not.

Otherwise, it should be possible for VB.net to start vlc.exe with the correct parameters.

Re: Recording streams using VB.net plugin

Posted: 30 Dec 2015 23:51
by jcvamp
Thanks for the response. I tired sending command line arguments when I added a file to the playlist, and it didn't work. Is it possible to send command line arguments to VLC while it's running?

Re: Recording streams using VB.net plugin

Posted: 31 Dec 2015 14:32
by da2424
Is it possible to send command line arguments to VLC while it's running?
I don't think so, but I could be wrong.

The easiest way should be to start VLC directly with the command line string. (VB.net should be able to do this)

Re: Recording streams using VB.net plugin

Posted: 01 Jan 2016 01:27
by jcvamp
The easiest way should be to start VLC directly with the command line string. (VB.net should be able to do this)
Thanks for the response. The issue is that it limits the amount of control I have over the shelled program. For instance, what if the user might want to pause the recording part way through and resume? I also wanted to be able to record the live stream to enable the user to pause, rewind, and fast forward, but I found that the code I was using, for some reason, disabled one of the keys.

Re: Recording streams using VB.net plugin

Posted: 06 Jan 2016 19:22
by da2424
It could be possible, if you set the correct command line options with vlc.playlist.add().
I have tested it now, it's not allowed. You can access to dshow, but you can't record it.

Thanks for the response. The issue is that it limits the amount of control I have over the shelled program.
That's true. But I don't know a better solution :(

Re: Recording streams using VB.net plugin

Posted: 12 Jan 2016 20:05
by jcvamp
I appreciate you trying. :-)

Re: Recording streams using VB.net plugin

Posted: 14 Jan 2016 13:09
by jcvamp
I discovered why the play key stopped working in the program. VLC was capturing the key. I am now using getasynckeys and it works.