Missing decoder of gstreamer when trying to play m4a files

Questions about Wine on Linux
Locked
KiraSparkle
Newbie
Newbie
Posts: 2
Joined: Tue Aug 08, 2023 8:56 am

Missing decoder of gstreamer when trying to play m4a files

Post by KiraSparkle »

Hello together!
I recently set up a fresh Linux Mint 21.2 installation on my computer, it's running on kernel 5.15 and 64-bit. The following problem occurs in fresh 32-bit and 64-bit WINE prefixes.
As I did on my old computer, I'm running the music application MusicBee as a portable application with WINE. It reads my library and plays back flac or even mp3 files just fine. However, playing m4a/aac files from iTunes does not work and I get the following error in the terminal:

Code: Select all

winegstreamer error: decodebin1: ../gst/playback/gstdecodebin2.c(4701): gst_decode_bin_expose (): /GstBin:bin1/GstDecodeBin:decodebin1:
no suitable plugins found:
Missing decoder: MPEG-4 AAC (audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)2, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)1210, rate=(int)44100, channels=(int)2)
For some reason, the MPEG-4 decoder of gstreamer is missing, even though I checked "install third-party multimedia codecs" while installing the system. I found on various web platforms solutions, I should install gstreamer1.0-plugin-bad/ugly in 64- and 32-bit. Both versions were already installed and I can play the files flawlessly in Celluloid. Someone mentioned to install vlc, but it's already installed as well, it doesn't make a difference. In the end, I went to "trial and error" and removed or re-installed gstreamer-plugin packages, without any success.

So, I'm not sure why this never was a problem on my old Mint system (I did a fresh installation of 21.2 there too), but now is. The main difference would be the CPU (intel i7 6700 then, AMD Ryzen 7 7700X now) and therefore the mainboard and socket.

Please let me know if you need any more information. 🙏
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Missing decoder of gstreamer when trying to play m4a files

Post by jkfloris »

You will probably need the gstreamer1.0-libav packages.

Code: Select all

sudo apt install gstreamer1.0-libav:i386 gstreamer1.0-libav
KiraSparkle
Newbie
Newbie
Posts: 2
Joined: Tue Aug 08, 2023 8:56 am

Re: Missing decoder of gstreamer when trying to play m4a files

Post by KiraSparkle »

Thank you for the reply!

It must have been the i386 package that I missed trying out. The first time I tried to play an m4a file, the application simply crashed with a segmentation fault. I restarted it and now it works, thank you very much! This issue is solved! <3
Locked