FatPete wrote: 
> A-ha! Your comment has made me revisit convert.conf and I've finally
> remembered the real reason I needed custom-convert.conf a few years ago.
> I had to re-read my original posts and Philippe's comments from 2016 but
> it's finally clicked again.
> 
> So it turns out that LMS was always successfully downsampling a 24/96 or
> 24/192 file to 48000Hz, but the problem was that the resultant flac file
> was still 24 bit.
> 
> If you read Philippe's response to my question a few years back -
> https://forums.slimdevices.com/showthread.php?103728-Announce-UPnPBridge-integrate-UPnP-DLNA-players-with-LMS-(squeeze2upnp)&p=849692&viewfull=1#post849692
> - he said that his plugin could only truncate 24->16 bits on
> WAV/AIF/PCM, but not FLAC. Due to my downsampled LMS file still being
> FLAC, the plugin wasn't truncating this to 16 bit and Sonos wouldn't
> play it.
> 
> So the only reason I had to use custom-convert.conf was to convert the
> 24 bit flac to 16 bit, as uPnPBridge couldn't do it on FLAC files.
> 
> Here's the default LMS setting:
> 
> > 
Code:
--------------------
  >   > 
  > flc flc transcode *
  >     # FT:{START=--skip=%t}U:{END=--until=%v}D:{RESAMPLE=-r %d}
  >     [flac] -dcs $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t flac -C 0 
$RESAMPLE$ - 
  > 
--------------------
> > 
> 
> And here's the custom-convert setting I used to have (note the -b 16
> flag to truncate to 16 bit):
> 
> > 
Code:
--------------------
  >   > 
  > flc flc * bb:bb:40:ac:0d:2f
  >     # FT:{START=--skip=%t}U:{END=--until=%v}D:{RESAMPLE=-r %d}
  >     [flac] -dcs $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t flac -C 0 
*-b 16* $RESAMPLE$ -
  > 
--------------------
> > 
> 
> Final question now for Philippe... does this mean that uPnPBridge is
> now able to truncate flac files to 16 bit? If so, that explains why I
> needed to do it myself back in 2016, but not now.

Yes it does, as long as you do not use "thru" mode, you can set sample
size to a fixed value (8, 16, 24) and it will resize everything. Then it
will either leave it in pcm or re-encode to flac or mp3



LMS 7.7, 7.8 and 7.9 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBoxOne, XBMC, Foobar2000,
ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2, , Pi
B3, B2, Pi B+, 2xPi A+, Odroid-C1, Odroid-C2, Cubie2, Yamaha WX-010,
AppleTV 4, Airport Express, GGMM E5
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=103728

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to