import QtQuick import QtMultimedia import QtQuick.Controls Window { width: 640 height: 480 visible: true title: qsTr("QTBUG-111459") Item{ anchors.fill: parent focus: true MediaPlayer{ id: mp source: "file://C:/Users/iod/Downloads/Interstellar-TLR_1b-5.1ch-4K-HDTN.mp4" videoOutput: vo0 //playbackRate: 1 onMediaStatusChanged: { if(mediaStatus == MediaPlayer.EndOfMedia) play() } Component.onCompleted: play() } VideoOutput{ id: vo0 anchors.fill: parent } Rectangle{ id: dummy anchors.right: parent.right width: 50; height: 50 color: "red" RotationAnimation{ id: rotAt running: true target: dummy properties: "rotation" from: 0; to: 360 loops: Animation.Infinite } } Row{ spacing: 10 anchors.bottom: parent.bottom anchors.horizontalCenter: parent.horizontalCenter Button{ text: "Animate" checkable: true checked: true onCheckedChanged: { if(rotAt.running) rotAt.stop() else rotAt.start() } } Slider{ id: slider from: 1 to: 2 value: mp.playbackRate onValueChanged: mp.playbackRate = value } Text{ text: mp.playbackRate } } } }