Recording streams using VB.net plugin

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
jcvamp
Blank Cone
Blank Cone
Posts: 60
Joined: 27 May 2009 00:58

Recording streams using VB.net plugin

Postby jcvamp » 21 Dec 2015 04:49

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?

da2424
Cone that earned his stripes
Cone that earned his stripes
Posts: 310
Joined: 16 Apr 2013 16:57

Re: Recording streams using VB.net plugin

Postby da2424 » 29 Dec 2015 20:23

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.

jcvamp
Blank Cone
Blank Cone
Posts: 60
Joined: 27 May 2009 00:58

Re: Recording streams using VB.net plugin

Postby jcvamp » 30 Dec 2015 23:51

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?

da2424
Cone that earned his stripes
Cone that earned his stripes
Posts: 310
Joined: 16 Apr 2013 16:57

Re: Recording streams using VB.net plugin

Postby da2424 » 31 Dec 2015 14:32

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)

jcvamp
Blank Cone
Blank Cone
Posts: 60
Joined: 27 May 2009 00:58

Re: Recording streams using VB.net plugin

Postby jcvamp » 01 Jan 2016 01:27

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.

da2424
Cone that earned his stripes
Cone that earned his stripes
Posts: 310
Joined: 16 Apr 2013 16:57

Re: Recording streams using VB.net plugin

Postby da2424 » 06 Jan 2016 19:22

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 :(

jcvamp
Blank Cone
Blank Cone
Posts: 60
Joined: 27 May 2009 00:58

Re: Recording streams using VB.net plugin

Postby jcvamp » 12 Jan 2016 20:05

I appreciate you trying. :-)

jcvamp
Blank Cone
Blank Cone
Posts: 60
Joined: 27 May 2009 00:58

Re: Recording streams using VB.net plugin

Postby jcvamp » 14 Jan 2016 13:09

I discovered why the play key stopped working in the program. VLC was capturing the key. I am now using getasynckeys and it works.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 18 guests