[SDL] SDL Digest, Vol 10, Issue 28
Arjan
sdl-mailinglist at arjanhouben.nl
Tue Oct 16 11:03:29 PDT 2007
> Message: 2
> Date: Tue, 16 Oct 2007 07:47:41 +1000
> From: " Ren? Dudfield " <renesd at gmail.com>
> Subject: Re: [SDL] video playback API in SDL
> To: "A list for developers using the SDL library. (includes
> SDL-announce)" <sdl at lists.libsdl.org>
> Message-ID:
> <64ddb72c0710151447h31c90128qc735b28ce5adf740 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> A webcam/video camera api would be very useful.
>
> The APIs for those are fairly stable on linux/osx/windows.
>
> It also opens up another form of input for games, and therefore many
> new game types.
>
> I know there is code for windows, and linux with SDL... and maybe
> there's some OSX code lying around somewhere too. So it's probably a
> case of people doing the hard work in putting them all together and
> coming up with a sensible API which works with each of them.
Yes, a video capture device API would be great, I've done some work on
it in windows, and it is absolutely horrible... You need to use
DirectShow, which in itself is not that difficult, but if you would like
to acces the actual framedata, you are entering a world of hurt.
Anyway, it's very possible, as VLC already does it on all three
platforms. As it is open source, it should not be all that difficult to
incorporate it into SDL.
More information about the SDL
mailing list