Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: Saburouta on 13 August 2022, 01:25:14

Title: Missing Gstreamer WMA plugin
Post by: Saburouta on 13 August 2022, 01:25:14
Does anyone know which package is required for Gstreamer to decode WMA? I'm getting an error in Wine, where Skyrim has audio issues (that aren't resolved by Xact).

Code: [Select]
0:00:07.434373674 17993 0x7f050c2b3f80 ERROR                   WINE wg_transform.c:549:wg_transform_create: Failed to create winegstreamer transform.
0234:err:winediag:wma_decoder_create GStreamer doesn't support WMA decoding, please install appropriate plugins

Gstreamer packages (I tried rebuilding everything from the AUR, today):
Code: [Select]
local/gst-plugin-msdk 1.20.3-1
local/gst-plugin-opencv 1.20.3-1
local/gst-plugin-va 1.20.3-1
local/gst-plugin-wpe 1.20.3-1
local/gst-plugins-bad 1.20.3-1
local/gst-plugins-bad-libs 1.20.3-1
local/gst-plugins-base-git 1.19.2.r0.gce937bcb2-1
local/gst-plugins-good-git 1.19.2.r0.g20bbeb5e3-1
local/gst-plugins-ugly 1.20.3-1
local/gstreamer-git 1.20.0.r1416.g7c842d92479-1
local/gstreamer-vaapi 1.20.3-1
local/gstreamer0.10 0.10.36-20
local/gstreamer0.10-bad 0.10.23-38
local/gstreamer0.10-bad-plugins 0.10.23-38 (gstreamer0.10-plugins)
local/gstreamer0.10-base 0.10.36-13
local/gstreamer0.10-base-plugins 0.10.36-13 (gstreamer0.10-plugins)
local/lib32-gst-plugins-base-libs 1.20.3-1
local/lib32-gst-plugins-good 1.20.3-1
local/lib32-gstreamer 1.20.3-1
local/phonon-qt4-gstreamer 4.9.0-2
local/phonon-qt5-gstreamer 4.10.0-3
local/qt-gstreamer 1.2.0-4
edit: I had to pacman -Qs for `gstreamer` *and* `gst` to get the full list.
Title: Re: Missing Gstreamer WMA plugin
Post by: SGOrava on 13 August 2022, 09:18:20
Maybe gst-libav is it is not already part of the main package?
Title: Re: Missing Gstreamer WMA plugin
Post by: lotuskip on 13 August 2022, 09:23:05
I don't see gst-plugins-ugly in the list. And a quick search suggest this is exactly what's needed for wma:
https://gstreamer-devel.narkive.com/ldUchwy9/how-to-play-wma-audio-by-gstreamer
Title: Re: Missing Gstreamer WMA plugin
Post by: Saburouta on 13 August 2022, 19:25:15
@SGOrava gst-libav is deprecated and it's gitlab says its in gstreamer-git, which I built yesterday.

@lotuskip I had more packages than I thought, including that one. But I don't know what `gstreamer0.10` is, or why that exists. I don't have the `ugly` lib in *that* one, I can try looking for that...
Title: Re: Missing Gstreamer WMA plugin
Post by: cat herders of linux on 14 August 2022, 00:44:15
wma needs specific player on linux.  last i responded to a thread about it there was one, maybe two players that could handle wma files.  google it.

https://www.linuxquestions.org/questions/linux-newbie-8/playing-windows-media-player-files-wma-in-linux-335549/
Title: Re: Missing Gstreamer WMA plugin
Post by: Saburouta on 14 August 2022, 05:04:35
Sigh. I have every `-ugly-` package in the entire AUR. Gstreamer, gst, gstreamer0.10...

I also replaced `winetricks xact` with `winetricks xact_64`.

STILL no voices in Skyrim. I've never had this much of a problem with it before. I even have enb working! It's maddening that something as simple as playing the voice audio doesn't work.
Title: Re: Missing Gstreamer WMA plugin
Post by: lq on 14 August 2022, 08:41:57
Lol, nobody sees it?
I am pretty sure that a mixture of packages 1.20 and 0.10 will not work!
Why the questioner builds the whole gstreamer stuff from the AUR although the 64-bit packages are in the artix repos will probably remain his secret.  :o

https://wiki.archlinux.org/title/GStreamer#Installation
Title: Re: Missing Gstreamer WMA plugin
Post by: tintin on 14 August 2022, 09:05:05
Here is what I personally have:
Code: [Select]
pacman -Qs | grep gst
local/gst-editing-services 1.20.3-1
local/gst-libav 1.20.3-1
local/gst-plugin-gtk 1.20.3-1
local/gst-plugins-bad 1.20.3-1
local/gst-plugins-bad-libs 1.20.3-1
local/gst-plugins-base 1.20.3-1
local/gst-plugins-base-libs 1.20.3-1
local/gst-plugins-good 1.20.3-1
local/gst-python 1.20.3-1
local/gstreamer 1.20.3-1
local/phonon-qt5-gstreamer 4.10.0-3

To play my videos offline, I basically use smplayer
Code: [Select]
pacman -Si smplayer
Dépôt                    : community
Nom                      : smplayer
Version                  : 22.7.0-1
Description              : Media player with built-in codecs that can play
                           virtually all video and audio formats
Architecture             : x86_64
URL                      : https://www.smplayer.info/
Licences                 : GPL
Title: Re: Missing Gstreamer WMA plugin
Post by: SGOrava on 14 August 2022, 09:45:51
since it is for wine, do you have the 64bit or 32bit prefix?
if 32bit you also need lib32 variant of these packages.
The Wine arch wiki makes an example of skrim that it needs lib32 openal.....
Title: Re: Missing Gstreamer WMA plugin
Post by: Saburouta on 14 August 2022, 11:50:06
I tried removing all gstreamer0.10 packages, but now there is no sound at all. It's a 64bit prefix, and I have both OpenAL packages.

Tomorrow I might try rebuilding wine with only this one set of packages installed, or only the other. A problem would be that, I think that the `gst` packages are needed by other things and can't be removed. So it's either both `gstreamer0.10` and `gst`, or just `gst`, I think.

I guess I'll re-read more of the Arch Wiki, as well.

Interestingly, when there is no sound at all, I don't get any error messages about gstreamer being unable to decode WMA files. Hilarious.
Title: Re: Missing Gstreamer WMA plugin
Post by: Saburouta on 14 August 2022, 20:51:01
Solved! After removing all the gstreamer0.10 packages, I rebuilt wine, and re-created the wine prefix.

All the sound is now playing! Hooray! I don't even need the xact overrides anymore. Nice.