Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling of High Res Wave Files #213

Open
s25a opened this issue Aug 15, 2018 · 3 comments

Comments

@s25a
Copy link

commented Aug 15, 2018

Hi Michael,

some issues with HighRes Wav Files (which you can buy at native DSD)

referring to: https://forums.slimdevices.com/showthread.php?97046-Announce-Squeezelite-a-small-headless-squeezeplay-emulator-for-linux-(alsa-only)&p=918633&viewfull=1#post918633

It seems that LMS tries to convert the wav files to flac by default and 2 don't play because the WAV flac/sox transcoding fails.

I am not sure where exactly the problem is... I have uploaded it to my OneDrive maybe you can have a look at the file: https://1drv.ms/f/s!Al2Cg0XrL0I-gcEK5kXF_kHtucByxg
(File 1 is working with warnings in the log file 2 and 3 don't play...error in LOG)

Here is the logfile posted by Ralphy: [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

If you need some further testing please let me know. Thanks a lot

S

@s25a s25a changed the title Hadnling of High REs Wave Files Handling of High Res Wave Files Aug 15, 2018
@s25a

This comment has been minimized.

Copy link
Author

commented Aug 16, 2018

Hi Michael,

would it be possible to just pass through the wav Files without any conversion?
Especially for the HighRes Files this would make sense.

Thanks S

@mherger

This comment has been minimized.

Copy link
Contributor

commented Aug 16, 2018

You can disable transcoding to flac in Settings/Advanced/File Types.

@s25a

This comment has been minimized.

Copy link
Author

commented Aug 16, 2018

Hi Michael,

thanks a lot. Sorry my fault. I did that already a few weeks ago (forgot to mention it :-) ). The issue that is that the output is extremly bad quality. It's like a white noise with a a little bit of the song in the background.

Thanks S

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.