[SDL] Frame Grabbing in SDL

sbizna at tejat.net sbizna at tejat.net
Sat Nov 10 17:39:57 PST 2007


SDL doesn't have support for this. You have to use a platform-specific
driver for grabbing frames. (On Linux you'd use v4l or v4l2, on Mac OS
X you'd use QuickTime, dunno what you'd use on Windows.)
The posts you read were probably talking about *displaying* data
captured from these devices, which it would do as well as any other
video task.
(or maybe this is yet another feature new in 1.3 that I don't know about.)
-:sigma.SB


On 11/9/07, Wuschelchen at kaffeeschluerfer.com
<Wuschelchen at kaffeeschluerfer.com> wrote:
> Hi all,
>
> in several posts i've read that with SDL it is possible to implement readout
> of frame grabber cards.
>
> I'm writing a bigger application with the Qt toolkit on Windows XP using the
> MinGW compiler. One important part of the application is to grabb a video
> stream from a PCI grabber card and analyse this.
>
> For frame grabbing and visualisation i would like to take the SDL package in
> order to keep the code as system independent as possible.
> The problem is that I'm not very experienced with SDL and don't have much
> idea how to start. The documentation doesn't give a real hint to the
> solution of this problem. :-(
>
> It would be really great if someone could help and tell me how to realize
> this, especially how to choose and initialize the driver (resolution, color
> depth, frame rate...), how to capture a picture out of the stream, how to
> readout this into an array for example and how to display it. A complete
> code example (if someone has) would be absolutely perfect :o)
>
> Best regards,
>
> Tina
> --
> Psssst! Schon vom neuen GMX MultiMessenger gehört?
> Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
>


More information about the SDL mailing list