[Qt-qml] Playing video with QML QtMobility (= referring to an older message from sept 10, 2010)
Raymond de Vries
reedev at xs4all.nl
Fri Oct 8 11:50:20 CEST 2010
Hi,
> There is a multiple troubles :
> - one solve today : Qtmobility build debug multimedia qml package with
> no d suffix... the fix seems in git, but you can also configure
> mobility with -debug only to avoid troubles
I only created the release version with -release. Then I can use the
example below without error messages.
> - The second problem is when you use windows : you need to trash
> qtmedia_wmp.dll because it's load instead of directshow plugin, and
> this plugin don't works with qgraphicsitem, and .. qml ... To have
> video with the sound and not just sound ... I remove qtmedia_wmp.dll
> and it works :)
You mean to remove it from the installation directory (I am indeed on
Windows 7)? When I do that I get the same result: audio is heard, video
is not displayed. Could anything else be wrong? How can I debug it more?
thanks for your help!
Raymond
>
>
> 2010/10/7 Raymond de Vries <reedev at xs4all.nl <mailto:reedev at xs4all.nl>>
>
> Hi,
>
> Since I don't know how to respond to a thread that was running
> before I
> joined the list, I will refer to this message:
> http://lists.trolltech.com/pipermail/qt-qml/2010-September/001108.html
>
> I don't see a reply to your suggestion, Henrik. So I don't know if
> that
> worked for the anonymous person who asked you the question....
>
> I followed your advice and the qml in that message is not
> displaying the
> video for me. It does play the sound that comes with it.
>
> This is the test:
>
> import Qt 4.7
> import Qt.multimedia 1.1
>
> Rectangle {
> width: 200
> height: 200
> Video {
> id: video
> anchors.fill: parent
> source: Qt.resolvedUrl("C:/TestFolder//test.wmv")
> Component.onCompleted : video.play();
> }
>
> }
>
> So as I said, I can load the video without error message in Creator
> (release build only). However, the sound is played but the video
> is not.
> Do you have another suggestion to resolve this?
>
> Thanks a lot
> Raymond
>
> _______________________________________________
> Qt-qml mailing list
> Qt-qml at trolltech.com <mailto:Qt-qml at trolltech.com>
> http://lists.trolltech.com/mailman/listinfo/qt-qml
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt.nokia.com/pipermail/qt-qml/attachments/20101008/ac5411bd/attachment.html
More information about the Qt-qml
mailing list