| Summary: | Qt Multimedia backend cannot show embedded images | ||
|---|---|---|---|
| Product: | [Applications] Elisa | Reporter: | Jack Hill <jackhill3103> |
| Component: | general | Assignee: | Matthieu Gallien <matthieu_gallien> |
| Status: | RESOLVED UPSTREAM | ||
| Severity: | major | CC: | nate |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Jack Hill
2023-11-16 12:04:28 UTC
Also this has the effect of making the track appear unplayable in the playlist. I can play/pause/seek from the main controls, but the track in the playlist sidebar becomes unavailable Can confirm. I'm not very knowledgable about ffmpeg, but if I run `ffmpeg -hwaccels` I get ``` Hardware acceleration methods: vdpau cuda vaapi qsv drm vulkan ``` so clearly cuvid is not supported by my hardware. If I then try to run `ffmpeg -hwaccel cuvid -i track.mp3 "cover.jpg"` I get the two lines: ``` [mjpeg @ 0x55665d6f00c0] Hardware is lacking required capabilities [mjpeg @ 0x55665d6f00c0] Failed setup for format cuda: hwaccel initialisation returned error. ``` ffmpeg still extracts the cover image successfully though. So maybe Qt is somehow forcing ffmpeg to use cuvid and not letting it fall back to software? I'll look into making a minimally reproducible example tomorrow. But regardless we should see if we can make Elisa still handle the track if the embedded image extractor doesn't work. Here is the upstream bug report: https://bugreports.qt.io/browse/QTBUG-119361 Looks like this will probably be fixed in Qt 6.6.2 which'll be released on 17.01.2024, so before 24.02. I can't confirm the fix since I building Qt from source will probably take a very long time on my PC. |