Multimedia-tools Squeezelite, Missing libraries [Solved]

  • Hello there,

    I am trying to get squeezelite running on LibreElec trought mutimedia-tools AddOn versions 8.0.103
    It's working quite well : My LMS server correctly stream to squeezelite player except for some media like MP3 file

    here is log file of squeelite command line with debug mode on, some libraries are missing, especialy the one for mp3 files (libmpg123.so.0:) :
    [09:55:41.398278] stream_init:294 init stream
    [09:55:41.398580] stream_init:295 streambuf size: 2097152
    [09:55:41.400347] output_init_alsa:865 init output
    [09:55:41.400559] output_init_alsa:895 requested alsa_buffer: 40 alsa_period: 4 format: any mmap: 1
    [09:55:41.400711] output_init_common:347 outputbuf size: 3528000
    [09:55:41.400956] output_init_common:371 idle timeout: 0
    [09:55:41.404927] output_init_common:411 supported rates: 48000 44100 32000
    [09:55:41.406810] output_init_alsa:911 memory locked
    [09:55:41.407110] output_thread:664 open output device: hdmi:CARD=HDMI,DEV=0
    [09:55:41.407478] alsa_open:381 opening device at: 44100
    [09:55:41.407839] alsa_open:432 opened device hdmi:CARD=HDMI,DEV=0 using format: S16_LE sample rate: 44100 mmap: 1
    [09:55:41.407870] alsa_open:511 buffer: 40 period: 4 -> buffer size: 1792 period size: 448
    [09:55:41.409152] output_init_alsa:934 set output sched fifo rt: 45
    [09:55:41.419220] decode_init:130 init decode, include codecs: exclude codecs:
    [09:55:41.419572] register_dsd:625 using dsd to decode dsf,dff
    [09:55:41.431076] load_ff:660 loaded libavcodec.so.57 (57.48.101)
    [09:55:41.431236] load_ff:677 loaded libavformat.so.57 (57.41.100)
    [09:55:41.431336] load_ff:691 loaded libavutil.so.55 (55.28.100)
    [09:55:41.431518] register_ff:770 using ffmpeg to decode alc
    [09:55:41.431600] register_ff:754 using ffmpeg to decode wma,wmap,wmal
    [09:55:41.431739] load_faad:593 dlerror: libfaad.so.2: cannot open shared object file: No such file or directory
    [09:55:41.431846] load_vorbis:285 dlerror: libvorbisidec.so.1: cannot open shared object file: No such file or directory
    [09:55:41.431938] load_flac:240 dlerror: libFLAC.so.8: cannot open shared object file: No such file or directory
    [09:55:41.432013] register_pcm:414 using pcm to decode aif,pcm
    [09:55:41.432076] load_mad:365 dlerror: libmad.so.0: cannot open shared object file: No such file or directory
    [09:55:41.432183] load_mpg:222 dlerror: libmpg123.so.0: cannot open shared object file: No such file or directory
    [09:55:41.432411] discover_server:808 sending discovery
    [09:55:41.432964] discover_server:819 got response from: 192.168.0.218:3483
    [09:55:41.433015] slimproto:902 connecting to 192.168.0.218:3483
    [09:55:41.433222] slimproto:935 connected
    [09:55:41.433265] sendHELO:136 mac: 56:24:00:88:f1:7a
    [09:55:41.433274] sendHELO:138 cap: Model=squeezelite,AccuratePlayPoints=1,HasDigitalOut=1,HasPolarityInversion=1,Firmware=v1.8.4-785,ModelName=SqueezeLite,MaxSampleRate=48000,dsf,dff,alc,wma,wmap,wmal,aif,pcm

    How can I get missing files ?

    thank's for helping

  • Hello,

    Unfortunatly it is not working even with .104 version of squeezelite.
    Don't you think it could come from a problem of 32bit or 64bit link to the correct library ?

    I have exactly the same error message.
    I did acomplete remove and reinstall multimedia addon, nothing change.
    I did control the version it says .104

    Thanks

  • Hello there,

    I come back on the same problem always, Some shared libraries are missing, probably they should hav been carried with another module.

    I have check the missing files are note at all in the system.

    libfaad.so.2

    libvorbisidec.so.1

    libFLAC.so.8

    libmad.so.0:

    libmpg123.so.0

    Is there a way for me to compile them myself, or to find them somewhere and install it directly in /usr/lib ?

    Thank you

  • Hi,

    I seem to have the same problem using squeezelite.

    I am on LibreELEC 8.0.2 using Multimedia Tools 8.1.104, so my squeezelite version is v1.8.6-945 with build options: LINUX ALSA EVENTFD RESAMPLE FFMPEG VISEXPORT DSD

    When I start squeezelite via cli, I am able to playback pcm/wav files, but mp3 and flac do not play back.

    This is the log squeezelite produces on startup:

    Looking at the last line, the codecs I need seem not to be supported.

    Any help in getting mp3 and flac to work is appreciated.

  • Hi blutwurst,

    Have you have fix your issue since 3rd August ? Any news ?

    I have the same issue here with same version number.

    Thanks in advance for your help.

    Edited once, last by DucIsCool (October 24, 2017 at 1:16 PM).

  • thoradia that explains things - even though I thought Multimedia-Tools provide shared libs.

    I did not build squeezelite myself, but use the Multimedia Tools 8.1.104 addon. So ultimately they should be build using the static libs. I would look into building squeezelite myself, but OpenElec does not seem to provide a build chain. Do you have a pointer on how I can solve this (I have other linux systems I could use to build)? Or is there maybe another squeezelite addon?

    CvH which info is missing from my post (#10)?

    Edited once, last by blutwurst: Got confused: I am not using XSqueeze any more - only Multimedia tools (December 4, 2017 at 9:49 PM).