[Interest] QVideoProbe Woes

Jason H scorp1us at yahoo.com
Fri Feb 7 23:07:14 CET 2014


Excellent.

I do find it confusing though, I expected the QML elements to be exports of the Q* classes, but this doesn't seem to be the case.

Anyway, I now have that fixed, and working. Thank you.



________________________________
 From: Lopes Yoann <Yoann.Lopes at digia.com>
To: Jason H <scorp1us at yahoo.com> 
Cc: Interests Qt <interest at qt-project.org> 
Sent: Friday, February 7, 2014 1:15 PM
Subject: Re: [Interest] QVideoProbe Woes
 




1. I'm trying to work with video here. you keep mentioning audio, but how does QVideoProbe work with audio-derived classes?

Even if it may sound strange, QDeclarativeAudio is not audio-specific... in fact it just wraps a QMediaPlayer, which can be used for audio or video.

2a. using a Video element I try the code you supplied player is null after the cast. 

The QML Video type is provided for convenience and combine a MediaPlayer with a VideoOutput. It doesn't have a 'mediaObject' property. 

2c. using (passing) a Camera element as sourceObj, what will happen?

It will also work.



Yoann Lopes
Senior Software Engineer - Digia, Qt
Visit us on: http://qt.digia.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140207/5080a6f6/attachment.html>


More information about the Interest mailing list