Re: Webcam QT Widget

Dirk Ziegelmeier <[email protected]>
Newsgroups gmane.comp.kde.kwintv
Message-ID <[email protected]>
On Friday 06 August 2004 19:51, George Staikos wrote:
> On Friday 06 August 2004 13:39, Dirk Ziegelmeier wrote:
> > On Friday 06 August 2004 13:29, Nahuel Greco wrote:
> > > Hi, I have a QT (non KDE) application and I want to add a widget
> > > displaying realtime video from a webcam. Also I want to eventually take
> > > jpg or pnm snapshots from it. Googling, seems that kwintv is the only
> > > option for QT with support for overlay video.
> > >
> > > So, has kwintv an usable (non kde) Widget for this purpose? Any hints
> > > or advices on where look at the code for that? (with trivial or
> > > non-trivial potential qt adaptation/isolation work).
> >
> > basically kdetv contains a Qt TV widget. If you take only kvideoio and
> > adapt the v4l plugin for your needs you would have such a widget.
> > Unfortunately, the v4l plugin is not very usable for webcams since it
> > lacks image format conversion (on the TODO list). It seems many webcams
> > to not grab YUV (what XVIDEO wants).
>
>   Though the code was originally developed with a quickcam express
> actually, and it's very easily to adapt RGB.
Yes it is. Acutally, there is a RGB->YUV conversion routine in CVS 
(libkdetv/kdetvvideo/kdetvformatconversion.cpp) but it is not being used so 
far.

Dirk
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.