[Interest] QVideoProbe Woes

Lopes Yoann Yoann.Lopes at digia.com
Fri Feb 7 19:15:52 CET 2014


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/302226d5/attachment.html>


More information about the Interest mailing list