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 Discussion / Live video feed?

Author
Message
Soroki
19
Years of Service
User Offline
Joined: 26th Jan 2006
Location: United States
Posted: 16th Aug 2006 21:42
I was wondering if I could make a program that accepts live video feed and plays to you with a time delay of at least 15 seconds. Is it possible with DB? It doesn't have to be live feed but it is preferable.

Oops! Did you accidentally find my razor wire? Oh, you got lacerated by it? Sorry!
Latch
18
Years of Service
User Offline
Joined: 23rd Jul 2006
Location:
Posted: 17th Aug 2006 01:18
Hi Soroki,

If live feed isn't important, then DBC will play avi files.

But since live is preferable, the only commands I can think of off the bat would be to use the Multiplayer network commands. I'm just guessing, but with a little bit of clever programming, one could rig up an app that would receive a media stream as if it were a player on a network sending data. The real trick would be in converting the data stream into a human viewable form. For that, you'd probably need a codec in the form of a dll to convert the data stream into video and audio; which could be called through DBC's call dll command.

Assuming you could get the data streaming, then in theory, instead of a dll, you could send shell commands using DBC's Execute File to launch an external app like Mplayer(open source) and have it play the streaming data. Using the external app might defeat the purpose though.

To keep the app self contained, using a codec dll and calling it through DBC might be the preferred route.

Enjoy your day.
Dark Eternity
20
Years of Service
User Offline
Joined: 10th Jul 2004
Location: Vana Diel
Posted: 17th Aug 2006 14:36
yeah and there are programs like (formerly) macromedia breeze (now known as adobe breeze) and i do remember there being a dll somewhere because the whole thing was designed for streaming video feeds

Scorched Skies is waiting,can you help

AMDAthlonFX-62,NvidiaGeforce7900 512MB X2,RAM4GB
Soroki
19
Years of Service
User Offline
Joined: 26th Jan 2006
Location: United States
Posted: 21st Aug 2006 20:34
Okay, thanks. So can anyone like, post a code where you can call up avi that was just put into a directory. Like, say you already have some avi files. Then you want to call up more avi files, but they just got put into the directory folder, and you don't want to have to go and edit your code. Can anyone make this for me? I am a novice coder and have not enough exp to make something like this. I don't want it to be a pain for anyone, but it really is a necessity.

Oops! Did you accidentally find my razor wire? Oh, you got lacerated by it? Sorry!

Login to post a reply

Server time is: 2025-05-25 06:20:59
Your offset time is: 2025-05-25 06:20:59