QML Video plays mp4 video flipped (upside down) on Qt5.2 Mac OS
-
I've built example 'qmlvideo' on Qt 5.2 on Mac OS X 10.8. In this example video plays in QML Video item. File in MP4 container (H264/AAC). And it plays flipped (upside down), not rotated on 180.
Built 'video' example (on QtWidgets, plays in QVideoWidget). And this example plays video normally.
Also, I've built qmlvideo on Qt 5.1.1. In this case same mp4 file plays normally too.
Does anyone know about this problem? Is it a bug of Qt 5.2 or something else? -
Hi,
I have the same problem with Qt5.1.1, on Windows 7 64, with an .avi video. Not what I would expect :).
-
Seeing exactly the same thing on my own app on Mac. Is there a ticket raised?
@
import QtQuick 2.0
import QtMultimedia 5.0Rectangle {
width: 360
height: 360MediaPlayer { id: mediaplayer source: "/abs/path/movie.mp4" autoPlay: true autoLoad: true } VideoOutput { x: 0 y: 0 width: 360 height: 360 source: mediaplayer }
}
@ -
Built 5.2.1 from git. Same problem.
!http://www.parygin.com/qt5-video.png(Example of flipped video)! -
Hi,
The best way to check if it's a known problem is to look at the "bug report system":http://bugreports.qt-project.org
Providing a simple compilable example would really be a plus
-
As I told before, I've used examples from Qt. You can find code there.
And, I've posted about this problem on bug tracker yesterday.
This screenshot is more descriptive:
!http://www.parygin.com/qt5-bug.png(Flipped video)!
Top window uses QWidget and bottom uses QML. -
Hi,
I have the same problem here :(
On QML player (from Qt examples) the video is flipped but on normal player out of QML the video works.
Can anyone help?
-
I still see this happening on Qt5.3.
@
import QtQuick 2.0
import QtMultimedia 5.0Rectangle {
width: 800
height: 600
Video{
id: player
width: parent.width
height: parent.height
source: "test.mpg"
}
MouseArea{
anchors.fill: parent
onClicked: {
if (player.playbackState==MediaPlayer.PlayingState){
player.stop()
console.log("STOP")
}else{
player.play()
console.log("PLAY")
}
}
}
}
@Running on OSX 10.9 - Qt 5.3