Problem with playing sound via ffmpeg backend
-
Hello,
I have a problem playing sound on Arch linux under Plasma 6.5.3I would like to add a sound to accompany an animation in the libreoffice impress and having problems.
When I select the sound from the animation effect it plays just fine when select the play button in the menu.
However, when I start the presentation, there is no sound coming out.
I get this error from the console.qt.multimedia.ffmpeg.mediadataholder: Could not open media. FFmpeg error description: Immediate exit requested.Strangely, when I insert the same sound as a standalone Audio/Video into the presentation it plays fine.
Also when I play the sound directly from the command line it plays find. I use this command:
ffplay /usr/lib/libreoffice/share/gallery/sounds/nature1.wavWhy is this happening?
I don't know enough about linux to investigate further.
-
Hi and welcome to devnet,
Which version of Qt does libreoffice use on your machine ?
One other thing you can do is enable logging for all QtMultimedia. That might give you some additional clue about what is happening. -
Hello SGaist,
I think it uses qt6. How do I find out?
Also, how do I enable logging for QtMultimedia?
Interestingly, when start libreoffice with this environmental variable to set backend for gstreamer, the sound is working
QT_MEDIA_BACKEND=gstreamer libreoffice --impressI found it in another post with similar problem which apparently was fixed by the last QT update
link text -
You can run ldd on your libreoffice binary to see which libraries are linked.
To enable logging categories, you have the different options describe in the documentation.