schup011 wrote:
> I understand that there are two ways how the conversion from MP3 stream
> to PCM for the HDMI Audio is done:
>
> 1) LMS decodes to PCM and sends to Squeezelite, that sends directly to
> HDMI
> 2) LMS sends MP3 to Squeezelite, Squeezelite decodes to PCM.
>
> Obviously in my case, neither of both ways is working. Both of them
> should, or am I wrong?
Almost. LMS has the source format and sample rate of a file, the target
player's maximum sample rate and its supported list of codecs, and an
optional time offset to start from. With these information, it scans the
conversion rules to try to find a perfect match or at least a match with
lowest "cost". The match can say: nothing to transcode, just send file
or it can say "invoke this external chain of programs to transform from
source format to that accepted format. Ultimately, the player has to
decode to PCM, but in LMS, the transcoding might never make PCM
"visible".
So to make sure I get that correctly: These 48kHz MP3 do not play at
all, right?
It seems that in your case the maximum sample rate reported by the
player is less than 48kHz and LMS does not find any transcoding rule,
which would be one of these
Code:
--------------------
# special case for smart bitrates on mp3 input
mp3 mp3 transcode *
# IFB:{BITRATE=--abr %B}D:{RESAMPLE=--resample %D}
[lame] --silent -q $QUALITY$ $BITRATE$ $RESAMPLE$ --mp3input $FILE$ -
flc flc transcode *
# IFT:{START=--skip=%t}U:{END=--until=%v}D:{RESAMPLE=-r %d}E:{NOSTART=I}
[flac] -dcs $START$ $END$ --force-raw-format --sign=signed
--endian=little -- $FILE$ | [sox] -q -t raw --encoding signed-integer -b
$SAMPLESIZE$ -r $SAMPLERATE$ -c $CHANNELS$ -L - -t flac $RESAMPLE$ -C 0 -
--------------------
So it fails
LMS 8.2 on Odroid-C4 - *SqueezeAMP!*, 5xRadio, 5xBoom, 2xDuet, 1xTouch,
1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW,
2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha
WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=114921
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix