Game Development Community

Live video

by valie · in Hardware Issues · 12/14/2007 (3:00 pm) · 5 replies

I have read to send video in my mission I have to use the theora codec ...
Do you know if it's possible to send live window media player webtv in my mission ???? using tools to convert my stream to theora ???...........
Or may be there is an other method ???
Thanks for your help

#1
12/15/2007 (9:26 am)
Well, there's definitely nothing built-in that would allow it. I would recommend searching MSDN for information on connecting to webcams in Windows (and Apples' dev center for connecting under OS X). Then, once you have a core understanding for how to do it in C++, extending it to Torque's video system. It is not a trivial task, and for your conversion system to work, you would have to 1) rewrite the theora convertor to work with constant streams, and then rewrite the theora code for Torque to allow these streams.

EDIT:
Dave Wyand was working on a similar system, but it is non-trivial to implement.
#2
12/20/2007 (8:12 am)
I'm working on two way and want to integrate them into Torque :
live webtv and displaying a webcam or several webcams ....
In the forum I have found a tutorial to stream video with changing some source code and using the theora codec but it's not video live .... :-(
#3
12/20/2007 (8:42 am)
Yes. It is extremely non-trivial. Are you experienced with webcam SDK's in any other area, for example a simple chat application using DirectShow's streaming examples? There are a lot of C# examples out there, but a number of them are quite advanced.
#4
12/20/2007 (8:44 am)
Well, it doesn't seem done yet - but is this the sort of thing you were looking for (it's the David Wyand thing mentioned by David Blake)? www.garagegames.com/blogs/8341/13656 If so - this guy seems to be pretty good, you are probably best off waiting and paying him when he gets the code-pack done.

There is also a reasonably new resource for streaming live audio - you could probably take this method for getting the caputured input functioning as a live stream, and combine it with the video streaming functions of the resource you mentioned. If you pulled it off that would be pretty cool - Im pretty sure directShow will only work for MS platforms and a cross-platform solution would be awesome.
#5
12/20/2007 (8:53 am)
DirectShow will only work for Windows platforms, but it's also the most documented one I could find. There are Linux code projects, but most of them require advanced programming skills and have next to no documentation or work with a limited number of cameras.