VLC, dragonplayer, gwenview not playing certain videos, raising error

Fedora 40, KDE Plasma 6

Installed vlc via Discover, also tried sudo dnf install vlc, and also tried adding rpmfusion then doing sudo dnf install vlc, but same happened on all.

Some video files play fine (H264 - MPEG-4 AVC) with both video and audio working.
Others, also (H264 - MPEG-4 AVC), don’t play video, but play audio. There is error message

main decoder error: buffer deadlock prevented

when the video doesn’t play. The media shown in the window when the video doesn’t play is the old media, not scaled to the new window. The window changes size to the new file’s video size, but it isn’t shown.

Also, the following is always given no matter whether the video works or not, and also for plain audio files.

uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: menu

I tried setting hardware-accelerated decoding to automatic, enabled, and disabled, but there is no difference.

On dragonplayer, I get the same

main decoder error: buffer deadlock prevented

on the files that don’t work with VLC.

Also doesn’t work in gwenview.

In Firefox, all the files work, showing both video and audio correctly.

Added video

I have a similar problem:
$ vlc Conv30-Chapter01-Lesson01-Подготовка\ к\ интеграции\ с\ БСП.mp4
VLC media player 3.0.21 Vetinari (revision 3.0.21-0-gdd8bfdbabe8)
[0000558b3e3b9520] main libvlc: Запуск vlc с интерфейсом по умолчанию. Используйте ‘cvlc’ для запуска vlc без
интерфейса.
[00007f7820c0ede0] main decoder error: buffer deadlock prevented
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: men
u
uint DBusMenuExporterDBus::GetLayout(int, int, const QStringList&, DBusMenuLayoutItem&): Condition failed: men
u

Is there a solution to this issue?

Fedora ffmpeg can’t handle x264 and x265 codecs, you need rpmfusion ffmpeg to play them.

https://rpmfusion.org/Howto/Multimedia

1 Like

Oh, thank you very much, kind person! Everything worked!