You are not logged in.

#1 2024-02-25 13:09:22

spicefire
Member
Registered: 2023-10-09
Posts: 3

No sound in motivewave - MediaException: Could not create player!

Hello,

I am trying to get the sound working for the motivewave 6.8.8-1 package that runs with javafx. When I try to play a wav file that is included in the software package I get the following error:

Exception in thread "Thread-88" com.sun.media.jfxmedia.MediaException: Could not create player!
        at javafx.media@21.0.2/com.sun.media.jfxmediaimpl.NativeMediaManager.getPlayer(NativeMediaManager.java:299)
        at javafx.media@21.0.2/com.sun.media.jfxmedia.MediaManager.getPlayer(MediaManager.java:118)
        at javafx.media@21.0.2/com.sun.media.jfxmediaimpl.NativeMediaAudioClipPlayer.play(NativeMediaAudioClipPlayer.java:319)
        at javafx.media@21.0.2/com.sun.media.jfxmediaimpl.NativeMediaAudioClipPlayer.clipScheduler(NativeMediaAudioClipPlayer.java:112)
        at javafx.media@21.0.2/com.sun.media.jfxmediaimpl.NativeMediaAudioClipPlayer$Enthreaderator.lambda$static$0(NativeMediaAudioClipPlayer.java:85)
        at java.base/java.lang.Thread.run(Thread.java:1583)

I have tried to implement the solution posted in the arch wiki (JavaFX's MediaPlayer constructor throws an exception) by installing ffmpeg-compat-57 and alternatively by installing ffmpeg3.4 but it didn't change anything.

Sysinfo

Operating System: Arch Linux 
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.12
Kernel Version: 6.7.6-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 16 × AMD Ryzen 7 1700X Eight-Core Processor
Memory: 31.3 GiB of RAM
Graphics Processor: AMD Radeon RX 580 Series

I hope someone can help me.

Best spice

Offline

Board footer

Powered by FluxBB