[SDL] Frame Grabbing in SDL
Wuschelchen at kaffeeschluerfer.com
Wuschelchen at kaffeeschluerfer.com
Sun Nov 11 12:03:30 PST 2007
Hi,
hmmm there was for example one interesting post for a frame grabber on a linux system: http://article.gmane.org/gmane.comp.lib.sdl/28318/
does anyone have a similar solution for windows?
how can i get access to the incomming video stream?
on linux this should be possible with e.g.: video = new videoInput("/dev/video0");
but how could i code this for windows?
should i go over directX or is there a better solution?
Best regards,
Tina
-------- Original-Nachricht --------
> Datum: Sat, 10 Nov 2007 18:39:57 -0700
> Von: sbizna at tejat.net
> An: "A list for developers using the SDL library. (includes SDL-announce)" <sdl at lists.libsdl.org>
> Betreff: Re: [SDL] Frame Grabbing in SDL
> 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
> >
> _______________________________________________
> SDL mailing list
> SDL at lists.libsdl.org
> http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
--
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
More information about the SDL
mailing list