Tiny Core Base > Raspberry Pi

No decoder available for audio/mpeg or audio/x-wma when played with GStreamer

(1/3) > >>

duncanmead:
Hi. I have spent many days trying to get Mopidy working on tinycore on a Raspberry pi Zero. After many attempts, I am very nearly there - I can play .flac files through Mopidy (which uses GStreamer1.0) on the Pirate audio board, and control this with mpc. However, I cannot play mp3 or wma files. The error message states that it does not have a decoder. I have loaded the main plugins:
gst-plugins-bad, good and ugly, and also tried libav, libavfilter, and libavutil (and many others). tce-status shows many extensions loaded, including alsa, alsa-modules-4.19.81-piCore, alsa-utils, flac, gst-libav, gst-plugins-bad, gst-plugins-base, gst-plugins-gir, gst-plugins-good, gst-plugins-ugly, gstreamer, gstreamer-gir, lame, libasound, libavcodec, libavfilter, libmpeg2, mpg123, pulseaudio, wavpack.
I feel that I must be very close to completing this, but I seem to be stuck at the last post. Any help would be much appreciated. I will post all the steps that I took if I complete this, should it be of any help to any other poor souls trying the same thing. I am using tinycore 11.x on armv6. Linux version 4.19.83-piCore. Thanks.

duncanmead:
Further information: The command mopidy deps shows:

GStreamer: 1.16.2.0 from /usr/local/lib/python3.8/site-packages/gi
  Detailed information:
    Python wrapper: python-gi 3.36.0
    Relevant elements:
      Found:
        uridecodebin
        souphttpsrc
        appsrc
        alsasink
        osssink
        oss4sink
        id3demux
        id3v2mux
        lamemp3enc
        mpegaudioparse
        vorbisdec
        vorbisenc
        vorbisparse
        oggdemux
        oggmux
        oggparse
        flacdec
        flacparse
      Not found:
        pulsesink
        flump3dec
        mad
        mpg123audiodec
        shout2send

Juanito:
If you add plugins after the first time an app accesses gstreamer, you need to force it to rescan for plugins by deleting the cache:
--- Code: ---$ rm ~/.cache/gstreamer-1.0/*.bin
--- End code ---

This being said, I don't see that gst-plugins-good was compiled against mpg123 or that gst-plugins-ugly was compiled against libmad - I'm not sure if the libmpeg2 plugin will play mp3 or not.

The gst-libav extension should play mp3 and wma files.

vinceASPECT:
right,

sorry but i don't fully understand your goal......is the goal to play various types of audio file on pi zero?

i believe mpg123 works on pi zero.

thx

v

duncanmead:
Juanito - Thanks. I have cleared the cache, and re-started Mopidy. This shows some warnings for missing plugins, but nothing significant. However, the mp3 files still will not play. gst-libav is loaded, along with the other gst-plugins.

vinceASPECT - I am trying to use the Pirate Audio board on a pi Zero to play music in the car. This works on Raspbian, but I would like to use tinycore for speed, and to tolerate the power being disconnected when the engine is turned off. The Mopidy python modules control the buttons on the board, and display the title and artist on the screen, so I would have to work out how to do that if I chose a different player.

Duncan

Navigation

[0] Message Index

[#] Next page

Go to full version