View Full Version : Show video-stream inside OpenGL application
torbjorn
09-19-2002, 04:08 AM
Hi!
I've seen/read about applications displaying a videostream inside an OpenGL application/window.
Can you direct me to some sourcecode for doing this?
Are there any libraries or functions that I can find on a web-site somewhere?
-Thanks!
Torbjørn
torbjorn
09-19-2002, 04:29 AM
I've checked out http://www.sulaco.co.za/opengl2.htm but I need sourcecode to be C or C++...
nexusone
09-19-2002, 08:16 AM
Have you looked at nehe.gamedev.net, tutor 35 is on playing AVI's in a opengl window. C/C++ code
Originally posted by torbjorn:
I've checked out http://www.sulaco.co.za/opengl2.htm but I need sourcecode to be C or C++...
torbjorn
09-19-2002, 09:04 PM
Thanks a lot!
-Hadn't seen this one!
Torbjørn
torbjorn
09-20-2002, 01:46 AM
The lesson #35 uses an AVI-file.
Do you know of similar code for using images from a camera (live) ?
Thanks again :-)
Torbjørn
nexusone
09-20-2002, 04:07 AM
Have you looked at SDL(sound device library) www.libsdl.org (http://www.libsdl.org)
I think they have some video support, maybe even streaming video.
Originally posted by torbjorn:
The lesson #35 uses an AVI-file.
Do you know of similar code for using images from a camera (live) ?
Thanks again :-)
Torbjørn
torbjorn
09-20-2002, 04:40 AM
Not yet, but soon :-)
Thanks again !!!
Torbjørn
nexusone
09-20-2002, 05:05 AM
I remember the subject of streaming video, has been on here in the past, did a quick google search and came up with the following on streaming video to opengl.
Note this example uses DirectX to capture the video stream then opengl to render it.
http://www.cs.unc.edu/~ryang/Miscellaneous/DShow/README.htm
Also on the ATI website had some stuff on video stream playback.
Originally posted by torbjorn:
Not yet, but soon :-)
Thanks again !!!
Torbjørn
torbjorn
09-20-2002, 05:20 AM
Thanks again and again :-)
Your input is greatly appreciated!
I will dig into this on monday morning :-)
Torbjørn
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.