Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Professional Discussion / Webcam Video Streaming to 3D Cube

Author
Message
MaxRISC
22
Years of Service
User Offline
Joined: 1st Nov 2003
Location:
Posted: 5th Nov 2003 06:13
MODERATOR: This is a new thread and is a similar post to something I was trying to find out earlier. Please delete/move that thread to here.

-----

I understand that DBPro cannot handle COM/ActiveX controls directly and this is a problem because the only thing I am able to find for Webcam connectivity is basically a control that DBPro will not talk to.

I would like to be able to stream the video from a remote networked webcam to a cube face in DBPro and I have no idea where to start on this. I have looked over the examples and the DirectX SDK and I am still drawing a blank.

I thought about converting something from Linux to work on this but it seems like a project in and of itself when this should be "easy".

I have also searched the forums on this and found no answer and al of the threads were tombstoned and put to rest.

Has anyone made any progress on getting this to work?

Any help/sources/DLLs/documentation would be greatly appreciated as I am stuck on my project.

Many thanks in advance.
swdave
23
Years of Service
User Offline
Joined: 6th Oct 2002
Location: United States
Posted: 5th Nov 2003 07:42
You would start with something like this on your webcam server.

http://www.vb-helper.com/howto_video_capture.html

Then save images to a file that can be FTP'd by your DBP client.
IanM
Retired Moderator
23
Years of Service
User Offline
Joined: 11th Sep 2002
Location: In my moon base
Posted: 5th Nov 2003 08:52
That is correct, neither DBC or DBPro can access COM DLLs.

If you want to use a COM DLL then you will have to write a wrapper DLL to adapt it to the DBPro way of doing things. There is currently no other way of doing it.
MaxRISC
22
Years of Service
User Offline
Joined: 1st Nov 2003
Location:
Posted: 5th Nov 2003 17:12
Well. That is kind of what I was thinking about doing.

I have no idea how to write a wrapper. I am just getting my hands dirty with VB VC++ and DBP. I am still trying to figure out how to make my VB and VC++ into DLLs so tha DBPro can use them.

Will DBP run the VB code natively? I know the C++ stuff has to be compiled and dropped into a plugins folder.


As for the above basically... I will create a function that reads the files in a folder sequentially and then applies them as a texture to the cube face and deletes the older files after it is done.

I don't expect this to be very efficient but I think it is a good way to clutter up a disk nicely.

This still hasn't resolved the problem of sound streaming but as I was typing this up I just had a brilliant idea about DBPro and Group Videoconferencing using external apps.

Now that would be cool huh?
Phaelax
DBPro Master
23
Years of Service
User Offline
Joined: 16th Apr 2003
Location: Metropia
Posted: 6th Nov 2003 22:25
Well dbp can record sound, so i think it would be possible for it to just recieve the sound from a microphone and just simply play the sound out.

Login to post a reply

Server time is: 2026-07-26 17:34:09
Your offset time is: 2026-07-26 17:34:09