Bug 459009

Summary: AV1 video preview does not work in Dolphin
Product: [Unmaintained] kdemultimedia Reporter: 80p3fy75dc
Component: ffmpegthumbsAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: REPORTED ---    
Severity: normal CC: asturm, luigi.toscano
Priority: NOR    
Version: 22.08.1   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: AV1 video sample

Description 80p3fy75dc 2022-09-11 18:42:18 UTC
Created attachment 151992 [details]
AV1 video sample

STEPS TO REPRODUCE
1. Download the attached sample AV1 video (or from source: https://dl8.webmfiles.org/BigBuckBunny-AV1.webm)
2. Run dolphin from a terminal
3. Select "BigBuckBunny-AV1.webm" and click on the play icon in the preview panel to start the preview

OBSERVED RESULT

The preview does not work (both video and audio) and the following is printed in the terminal:

QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::begin: Paint device returned engine == 0, type: 1
QPainter::begin: Paint device returned engine == 0, type: 1
(dolphin:20414): GStreamer-Video-CRITICAL **: gst_video_center_rect: assertion 'src->h != 0' failed


EXPECTED RESULT

The preview works (both video and audio)


SOFTWARE/OS VERSIONS
- Distro: Gentoo
- KDE Plasma Version:  5.25.5
- KDE Frameworks Version: 5.97.0
- Qt Version: 5.15.5
- Dolphin version: 22.08.1
- X11

ADDITIONAL INFORMATION

I don't have the issue with HEVC or x264 video files. I tried with multiple AV1 videos with different extensions (avi,mkv,mp4): same issue

Installed packages and versions:

- kde-apps/ffmpegthumbs:22.08.1
- kde-apps/kdesdk-thumbnailers:22.08.1
- kde-apps/thumbnailers:22.08.1
- kde-frameworks/kimageformats:5.97.0
- dev-qt/qtimageformats:5.15.5-r2
- media-libs/phonon-gstreamer:4.10.0

Relevant USE flags:

kde-frameworks/kfilemetadata epub ffmpeg
Comment 1 80p3fy75dc 2022-09-11 20:22:33 UTC
Installing media-plugins/gst-plugins-aom partially solved the issue. Now, previews work fine with mp4 and mkv files. However, with avi files, only the audio works, the image is stuck.
Comment 2 Christoph Cullmann 2024-09-22 19:04:25 UTC
kdemultimedia is no longer maintained.

If you have issues like you reported with current versions of our applications, please report the issue at the bugtracker of the application.
Comment 3 Luigi Toscano 2024-09-22 19:48:19 UTC
This is about ffmpegthumbs which is still maintained.