[Qt-interest] video streaming what any suggestions?
Giancarlo Amati
ilferraresebono at hotmail.it
Mon May 18 11:18:45 CEST 2009
Many thanks for the answer...the only solution I will use is using OPENCV as a library to connect the video device and see where a can get.
Many regards.
Giancarlo amati
> CC: ilferraresebono at hotmail.it; kkrizka at gmail.com
> From: Trent at Tuggle.org
> To: qt-interest at trolltech.com
> Subject: Re: [Qt-interest] video streaming what any suggestions?
> Date: Wed, 13 May 2009 13:25:30 -0400
>
> I've had the same problem recently.
>
> Unfortunately, my solution was to create my own video interface layer,
> based on Quicktime.
>
> I chose Quicktime because I needed as close as I could get to a stable
> cross-platform solution. VLC/GStreamer/etc. would have been options,
> but I've been burned in the past with long-term architectural changes
> and maintenance of APIs with open source video projects.
>
> I first built a simple layer to abstract and control the video, then
> wrote two implementations -- one which opens video files on-disk, the
> other which opens video-input devices. Output is by emitting
> frameChanged() signals, which allow the client to obtain the current
> QImage of the frame. To draw to screen, I just use a QLabel and
> setPixmap(). Video files on-disk work on both Windows and Mac, but
> video-input devices are only supported by Quicktime on Mac, AFAIK.
>
> It took me about a week. Overall, it was pretty simple -- the hardest
> part was learning the old C interface to Quicktime, and getting that
> right for cross-platform (well, Windows+Mac) use.
>
> Unfortunately, I cannot release my source code at this time... but I'm
> still checking licensing options, so I'll let you know.
>
> -Trent Tuggle
>
>
> On May 12, 2009, at 8:56 PM, Karol Krizka wrote:
>
> > Giancarlo Amati wrote:
> >> Hello everybody,
> >>
> >> I have to write donw a software and I wish to use QT as a GUI. now,
> >> the software has to connect to a video camera connected by a
> >> USB/Firewire port and shows the video steaming as well as saving
> >> frames.
> >>
> >> Sorry to bother u with this question but does QT have any class
> >> devoted to video management? I heard about Phonon, but yet don't
> >> understand if it is just for playing a videoclip or also to show up a
> >> video streaming...from a camera.
> >>
> > I remember some discussion about that a while ago on this list, so I
> > suggest you look in the archives. I don't remember the overall
> > conclusion, but I understand that at the current moment it is
> > impossible
> > to play camera streams with Phonon. However, there is some VLC library
> > that will allow you to do it inside Qt.
> >
> > --
> > Cheers,
> > Karol Krizka
> > http://www.krizka.net
> > _______________________________________________
> > Qt-interest mailing list
> > Qt-interest at trolltech.com
> > http://lists.trolltech.com/mailman/listinfo/qt-interest
>
_________________________________________________________________
Messenger 2009: scaricalo gratis!
http://messenger.it/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090518/63fa448b/attachment.html
More information about the Qt-interest-old
mailing list