Bug 510256 - Latest version of Kdenlive cannot decode most video files
Summary: Latest version of Kdenlive cannot decode most video files
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Monitors & Playback (other bugs)
Version First Reported In: 25.08.1
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
: 510268 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-10-05 09:03 UTC by once.upon.a.song
Modified: 2025-10-07 08:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description once.upon.a.song 2025-10-05 09:03:02 UTC
SUMMARY

Hi.

The latest version of Kdenlive (25.08.1, flatpak) cannot decode most h.264 and VP9 files on my system (Fedora Sliverblue 42).

When the clip is shown in the clip monitor, the audio playback functions correctly, but the video just shows a "transparency checkerboard" and shows these errors when launched via commandline:

h.264 file:
[libopenh264 @ 0x563bfdfa1300] [OpenH264] this = 0x0x563c011db500, Error:DecodeCurrentAccessUnit()::::::PrefetchPic ERROR, pSps->iNumRefFrames:4.
[libopenh264 @ 0x563bfdfa1300] DecodeFrame failed

VP9 file:
[opus @ 0x7f227c036e40] Could not update timestamps for discarded samples.
[opus @ 0x7f227c034840] Error parsing Opus packet header.

If the clip is placed on the timeline and the playhead is over it, the project monitor shows a black screen.

Downgrading via the command below fixes the issue (Kdenlive still says it's at version 25.08.1 in the about menu for some reason?)
'run0 flatpak update --commit=9f28077f3e213194be22abf099c44bd21d1c8f57c3b296ba8583690a333dd629 org.kde.kdenlive'


STEPS TO REPRODUCE
1. Drop an mp4 in the project bin
2. Click on it

OBSERVED RESULT
The clip monitor can play audio, but shows a "transparency checkerboard" instead of the video.

EXPECTED RESULT
The clip monitor can play the video correctly.

SOFTWARE/OS VERSIONS
Linux: Fedora Silverblue 42.20251005.0
Kdenlive: 25.08.1 (flatpak)
CPU: AMD Ryzen™ 5 9600X × 12
GPU: AMD Radeon™ RX 7600
Comment 1 Jean-Baptiste Mardelle 2025-10-06 10:35:52 UTC
*** Bug 510268 has been marked as a duplicate of this bug. ***
Comment 2 Jean-Baptiste Mardelle 2025-10-06 10:40:30 UTC
An unexpected FFmpeg update (to version 8) was pushed to our Flatpak recipe, causing the problems. We have now reverted that change and it should work correctly now
Comment 3 julianheuser 2025-10-06 21:46:31 UTC
Can confirm that the most recent flatpak version doesn't have this issue. Thanks!