Skip to main content
Associate II
December 19, 2024
Question

Could not load multimedia backend "ffmpeg"

  • December 19, 2024
  • 1 reply
  • 1124 views

Hello everybody,

i use "meta-st-x-linux-qt"  with "meta-qt6" on STM32MP157

https://github.com/STMicroelectronics/meta-st-x-linux-qt

when I use "QMediaPlayer" to play an audio file it gives me the following error:

 

could not load multimedia backend "ffmpeg"
QtMultimedia is not currently supported on this platform or compiler.
Aborted (core dumped)

 

if I understand correctly, "ffmpeg" would be missing on my platform, how can I add it to yocto when generating it?

Thank you very much

Loupi

1 reply

PPAGE.13
ST Employee
January 27, 2025

Hi,

have you used the "v2.0.0" branch of X-LINUX-QT meta layer?

Normally Qt6 Multimedia should be compiled as well, you can check if libQt6Multimedia.so is in usr/lib.

BR,

Philippe.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.