Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 9 of 9
  1. #1
    Junior Member
    Join Date
    Jan 2019
    Posts
    5

    32bit WAVE files Little endian do not play on LMS - any tips?

    Hello,

    sorry if i missed the answer here on the forum or the manual.

    Trying to playback 96k/32bit WAVE files (codec s32LE) from the Logitech media server on an Odroid with dietpi to either a raspberry pi 2 with a hifiberry or a allo "sparky" board with a piano 2.1 DAC with picoreplayer. Im getting a "Problem: file cant be played" popup and the whole album is skipped through.
    Files play fine on a computer.
    Flac 32bit files play fine
    In the Web interface i can see the files are loaded into the database with artist album and cover, the info reads out all the pcm data correct.
    What gives? This should work shouldn't it?

    To add to my confusion there are files that are listed as 96k 32bit WAVE that play fine; yet they are WAVE files with the codec "s24l".

    Maybe someone could point me the right direction please?

    Thanks for reading!

  2. #2
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    17,855
    It seems to imply that either
    1. LMS has not understood the file type (drill down on the the track in WebGUI to see what format LMS thinks the file is )
    2. LMS does no have any rule to convert the format suitable for a player (i.e. sox)

    Enable logging player.source to INFO to get a log of how LMS is trying to process the file.

  3. #3
    Junior Member
    Join Date
    Jan 2019
    Posts
    5
    thanks that was very helpful indeed.

    Have to catch up on my c3po transcoding now; i get converted flac files (sox wav-flc commands) out of my wavefiles when trying to initiate playback, and i seem to have some weirdness there ("unexpected end of stream"-stuff).

    allow me to fire some questions before doing my reading

    - LMS does not read/scan/import/playback PCM WAVE little endian 32bit floating point files (s32fl)?

    - a general PCM WAVE format question:
    VLC tells me my file is CODEC: PCM S24 LE (s24l), bits per sample: 32 -> i was thinking that S24LE means "signed, little endian, 24 bits", so how come the 32 bits?

    - LMS converts wave to flac for network traffic reasons, or does LMS know that my sparky board - allo Piano DAC isnt capable of handling the 32 bit wave?

  4. #4
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    17,855
    Quote Originally Posted by daFlow View Post
    thanks that was very helpful indeed.

    Have to catch up on my c3po transcoding now; i get converted flac files (sox wav-flc commands) out of my wavefiles when trying to initiate playback, and i seem to have some weirdness there ("unexpected end of stream"-stuff).
    "unexpected edn of stream" usually measn one part of the transcode is not working but since you are using c3po - it could be something else.

    C3Po does some weird/clever stuff and anybody using it should post on the c3po plugin thread to get authors attention. https://forums.slimdevices.com/showt...scoding-helper

    - LMS does not read/scan/import/playback PCM WAVE little endian 32bit floating point files (s32fl)?
    Pobably - floating point PCM is a very odd format. Are you sure it is a PCM file and not something like DXD ?
    - a general PCM WAVE format question:
    VLC tells me my file is CODEC: PCM S24 LE (s24l), bits per sample: 32 -> i was thinking that S24LE means "signed, little endian, 24 bits", so how come the 32 bits?
    A question for the VLC forums.

    - LMS converts wave to flac for network traffic reasons, or does LMS know that my sparky board - allo Piano DAC isnt capable of handling the 32 bit wave?
    LMS conversion to flac is usually for bandwidth but also it means more time can be buffered in player and so result in less chance of rebuffering.

    IIRC 32bit wav fixed point is handled. Floating point is unusual - I recall there have been a few time it shas comes rectnly and they seem to related to DXD and user conversion of DXD file confused LMS. (example https://forums.slimdevices.com/showt...l=1#post919370 )
    Last edited by bpa; 2019-01-08 at 02:14.

  5. #5
    Junior Member
    Join Date
    Jan 2019
    Posts
    5
    C3Po does some weird/clever stuff and anybody using it should post on the c3po plugin thread to get authors attention
    i started trying c3po after i found out via the log that my waves get converted to flac on playback (and that fails with stream thingy); and wanted to switch conversion off in c3po then. Cant send pcm wave to my players with that neither; i'll ask there then!

    Pobably - floating point PCM is a very odd format. Are you sure it is a PCM file and not something like DXD ?
    yes, those are my pro tools mixes, bounced as 96k32bit floating point, which is my only 32bit option in pro tools; but thanks for the thread there is a quick sox conversion fix for that.Cheers!

    thanks for your input; it seems to come down to LMS not being WAV-native?

    ....thinking about it, i'll try a different OS on the player. Maybe the dietpi squeezelite / ffmpeg is troublesome. Volumio has a squeezelite plugin and did play wave native if i recall correct.
    Last edited by daFlow; 2019-01-08 at 05:11.

  6. #6
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    17,855
    Quote Originally Posted by daFlow View Post
    thanks for your input; it seems to come down to LMS not being WAV-native?
    No - LMS can understand WAV just that some more recent additions (higher res, 32 bit setc may not be fully supported by players. If format is not natioveky supoprtred by a player then LMS has to convert but if no convert rules defined - LMS doesn;t know how to convert.

    ....thinking about it, i'll try a different OS on the player. Maybe the dietpi squeezelite / ffmpeg is troublesome. Volumio has a squeezelite plugin and did play wave native if i recall correct.
    WAV is package format not an audio encoding - supporting WAV does not means it supports all audio encoding within that packaging.

    Your first issue is to determine what formats does squeezelite say it natively supports (i.e. DAC capability is not enough but also audio subsystem reporting back to squeezelite). Enable squeezelite logging to find the formats.

  7. #7
    Junior Member
    Join Date
    Jan 2019
    Posts
    5
    will do.

    ..found out even cd rip's (44.1k16bits wave with cue sheet) get converted, so squeezelite seems to refuse wave at all. will fix that! thanks!

  8. #8
    Senior Member
    Join Date
    Oct 2005
    Location
    Ireland
    Posts
    17,855
    Quote Originally Posted by daFlow View Post
    will do.

    ..found out even cd rip's (44.1k16bits wave with cue sheet) get converted, so squeezelite seems to refuse wave at all. will fix that! thanks!
    cue sheets are a bit special but you should be able to send audio without conversion to Flac unless it has been disabled by the player (did you check the player capabilities ?) . Be careful when reading the player.source log - conversion only take place when you see a command line log with the various application such as flac and sox with full paths detailed. This can seem to be in the midst of other conversion attempts and so be confusing.

  9. #9
    Junior Member
    Join Date
    Jan 2019
    Posts
    5
    as a follow up: got it rollin by adding the squeezelite option "-W" (read actual wave headers, ignore format delivered by server) and switching off Wave conversion by LMS via C3PO helper. didnt crosscheck, but i think both is needed.

    thanks for your help mate!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •