Tom808
Posts: 4
Joined: Mon Mar 30, 2015 12:36 pm

gstreamer won't play wma

Mon Mar 30, 2015 1:00 pm

I have musicbox 0.5.3 installed on a pi 1 b. musicbox comes with mopidy 0.19.5 and gstreamer 0.10.

gstreamer0.10-ffmpeg with gstreamer0.10-plugins-good, gstreamer0.10-plugins-ugly, gstreamer0.10-plugins-bad, gstreamer0.10-plugins-base and libxvidcore4 is installed and on the newest version.

Checking the codecs works fine - looks like wma is installed:

Code: Select all

gst-inspect-0.10 |grep decode |grep wma
ffmpeg:  ffdec_wmapro: FFmpeg Windows Media Audio 9 Professional decoder
ffmpeg:  ffdec_wmav1: FFmpeg Windows Media Audio 1 decoder
ffmpeg:  ffdec_wmav2: FFmpeg Windows Media Audio 2 decoder
ffmpeg:  ffdec_wmavoice: FFmpeg Windows Media Audio Voice decoder
But trying to play a wma file results in an error message (gstreamer is missing a plug-in):

Code: Select all

root@MusicBox:/#  gst-launch-0.10 filesrc location=/tmp/b.wma ! decodebin ! alsasink
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Missing element: Windows Media Audio decoder
ERROR: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstASFDemux:asfdemux0: Internal data stream error.
I have also tried

Code: Select all

rm -f /home/mopidy/.gstreamer-0.10/registry.arm.bin
without any result.

Any hint on how to get wma working with gstreamer 0.10 would be very nice.

Thank you very much
Tom

rel4pi
Posts: 21
Joined: Fri Mar 25, 2016 4:14 pm

Re: gstreamer won't play wma

Wed Apr 20, 2016 12:33 am

I have the same problem with gstreamer 1.0 on my new RPi3 with Debian Jessie.
From what I gather gstreamer doesn't support wma without adding the additional codecs.

I did find a codec pack offered by Fluendo. See: http://www.phoronix.com/scan.php?page=a ... k_18&num=1

Then I found this site which says as of March 24, 2016 gstreamer 1.8 was released and is supposed to have
the wav codec installed. See: http://linux.softpedia.com/blog/gstream ... 2130.shtml

I've downloaded the source files and hope to get someone to help me through the install so my Clementine player can play my wma files from my music usb stick.

Hope this helps.... :geek:

Return to “Troubleshooting”