Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.7.2
-
AMD Ryzen 5 7600 6-Core Processor, GPU comes with the CPU
Gentoo GNU/Linux, ffmpeg 4.4.4-r11
-
-
92a90b20f43e8de9c5e1975ab7efecb6f286f49f
-
Multimedia wk 43-44, Multimedia wk 47-48, Multimedia wk 49-50, Multimedia wk 51-2
Description
With the following code:
import QtQuick 2.15
import QtQuick.Controls 2.15
import QtQuick.Layouts 1.15
import QtMultimedia
import org.kde.kirigami 2.13 as Kirigami
Kirigami.ApplicationWindow {
id: root
title: i18n("kirigamitest6")
pageStack.initialPage: page
Kirigami.ScrollablePage {
id: page
title: i18n("Main Page")
ListView {
model: 100
delegate: ColumnLayout {
id: listItem
required property int index
Label {
text: `test ${listItem.index}`
}
Video {
source: `file:///home/test/testvideos/${listItem.index % 10}.webm`
Component.onCompleted: console.log('video loaded:', source, autoPlay, playbackState, errorString);
autoPlay: true
loops: MediaPlayer.Infinite
Layout.preferredWidth: Kirigami.Units.gridUnit * 5
Layout.preferredHeight: Kirigami.Units.gridUnit * 5
TapHandler {
onSingleTapped:
}
}
}
}
}
}
Put 10 identical webm files as /home/test/testvideos/{0..9}.webm . Run this, and drag the scroll bar quickly and repeatedly. It crashes with the error and backtrace attached below.
Attachments
Issue Links
- relates to
-
QTBUG-109039 Can't save QVideoFrame as an image from QML App
-
- Reported
-
For Gerrit Dashboard: QTBUG-129994 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
606907,40 | Implement mapping of any objects to qrhi | dev | qt/qtmultimedia | Status: NEW | 0 | -1 |
606453,4 | FFmpeg/VAAPI: Call glDeleteTextures from QSGRenderThread only | dev | qt/qtmultimedia | Status: ABANDONED | 0 | 0 |
609295,5 | Implement RhiObjectMapper | dev | qt/qtmultimedia | Status: ABANDONED | 0 | 0 |
609299,8 | Add HwFrameContextData to frames context | dev | qt/qtmultimedia | Status: ABANDONED | 0 | 0 |
609304,10 | Delegate managing to FFmpeg buffer textures to rhi object mapper | dev | qt/qtmultimedia | Status: ABANDONED | 0 | 0 |
609305,8 | Set DeletionPolicy::DeleteInRhiThread to vaapi textures | dev | qt/qtmultimedia | Status: ABANDONED | 0 | 0 |
609336,11 | Add texture converter to rhi objects mapper | dev | qt/qtmultimedia | Status: ABANDONED | 0 | 0 |
609356,9 | Get rid of the dynamic cast to QFFmpegVideoBuffer | dev | qt/qtmultimedia | Status: ABANDONED | 0 | 0 |
609358,13 | Implement getting proper cached rhi pointer by video buffer | dev | qt/qtmultimedia | Status: ABANDONED | 0 | 0 |
609393,17 | Simplify TextureConverter | dev | qt/qtmultimedia | Status: ABANDONED | 0 | 0 |
609407,16 | WIP: Improve logic of creating texture converter | dev | qt/qtmultimedia | Status: ABANDONED | -2 | -1 |