Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.10.0, 5.12.6
-
None
-
Yocto: Thud
Meta-TI layer: ti2019.01
Kernel: 4.19.73
OMAP4+ device (ARMv7, DRA72X)
QPA: EGLFS
-
-
19f6faf671438dc9c5165733a1b060fe2dfe1956 (qt/qtmultimedia/5.14)
Description
With the following sample QML application a green box around the video is displayed and you can see some artifacts on the right and left border of the video. (see Screenshot.png)
import QtQuick 2.0 import QtMultimedia 5.12 Rectangle { id: root property bool running: false property string fname: "/home/root/big_buck_bunny_720x480_H264_AAC_25fps.mkv" color: "blue" Rectangle { width: 800 height: 600 anchors.top: parent.top anchors.left: parent.left color: "red" Video { id: video anchors.fill: parent source: "gst-pipeline: playbin uri=file://" + root.fname MouseArea { anchors.fill: parent onClicked: { if (!root.running) { video.play() root.running = true } else { video.pause() root.running = false } } } } } }
I also attached the GStreamer pipeline graph. The file is a mkv container with a H264 codec video inside:
Topology: container: Matroska audio: MPEG-4 AAC video: H.264 (Main Profile) Properties: Duration: 0:01:15.070000000 Seekable: yes Tags: title: big_buck_bunny_480p_surround-fix.avi_002.AVI.MP4 container format: Matroska album artist: created with SUPER(C).v2011.bld.49 comment: 10:51:04 extended comment: CREATION_TIME=2011-08-04 02:50:53 encoder: Lavf54.63.104 audio codec: MPEG-4 AAC audio language code: und video codec: H264
The correct result should be that the video covers the whole red area without any green parts around the video and no artifacts at the right and left border.
Note: Using the playbin and the kmssink with gst-launch comandline tool the video playback is ok.