bpa wrote: 
> There are tow instances of playing a track.
> 
> The first transcodes into MP3 using lame.
> > 
Code:
--------------------
  >   > 
  > [18-06-25 17:23:54.6388] 
Slim::Player::TranscodingHelper::tokenizeConvertCommand2 (617) Using command 
for conversion: "/usr/share/squeezeboxserver/Bin/x86_64-linux/faad" -q -w -f 1 
"/storage/Media/philsmusic/Bruce Springsteen/1975.12.30 The Ed Sciaky Archives 
- Philadelphia 75 (The Tower Theater, Philadephia PA)/01 - Night.m4a" | 
"/usr/local/bin/lame" --silent -q 9 --abr 320 - - & |
  > 
--------------------
> > 
> Since you are explcltly interested in 24 bit - this is a setup I
> expect you want to avoid but I think it will deliver an audible
> stream.
> 
> 
> The second transcode into raw PCM - I think this may cause a problem
> for 24 bit source as IIRC LMS assume raw PCM to be 16 bit 44.1kHz.  
> > 
Code:
--------------------
  >   > 
  > [18-06-25 17:24:08.4895] Slim::Player::Song::open (558) Tokenized command: 
"/usr/share/squeezeboxserver/Bin/x86_64-linux/faad" -q -w -f 2 
"/storage/Media/philsmusic/test.m4a" & |
  > 
--------------------
> > 
> 
> For force a similar setup to your, I used a Squeezelite player which
> has been setup to only support pcm codec.  LMS will convert all
> sources to PCM to play. I get white noise  when I play my test ALAC
> file whereas it is OK when I test the source 24 flac (from which the
> ALAC was generated).
> 
> This needs more investigation to determnined the root cause.  Initial
> places to look at 
> 1. 24 bit sample size PCM stream is interpreted as a 16 bit sample
> size.
> 2. LMS knows about 24 bit sample size but 24 bit sample bytes are
> planar and not interleaved.
> 
> You shoudl check to is to see if your player can accept Flac.  
> 
> If this is a UPNP player - what formats does it advertise as
> supported.
> 
> I suspect the "fix" will likely involve change the alac transcoding
> from using faad to ffmpeg with lots of exotic options on output.

Thanks again for your help.

Not sure if I explained it earlier but I'm trying to play to my Yamaha
AVR with built in DLNA player using the DLNA/UPNP bridge. I have been
chatting with phillips_44  on that thread about getting replaygain to
work in this context. He says the only way it will work is to stream as
PCM. My receiver accepts other codecs including flac but apparently
there's no way to implement replay gain. I've just tested the problem
file, streaming it as flac and it plays correctly ie no white noise 

Apart from the time to set it up, are there any downsides to using
ffmpeg rather than faad?


------------------------------------------------------------------------
pssturges's Profile: http://forums.slimdevices.com/member.php?userid=66790
View this thread: http://forums.slimdevices.com/showthread.php?t=102059

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

Reply via email to