[Interest] Video Player Example

Szalata, Zenon M. zms at slac.stanford.edu
Mon Apr 9 05:20:50 CEST 2012


Thank you for your suggestion.  I will look at your code and perhaps I can use it.
Zen

From: Josiah Bryan [mailto:josiahbryan at gmail.com]
Sent: Thursday, April 05, 2012 5:34 PM
To: Szalata, Zenon M.; interest at qt-project.org
Subject: Re: [Interest] Video Player Example

On Thu, Apr 5, 2012 at 7:58 PM, Szalata, Zenon M. <zms at slac.stanford.edu<mailto:zms at slac.stanford.edu>> wrote:

Given the nature of the data is the approach following the video player example the right way to go?
and
How do I inform the "video" classes that the QByteArray represents a 2D image of fixed dimensions?


I must confess, I don't know how to do it with the "standard" Qt classes. However, I've developed my own set of capture and video display classes.

A complete application that just captures video and draws it on screen in real time:
http://code.google.com/p/livepro/source/browse/trunk/devel/app-template/MainWindow.cpp#28

(That app demos both using OpenGL directly and using a QWidget to render video.)

The low level capture under Linux is done with V4L:
http://code.google.com/p/livepro/source/browse/trunk/gfxengine/SimpleV4L2.cpp

Which is handled by the CameraThread (which uses libav on windows to capture):
http://code.google.com/p/livepro/source/browse/trunk/gfxengine/CameraThread.cpp

And the video is rendered using a GLVideoDrawable:
http://code.google.com/p/livepro/source/browse/trunk/gfxengine/GLVideoDrawable.cpp

(For actually using that googlecode project, see http://code.google.com/p/livepro/wiki/QuickStartGuide)

Regards,
Josiah



Any help and suggestion are greatly appreciated,
Zen

_______________________________________________
Interest mailing list
Interest at qt-project.org<mailto:Interest at qt-project.org>
http://lists.qt-project.org/mailman/listinfo/interest



--
Josiah Bryan
765-215-0511
josiahbryan at gmail.com<mailto:josiahbryan at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120408/cda3bfe3/attachment.html>


More information about the Interest mailing list