A question about recording, using the activeX

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
Guest

A question about recording, using the activeX

Postby Guest » 19 Jul 2006 13:15

Hello
Since a few days back Ive been fighting the VLC activeX while making a mediaplayer inside a small test application.

However now Ive hit a wall...
My problem is how do i record video from a usb camera via the activeX, I tried out some code from an older post but it didnt work out entirely. It just made the program run while doing nothing :(

The programming language is VB on a winXP-2k platform the cam is some simple Philips thingy basic webbcam stuff.

The code Ive tried for recording is as follows.

Code: Select all

Dim Vopt(12) As String Vopt(0) = ":dshow-vdev=""Philips ToUCam XS""" Vopt(1) = ":dshow-adev=""""" Vopt(2) = ":dshow-size=""""" Vopt(3) = ":dshow-caching=200" Vopt(4) = ":dshow-chroma=""""" Vopt(5) = ":dshow-fps=25.000000" Vopt(6) = ":no-dshow-config" Vopt(7) = ":no-dshow-tuner" Vopt(8) = ":dshow-tuner-channel=0" Vopt(9) = ":dshow-tuner-country=0" Vopt(10) = ":dshow-tuner-input=1" Vopt(11) = ":sout=#transcode{vcodec=mp4v,vb=384,scale=1,acodec=mpga,ab=192,channels=2}" Vopt(12) = ":duplicate{dst=std{access=file,mux=ogg,dst=""C:\wtf.ogg""}}" VLCPlugin1.addTarget "dshow://", Vopt, VLCPlayListAppendAndGo, -666
I guess Im missing something vital but Im not experienced enuff to see it...

/C

Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 22 guests