I'm using MSVS 2008 and Qt 4.4.1 (configure blablabla -phonon yep)
And as Phonon in Windows is based on DirectShow and usually Windows C++ programmers use DirectShow to get access to a webcam, I suppose that there must be a trivial (but not mentioned neither at the Phonon official website nor nowhere else in google) way to present a webcam device as a Phonon::MediaSource::Stream or something like that?
Thanks in advance.
P.S. I know about OpenCV, but I'd like to try tools that I already have.




) way to present a webcam device as a Phonon::MediaSource::Stream or something like that?
Reply With Quote

, in fact I keep an QBuffer object in QIODevice implementation, buffer holds the frames read from the webcam as png files(QImage::save()). Then I give this iodevice object to phonon, it only shows the first image but not plays all of them consecutively. I don't know how to solve this problem.
what is the simplest video format? Maybe GIF but qt can not write to it. QMovie could be a solution, currently working on it.

Bookmarks