wildgoose wrote:
> I am trying to play a 24bit flac file on my squeezebox v1.
>
> When I stream regular 16bit 44.1k flac to my sb1 (which plays it
> perfectly fine), PiCorePlayer (htop) shows a flac decoding process, so
> likely the sb1 does not have native flac capability, so LMS decodes and
> sends it the PCM/wav file. When a 24bit flac is played, I only hear
> hiss. So the sb1 cannot handle 24bit PCM audio.
>
> I want to down sample all 24bit flac -> 16bit flac @ 44.1Khz.
>
> The custom-convert.conf I tried are
>
> >
Code:
--------------------
> >
> #flc pcm * [SB1-MAC]
> # # IFD:{RESAMPLE=-r %d}
> # [sox] -q -t flac $FILE$ -t wav -b 16 -r 44100 -
>
> flc pcm * [SB1-MAC]
> # IFT:{START=--skip=%t}U:{END=--until=%v}D:{RESAMPLE=-r %d}
> [flac] -dcs --totally-silent $START$ $END$ -- $FILE$ | [sox] -q -t wav
- -t wav -b 16 -r 44100 -
>
--------------------
> >
>
> Neither block works. I don't see 'sox' process being kicked off on the
> LMS server. Only the default flac decoding process being kicked off:
>
> /USR/LOCAL/SLIMSERVER/BIN/ARMHF-LINUX/FLAC -DCS --FORCE-RAW-FORMAT
> --ENDIAN=BIG --SIGN=SIGNED -- -
>
> Note this one does not have --totally-silent as I had above. So it is
> somehow still using the default settings in convert.conf.
>
> Yes I do see the new entry in Settings / Advanced / File Types, so the
> rule is being read.
>
>
>
> I did verify on the command line (on the PCP server) that the sox
> command does transcode the 24bit flac file to a 16/44.1 wav file. So
> in theory the sox and sox command alone should be enough. I don't need
> to have flac decode the stream as WAV to stdout, and pipe it to sox.
>
> But I also tried using both flac/sox, as above. Also didn't work.
>
> Just not sure why it did not do what the file says it need to do.
> Nothing interesting in LMS log either. How do I debug this further or
> enable more logging?
You should really attach here your full convert.conf and
custom-convert.conf. Then after that set "player.source" logging to
debug, it will be very verbose but will give us a good idea. I modified
a lot the transcoding rules in LMS 8+ and I probably have left issues.
LMS 8.1.x 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=114382
_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/discuss