I took a quick look at the 3 test files on onedrive.
LMS tries to convert the wav files to flac by default and 2 don't play
because the WAV flac/sox transcoding fails.
Code:
--------------------
[18-08-14 14:02:24.1155] Slim::Player::Song::open (559) Tokenized command:
"/opt/logitechmediaserver/Bin/i386-linux/flac
" -cs --totally-silent --compression-level-4 --
"/u/audio/testfiles/What-A-Wonderful-World_DXD352KHz_2chDXD.wav" | "/opt
/logitechmediaserver/Bin/i386-linux/sox" -q -t flac - -t flac -C 4 - & |
[18-08-14 14:02:24.1352] Slim::Player::StreamingController::_Stream (1265)
b8:27:eb:c1:dc:cd: stream
[18-08-14 14:02:24.1369] Slim::Player::StreamingController::_Stream (1302)
Song queue is now 0
[18-08-14 14:02:24.1372] Slim::Player::StreamingController::_setPlayingState
(2357) new playing state BUFFERING
[18-08-14 14:02:24.1373]
Slim::Player::StreamingController::_setStreamingState (2366) new streaming
state STREAMING
[18-08-14 14:02:24.1612] Slim::Player::TranscodingHelper::getConvertCommand2
(446) Matched: wav->flc via: [flac] -cs --t
otally-silent --compression-level-4 $START$ $END$ -- $FILE$ | [sox] -q -t
flac - -t flac -C 4 $RESAMPLE$ -
[18-08-14 14:02:24.1619] Slim::Player::TranscodingHelper::getConvertCommand2
(446) Matched: wav->flc via: [flac] -cs --t
otally-silent --compression-level-4 $START$ $END$ -- $FILE$ | [sox] -q -t
flac - -t flac -C 4 $RESAMPLE$ -
[18-08-14 14:02:24.2302] Slim::Player::Source::_readNextChunk (373) end of
file or error on socket, song pos: 155933762
[18-08-14 14:02:24.2304] Slim::Player::Source::_readNextChunk (378)
b8:27:eb:c1:dc:cd mark end of stream
[18-08-14 14:02:24.2306] Slim::Player::Source::_readNextChunk (386) Didn't
stream any bytes for this song; mark it as fa
iled
--------------------
Here's the error I get when running the flac part of the command.
Code:
--------------------
/opt/logitechmediaserver/Bin/i386-linux/flac -cs --compression-level-4
What-A-Wonderful-World_DXD352KHz_2chDXD.wav
What-A-Wonderful-World_DXD352KHz_2chDXD.wav: WARNING: skipping unknown chunk
'JUNK' (use --keep-foreign-metadata to keep)
What-A-Wonderful-World_DXD352KHz_2chDXD.wav: ERROR: unsupported format type 3
/opt/logitechmediaserver/Bin/i386-linux/flac -cs --compression-level-4
03_Puente-Celeste-Nama-Chiquita_DXD352KHz_2chDXD.wav
03_Puente-Celeste-Nama-Chiquita_DXD352KHz_2chDXD.wav: WARNING: skipping
unknown sub-chunk 'JUNK' (use --keep-foreign-metadata to keep)
03_Puente-Celeste-Nama-Chiquita_DXD352KHz_2chDXD.wav: ERROR: unsupported
format type 3
--------------------
flac manages to compress A fool for you with some warnings.
Code:
--------------------
/opt/logitechmediaserver/Bin/i386-linux/flac --compression-level-4
a-fool-for-you-carmen-gomes-inc-dxd352khz.wav
flac 1.2.1, Copyright (C) 2000,2001,2002,2003,2004,2005,2006,2007 Josh
Coalson
flac comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions. Type `flac' for details.
a-fool-for-you-carmen-gomes-inc-dxd352khz.wav: WARNING: skipping unknown
sub-chunk 'JUNK' (use --keep-foreign-metadata to keep)
a-fool-for-you-carmen-gomes-inc-dxd352khz.wav: WARNING: legacy WAVE file has
format type 1 but bits-per-sample=24
a-fool-for-you-carmen-gomes-inc-dxd352khz.wav: 100% complete,
ratio=0.607a-fool-for-you-carmen-gomes-inc-dxd352khz.wav: WARNING: skipping
unknown sub-chunk 'LIST' (use --keep-foreign-metadata to keep)
a-fool-for-you-carmen-gomes-inc-dxd352khz.wav: WARNING: skipping unknown
sub-chunk 'ID3 ' (use --keep-foreign-metadata to keep)
a-fool-for-you-carmen-gomes-inc-dxd352khz.wav: wrote 154137040 bytes,
ratio=0.607
--------------------
Ralphy
*1*-Touch, *5*-Classics, *3*-Booms, *1*-UE Radio
'Squeezebox client builds'
(https://sourceforge.net/projects/lmsclients/files/) 'donations'
(https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=LL5P6365KQEXN&lc=CA&item_name=Squeezebox%20client%20builds¤cy_code=USD&bn=PP%2dDonationsBF%3abtn_donate_SM%2egif%3aNonHosted)
always appreciated.
------------------------------------------------------------------------
ralphy's Profile: http://forums.slimdevices.com/member.php?userid=3484
View this thread: http://forums.slimdevices.com/showthread.php?t=97046
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix