Details
-
Task
-
Resolution: Fixed
-
Not Evaluated
-
6.5
-
None
-
-
3363496a7 (dev), a3bf450b2 (6.7), 4043d7ebc (6.6), 582bf926b (tqtc/lts-6.5), 10ba74ebc (dev), a25b5eafc (6.7), fd893ee8d (6.6), ca9a5fb53 (tqtc/lts-6.5), 1e3e0fac0 (dev), c6880ff17 (6.7), b6138a0f4 (6.6), bee1f5510 (tqtc/lts-6.5), d9a38a71b (dev)
-
Multimedia wk 15-16
Description
Enabling FFMPEG HW texture conversion with media player on Windows causes stuttering playback as demonstrated in QTBUG-113832, QTBUG-111543, QTBUG-111911, QTBUG-111459, and QTBUG-109213.
HW texture conversion was therefore disabled for the Windows platform in Fix stuttering video playback and AMD GPU crash on Windows (I12807994) · Gerrit Code Review (qt-project.org)
To reduce the CPU and GPU load during video playback we should still investigate how we can re-enable HW texture conversion during video playback.
We have discovered that during video playback with DirectX 11 backend, FFMPEG allocates a frame pool using a fixed size texture array to enable multi-threaded decoding. Unfortunately we have not found a good mechanism to synchronize reading frames from this pool. This means that frames may get overwritten before they are being displayed.
The task is to understand how we can prevent overwriting frames in the FFMPEG frame pool before they are displayed, and implement a fix for this. Once this works, we can revert the change in Fix stuttering video playback and AMD GPU crash on Windows (I12807994) · Gerrit Code Review (qt-project.org)
Attachments
Issue Links
- relates to
-
QTBUG-111911 Some videos has artifacts when playing in MediaPlayer.
- Closed
-
QTBUG-113832 6.5.1 Qt MM crashes when playing a simple mp4 on AMD cards
- Closed
-
QTBUG-109213 Video flickering when there is a ParticleSystem component or playing some animation at same time
- Closed
-
QTBUG-111459 Heavy jittering in video playback if animations are active
- Closed
-
QTBUG-111543 Heavy flickering with 60 fps videos
- Closed
-
QTBUG-111544 Video shows green strip at bottom
- Closed
-
QTBUG-111815 Bumpy rendering of D3D11 textures
- Closed
-
QTBUG-114778 Reg->6.3.2/Windows: QMediaPlayer shows green bar; status out of sync
- Closed
-
QTBUG-115637 AMD Memory leak during FFMPEG media playback on Windows
- Closed
- resulted in
-
QTBUG-124239 MediaPlayer QML cannot normally play wmv file
- Closed
-
QTBUG-123967 QML media player example project fails to play AV1 encoded videos.
- Closed
-
QTBUG-113627 D3D11 Removing Device on QVideoSink save frame
- Closed