PDA

View Full Version : 24bit 96 khz flac support?



EB1000
2010-11-03, 18:31
Hi

I just noticed when I play a 24bit/96khz flac file on my SB classic' the file info says that the bitrate was changed from 1387kbs to 704kbs.. what gives? can the SB classic output a true 24bit/96khz pcm signal from a flac file through the spdif digital output? or does it downscale it to 16bit 44.1khz?

Thanks

Mnyb
2010-11-03, 18:49
It's downscaled to 24/48 the "704kb" info is bogus a cosmetic bug that nobody fixes.

24/192 and 24/96 is downscaled to 24/48

24/172.4 and 24/88.2 is downscaled to 24/44.1

Note that a squeezebox always output 24bit at 100% volume so 16bit sources are padded to 24bit, this is withing the spdif standard, older dac's discards the extra bit's .

JJZolx
2010-11-03, 20:21
No, the Squeezebox Classic doesn't support 96kHz playback. Only the Transporter, Touch and Radio do. So the server downsamples the 24-bit/96kHz material to 24-bit/48kHz. It makes sense that the streaming bitrate would be approximately halved when going from 96kHz to 48kHz.

The bitrate reported is always the streaming bitrate, by the way, not the bitrate of the actual material. So a CD compressed using Flac, for instance, where the audio is originally 1411 kbps is reported at the compressed rate, usually somewhere around 50-70% of that.

andyg
2010-11-03, 20:32
Note that Radio is also only 24/48. Transporter and Touch are the only devices that support up to 24/96.

JJZolx
2010-11-03, 20:35
Note that Radio is also only 24/48. Transporter and Touch are the only devices that support up to 24/96.

Thanks for the correction.

EB1000
2010-11-05, 01:17
Thanks everybody

Looks like I'm up for an upgrade very soon, as I have many 24bit/96khz albums. Can someone tell me which SB player is more suitable for hi-fi use when you're sitting about 3 meters away from it (this is why I don't think I need the "Touch" feature' since I'll only be using the remote)

Thanks

JJZolx
2010-11-05, 01:42
Looks like I'm up for an upgrade very soon, as I have many 24bit/96khz albums. Can someone tell me which SB player is more suitable for hi-fi use when you're sitting about 3 meters away from it (this is why I don't think I need the "Touch" feature' since I'll only be using the remote)

The Transporter is no longer made, so you don't have much of a choice. You don't have to use the Touch interface, as it comes with an IR remote and similar remote capabilities of the older players. However, not too many people find the screen as usable from a distance as the screens on the SB Classic and Transporter.

Mnyb
2010-11-05, 02:52
+1

The Touch it is, it comes with ir just like the SB3 .

(and can be controlled by controllers smatphones web interfaces et al just like the SB3).

Soundquality is said to be improved and it can stream 24/96 to a suitable DAC.
It can also play those files trough it's own 24/96 Dac
But people with severe audiphilia seems to use external DAC's that includes me ;)

When You are using the ir control it uses bigger text than in Touch mode.
And you may have to tilt it forward to get a good viewing angle depending on placement, but it's still not as visible as the old SB3.
But on the other hand it has screen savers with cover art .

It also has the possibilities to run it's own small server and play directly from an USB drive, but I would not bet the farm on that this works to anyones satisfaction, your own server will still be the best way to use this player.

And squeezeboxes multiply you will probably find another room for the SB3 :)

EB1000
2010-11-05, 18:27
+1


And squeezeboxes multiply you will probably find another room for the SB3 :)

Ok thanks alot. Can I use the Touch and the old SB3 under the same network/router but use different servers? I mean have the new Touch play music from one computer and the SB3 play music from another computer running another instance of SBS?

Phil Leigh
2010-11-06, 00:26
Ok thanks alot. Can I use the Touch and the old SB3 under the same network/router but use different servers? I mean have the new Touch play music from one computer and the SB3 play music from another computer running another instance of SBS?

yes - they can use the same server or different servers. If you want to sync them, they need to use the same server.

Paden
2016-02-08, 11:48
Hi all
Should the downsampling of 24-bit/96kHz material to 24-bit/48kHz occur automatically or does something need to set?
I've been trying to play a 24-bit/96kHz vinyl rip but get nothing, not even through LMS>
File plays fine through Foobar2000?

Cheers, Paul

JJZolx
2016-02-08, 12:02
Should the downsampling of 24-bit/96kHz material to 24-bit/48kHz occur automatically or does something need to set?
I've been trying to play a 24-bit/96kHz vinyl rip but get nothing, not even through LMS>
File plays fine through Foobar2000?

Yes, it should play automatically with the default settings. Have you fiddled with any of the Advanced > File Type > File Format Conversion settings? Or added any custom conversion rules using a custom-convert.conf file?

Mnyb
2016-02-08, 12:08
Hi all
Should the downsampling of 24-bit/96kHz material to 24-bit/48kHz occur automatically or does something need to set?
I've been trying to play a 24-bit/96kHz vinyl rip but get nothing, not even through LMS>
File plays fine through Foobar2000?

Cheers, Paul

What player and what server ? If your server is at a very low powered NAS for example SoX ( the downsampling app installed along LMS ) might not run at all .

Paden
2016-02-08, 14:59
Thanks for the replies :-)
I haven't altered any of the File Format Conversion settings & I'm running LMS on a max2play Odroid U3, going to a Classic.
Do you think my best bet is to downsample it myself rather than trying to get LMS to?

Cheers, Paul

JJZolx
2016-02-08, 15:50
Thanks for the replies :-)
I haven't altered any of the File Format Conversion settings & I'm running LMS on a max2play Odroid U3, going to a Classic.
Do you think my best bet is to downsample it myself rather than trying to get LMS to?

Did you say what type of files these are?

Try downloading and playing some 24/96 Flac files. If those play, yours should play.

http://www.findhdmusic.com/high-res-audio/free-music/

Paden
2016-02-08, 16:05
Thanks again, yeah they are flac files.
I'll try the link you gave & see what happens :-)

Cheers, Paul

JJZolx
2016-02-08, 16:28
I'm playing an album in 24/96 on my Transporter right now and it's being downsampled. If you want to debug it a little you can enable debugging for conversions from the web interface by going to:

Settings > Advanced > Logging > (player.source) - Player Source Audio & Conversion Logging

and seetting it to 'Debug'. When I do that, I see this in my log file:

[16-02-08 16:21:45.5661] Slim::Player::TranscodingHelper::getConvertCommand 2 (446) Matched: flc->flc via: [flac] -dcs $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t flac -C 0 $RESAMPLE$ -

This means it's using the Flac program to decode the flac file and then SoX to re-sample and re-encode. Perhaps those programs aren't installed on your system?

garym
2016-02-08, 17:12
I'm playing an album in 24/96 on my Transporter right now and it's being downsampled. If you want to debug it a little you can enable debugging for conversions from the web interface by going to:

Settings > Advanced > Logging > (player.source) - Player Source Audio & Conversion Logging

and seetting it to 'Debug'. When I do that, I see this in my log file:

[16-02-08 16:21:45.5661] Slim::Player::TranscodingHelper::getConvertCommand 2 (446) Matched: flc->flc via: [flac] -dcs $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t flac -C 0 $RESAMPLE$ -

This means it's using the Flac program to decode the flac file and then SoX to re-sample and re-encode. Perhaps those programs aren't installed on your system?


Just curious, why is LMS downsampling 24/96 file for your Transporter? Because your synched with another SB? Or did you mean 24/192 file. Transporter handles 24/96.

JJZolx
2016-02-08, 17:27
Just curious, why is LMS downsampling 24/96 file for your Transporter? Because your synched with another SB? Or did you mean 24/192 file. Transporter handles 24/96.

Hmm... Good question. :)

They're 24/96 files. I have the Transporter synced with a Radio. If I unsync the Transporter, it doesn't resample. The Radio should be capable of 24/96 too, so I'm not sure why it resamples for the combination. :confused:

garym
2016-02-08, 17:29
Hmm... Good question. :)

They're 24/96 files. I have the Transporter synced with a Radio. If I unsync the Transporter, it doesn't resample. The Radio should be capable of 24/96 too, so I'm not sure why it resamples for the combination. :confused:

aha. That's it. The Radio can only do 24/48. So if synched, it would downsample to 24/48. Only Touch and Transporter can do 24/96.

JJZolx
2016-02-08, 17:33
aha. That's it. The Radio can only do 24/48. So if synched, it would downsample to 24/48. Only Touch and Transporter can do 24/96.

Ah, Ok. I guess my memory isn't very good today.

Mnyb
2016-02-08, 22:22
Thanks for the replies :-)
I haven't altered any of the File Format Conversion settings & I'm running LMS on a max2play Odroid U3, going to a Classic.
Do you think my best bet is to downsample it myself rather than trying to get LMS to?

Cheers, Paul

The classic aka SB3 only do 24/48

Paden
2016-02-08, 22:59
I'm playing an album in 24/96 on my Transporter right now and it's being downsampled. If you want to debug it a little you can enable debugging for conversions from the web interface by going to:

Settings > Advanced > Logging > (player.source) - Player Source Audio & Conversion Logging

and seetting it to 'Debug'. When I do that, I see this in my log file:

[16-02-08 16:21:45.5661] Slim::Player::TranscodingHelper::getConvertCommand 2 (446) Matched: flc->flc via: [flac] -dcs $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t flac -C 0 $RESAMPLE$ -

This means it's using the Flac program to decode the flac file and then SoX to re-sample and re-encode. Perhaps those programs aren't installed on your system?
Hi JJZlox, thanks for the suggestion.
Should the SoX plugin installed by default?

Cheers, Paul

Sent from my SM-T710 using Tapatalk

Mnyb
2016-02-08, 23:05
Hi JJZlox, thanks for the suggestion.
Should the SoX plugin installed by default?

Cheers, Paul

Sent from my SM-T710 using Tapatalk

Yes if it's not it's usually when the platform does not support it , I did not read that you had an odriod , some of them should support SoX or ? Better ask someone with an odriod

Paden
2016-02-09, 13:52
Yes if it's not it's usually when the platform does not support it , I did not read that you had an odriod , some of them should support SoX or ? Better ask someone with an odriod

Thanks again for your reply & the clear instructions Mnyb, no mention of SoX in my log though:

[16-02-09 20:44:53.0051] Slim::Player::StreamingController::_eventAction (271) 00:04:20:12:11:4c: StatusHeartbeat in PLAYING-STREAMOUT -> Slim::Player::StreamingController::_CheckSync
[16-02-09 20:44:53.0059] Slim::Player::StreamingController::_eventAction (271) 00:04:20:1e:59:ec: StatusHeartbeat in STOPPED-IDLE -> Slim::Player::StreamingController::_NoOp

I guess as you suggest the max2play/Odroid platform does not support transcoding.
No worries, haven't got that many hi-res files so will transcode them beforehand.

Cheers, Paul

Mnyb
2016-02-09, 14:32
Thanks again for your reply & the clear instructions Mnyb, no mention of SoX in my log though:

[16-02-09 20:44:53.0051] Slim::Player::StreamingController::_eventAction (271) 00:04:20:12:11:4c: StatusHeartbeat in PLAYING-STREAMOUT -> Slim::Player::StreamingController::_CheckSync
[16-02-09 20:44:53.0059] Slim::Player::StreamingController::_eventAction (271) 00:04:20:1e:59:ec: StatusHeartbeat in STOPPED-IDLE -> Slim::Player::StreamingController::_NoOp

I guess as you suggest the max2play/Odroid platform does not support transcoding.
No worries, haven't got that many hi-res files so will transcode them beforehand.

Cheers, Paul

Ask in the max2play tread on some devices I think they do transcoding , some of the PI's people use can easilly do it ?

d6jg
2016-02-09, 14:38
Ask in the max2play tread on some devices I think they do transcoding , some of the PI's people use can easilly do it ?

max2play on a Pi can definitely transcode with no issue. I am sure it should on Odroid also.

bpa
2016-02-09, 14:44
Thanks again for your reply & the clear instructions Mnyb, no mention of SoX in my log though:

[16-02-09 20:44:53.0051] Slim::Player::StreamingController::_eventAction (271) 00:04:20:12:11:4c: StatusHeartbeat in PLAYING-STREAMOUT -> Slim::Player::StreamingController::_CheckSync
[16-02-09 20:44:53.0059] Slim::Player::StreamingController::_eventAction (271) 00:04:20:1e:59:ec: StatusHeartbeat in STOPPED-IDLE -> Slim::Player::StreamingController::_NoOp


This log looks like LMS made no attempt to play the file - so either the log has been severely edited or there is a config error.

Give complete unedited log - sometime missing message indicate what is happening so it is necessary to have all messages in order to see what is missing.

I suggest the following.
1. Enable Player Source Audio & Conversion to DEBU
2. Note time.
3. Play the problem file.
4. wait at least 30 secs. and not etime.
5. Copy ALL message in server.log file between the time noted in 2 and 4 into a text file, zip and attach

Mnyb
2016-02-09, 14:58
Did we forget to ask this obvius question .

Have you changed any off the file types settings in LMS ? are any of the choices greyed out ? any custom rules ?

Paden
2016-02-09, 16:41
This log looks like LMS made no attempt to play the file - so either the log has been severely edited or there is a config error.

Give complete unedited log - sometime missing message indicate what is happening so it is necessary to have all messages in order to see what is missing.

I suggest the following.
1. Enable Player Source Audio & Conversion to DEBU
2. Note time.
3. Play the problem file.
4. wait at least 30 secs. and not etime.
5. Copy ALL message in server.log file between the time noted in 2 and 4 into a text file, zip and attach

Hi bpa
Thanks for the assistance, please find attached the log recorded while playing a hi-res flac file.
Most of it seems to repeated but if you search for the word "capability" it'll highlight a few things that fail.
As far as I'm aware I haven't altered any of the "File Types" but have taken a screen shot.

Cheers, Paul

bpa
2016-02-09, 17:25
The log has a number of attempts when there should only be one - so I'm not sure whether LMS is having serious problems or whether you tried to play multiple file.

Did you try multiple times ? If so please just do one file as asked and save in a plain text file not a word doc.

However, there is one occurance where LMS builds a command line and tries to run it. Please check whether the follow program runs ok from a shell prompt.

/usr/share/squeezeboxserver/Bin/arm-linux/flac
/usr/share/squeezeboxserver/Bin/arm-linux/sox




16-02-09 23:24:44.3574] Slim::Player::TranscodingHelper::checkBin (252) Found command: [flac] -dcs $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t flac -C 0 $RESAMPLE$ -
[16-02-09 23:24:44.3581] Slim::Player::TranscodingHelper::getConvertCommand 2 (445) Matched: flc->flc via: [flac] -dcs $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t flac -C 0 $RESAMPLE$ -
[16-02-09 23:24:44.3586] Slim::Player::Song::open (408) Transcoder: streamMode=F, streamformat=flc
[16-02-09 23:24:44.3597] Slim::Player::TranscodingHelper::tokenizeConvertCo mmand2 (616) Using command for conversion: "/usr/share/squeezeboxserver/Bin/arm-linux/flac" -dcs -- "/media/usb/FLAC/71-Episode V - The Asteroid Field.flac" | "/usr/share/squeezeboxserver/Bin/arm-linux/sox" -q -t wav - -t flac -C 0 -r 48000 - & |
[16-02-09 23:24:44.3603] Slim::Player::Song::open (558) Tokenized command: "/usr/share/squeezeboxserver/Bin/arm-linux/flac" -dcs -- "/media/usb/FLAC/71-Episode V - The Asteroid Field.flac" | "/usr/share/squeezeboxserver/Bin/arm-linux/sox" -q -t wav - -t flac -C 0 -r 48000 - & |
[16-02-09 23:24:44.4792] Slim::Player::SongStreamController::new (31) live=1
[16-02-09 23:24:44.4811] Slim::Player::StreamingController::_Stream (1277) 00:04:20:12:11:4c: stream
[16-02-09 23:24:44.4881] Slim::Player::StreamingController::_Stream (1314) Song queue is now 0
[16-02-09 23:24:44.4889] Slim::Player::StreamingController::_setPlayingStat e (2366) new playing state BUFFERING



edit:

You could test the LMS command to see if it runs ok
/usr/share/squeezeboxserver/Bin/arm-linux/flac" -dcs -- "/media/usb/FLAC/71-Episode V - The Asteroid Field.flac" | "/usr/share/squeezeboxserver/Bin/arm-linux/sox" -q -t wav - -t flac -C 0 -r 48000 - >output.flc

JJZolx
2016-02-09, 17:35
Not sure why it would try multiple times on a single file (even though I always found that transcoding logging to be nearly indecipherable), but just checking to see whether the flac and sox binary executables are installed sounds like a very good idea.

bpa
2016-02-09, 17:43
Not sure why it would try multiple times on a single file (even though I always found that transcoding logging to be nearly indecipherable), but just checking to see whether the flac and sox binary executables are installed sounds like a very good idea.

Two earlier failures stating D or T capabilities not supported.

D means convert.conf transcode rule says "can Downsample" and T means " can start time offset"

Both T & D errors are strange and usually means the convert.conf file has been edited or a custom-convert.conf is overriding the default. The entry should look like the following but spaces are critical and extra/fewer spaces or tabs can break the rule. Note the proper rule has T and D capabilities.


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$ -

JJZolx
2016-02-09, 18:53
bpa, If you try it on your own system with default settings and no custom-convert file, you'll likely see the same thing in your server log. I just tried it myself and get much the same log output.

Mnyb
2016-02-09, 22:14
This hires file it is 2ch rigth ?

bpa
2016-02-10, 02:20
bpa, If you try it on your own system with default settings and no custom-convert file, you'll likely see the same thing in your server log. I just tried it myself and get much the same log output.

Looking in more detail - The "D" and "T" option are related to trying the "-" rule (i.e. no processing) which fails because player needs downsampling.

It seems to point back to either the flac or sox on the system don't work properly or the file is not compatible with the flac app and/or LMS requirements. These possibilities can be tested easily from a shell script prompt.

Paden
2016-02-10, 10:04
The log has a number of attempts when there should only be one - so I'm not sure whether LMS is having serious problems or whether you tried to play multiple file.

Did you try multiple times ? If so please just do one file as asked and save in a plain text file not a word doc.

However, there is one occurance where LMS builds a command line and tries to run it. Please check whether the follow program runs ok from a shell prompt.

/usr/share/squeezeboxserver/Bin/arm-linux/flac
/usr/share/squeezeboxserver/Bin/arm-linux/sox




16-02-09 23:24:44.3574] Slim::Player::TranscodingHelper::checkBin (252) Found command: [flac] -dcs $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t flac -C 0 $RESAMPLE$ -
[16-02-09 23:24:44.3581] Slim::Player::TranscodingHelper::getConvertCommand 2 (445) Matched: flc->flc via: [flac] -dcs $START$ $END$ -- $FILE$ | [sox] -q -t wav - -t flac -C 0 $RESAMPLE$ -
[16-02-09 23:24:44.3586] Slim::Player::Song::open (408) Transcoder: streamMode=F, streamformat=flc
[16-02-09 23:24:44.3597] Slim::Player::TranscodingHelper::tokenizeConvertCo mmand2 (616) Using command for conversion: "/usr/share/squeezeboxserver/Bin/arm-linux/flac" -dcs -- "/media/usb/FLAC/71-Episode V - The Asteroid Field.flac" | "/usr/share/squeezeboxserver/Bin/arm-linux/sox" -q -t wav - -t flac -C 0 -r 48000 - & |
[16-02-09 23:24:44.3603] Slim::Player::Song::open (558) Tokenized command: "/usr/share/squeezeboxserver/Bin/arm-linux/flac" -dcs -- "/media/usb/FLAC/71-Episode V - The Asteroid Field.flac" | "/usr/share/squeezeboxserver/Bin/arm-linux/sox" -q -t wav - -t flac -C 0 -r 48000 - & |
[16-02-09 23:24:44.4792] Slim::Player::SongStreamController::new (31) live=1
[16-02-09 23:24:44.4811] Slim::Player::StreamingController::_Stream (1277) 00:04:20:12:11:4c: stream
[16-02-09 23:24:44.4881] Slim::Player::StreamingController::_Stream (1314) Song queue is now 0
[16-02-09 23:24:44.4889] Slim::Player::StreamingController::_setPlayingStat e (2366) new playing state BUFFERING



edit:

You could test the LMS command to see if it runs ok
/usr/share/squeezeboxserver/Bin/arm-linux/flac" -dcs -- "/media/usb/FLAC/71-Episode V - The Asteroid Field.flac" | "/usr/share/squeezeboxserver/Bin/arm-linux/sox" -q -t wav - -t flac -C 0 -r 48000 - >output.flc
Sorry bpa, but how do I run a programme from the shell prompt?

Cheers, Paul

Sent from my GT-N7100 using Tapatalk

bpa
2016-02-10, 10:36
Sorry bpa, but how do I run a programme from the shell prompt?

Cheers, Paul

Sent from my GT-N7100 using Tapatalk

Just type the command at a shell prompt such as below - if it runs ok it will output some help text about how to run flac
/usr/share/squeezeboxserver/Bin/arm-linux/flac

Then do the same for sox
/usr/share/squeezeboxserver/Bin/arm-linux/sox

and then try to run flac on your file - thie "-a" will analyze your file - the quotation marks are necessary as you space in the file name.

/usr/share/squeezeboxserver/Bin/arm-linux/flac -a "/media/usb/FLAC/71-Episode V - The Asteroid Field.flac"

Paden
2016-02-10, 16:46
Would I be using something like Putty to do this?

Cheers, Paul

bpa
2016-02-10, 16:51
Would I be using something like Putty to do this?

Depends on your system, how it is setup and how you access it.
You haven't given much detail on your system except that it is an Odoid, Do you not have a screen and keyboard attached to the system ?

Paden
2016-02-10, 17:06
I'm using the max2play (http://www.max2play.com/en/features/)image, which is a pre-configured system, just add music.
Access is via a browser based interface from my laptop, the Odroid itself is headless.

Cheers, Paul

bpa
2016-02-10, 17:22
I'm using the max2play (http://www.max2play.com/en/features/)image, which is a pre-configured system, just add music.
Access is via a browser based interface from my laptop, the Odroid itself is headless.

Can't help you as besides need to know what remote connection have been configured, there will be usernames and paswords needed.

However, since the system is prebuilt and configured for the odroid device and you haven't edited any of the LMS files - the problem must lie with your flac file.

What are the details of the audio format ? No of channels ? sample rate ? sample size ? sample format ?

Paden
2016-02-11, 01:07
No worries, I appreciate the help given thus far.
I'll copy the header when I finish work.

Cheers, Paul

Sent from my GT-N7100 using Tapatalk

bpa
2016-02-11, 05:18
No worries, I appreciate the help given thus far.
I'll copy the header when I finish work.

It would better if you analyse your file through the LMS flac in case there is an encoding issue. It doesn't have to be run on the odroid - you could run flac on your laptop assuming you have a copy of the file on your laptop.

Where to find Flac for your OS - if you are using windows pick up it up from here https://github.com/Logitech/slimserver/tree/public/7.9/Bin/MSWin32-x86-multi-thread

Paden
2016-02-11, 08:07
Hi bpa
Managed to run the commands you mentioned earlier using PuTTY/ssh.
Both the flac & sox commands brought up help files.
The -a command line gave:

71-Episode V - The Asteroid Field HiRes.flac: done omplete

The letter "c" was missing, no other information was given.

19916
The log still complains about:
Rejecting - because required capability D not supported
Rejecting - because required capability T not supported

Cheers, Paul

bpa
2016-02-11, 11:26
I've managed to get similar output to yours with an invalid Flac file.

Your post say the file is a 192Khz sampling rate - you seem to think it is 96Khz ?

Is it 192kHz 1 channel rather than 96Khz 2 channel ?

How many bytes per sample ? 24 bit can be saved as zero filled 32 bit samples but flac won't play 32 bit samples

Paden
2016-02-11, 12:20
Yeah that particular file is 24/192, others I have that are 96kHz don't play either.
Wouldn't the fact that the file plays fine through VLC indicate that the file is valid?
19919
Thanks for you patience :-)

Cheers, Paul

bpa
2016-02-11, 12:28
Yeah that particular file is 24/192, others I have that are 96kHz don't play either.
Wouldn't the fact that the file plays fine through VLC indicate that the file is valid?

Not necessarily VLC takes the approach to try at all costs to play a file sometimes ignoring "standards" while LMS uses the "flac" decoder which is rigourous and only play file that conform to flac standard.

What model Odroid are you using and what version of max2play ?

Paden
2016-02-11, 12:43
It's an Odroid U3 & max2play is version 2.27.

Cheers, Paul

Paden
2016-02-11, 13:28
Using "FLAC Frontend" all the files "test" OK.
Also the Christopher Tree file that JJZolx linked to earlier wont play either but also tests OK.
Perhaps it's a hardware issue or the image I'm using has been corrupted, I'll reburn the image when I get a moment to play.

Cheers, Paul

JJZolx
2016-02-11, 13:52
What actually happens during playback? Do you get noise or nothing at all? In the web interface, does the progress bar advance or stay at zero?

Is there any possibility that the Odroid just doesn't have the horsepower to transcode and re-sample those files?

Paden
2016-02-11, 15:42
During playback there is silence from both my Classic or Boom & the time indicator remains at zero, the progress bar of the web interface however does advance.
It may well be that the Odroid isn't up to re-sampling.
I've posted in the max2play thread & will see what their thoughts are.
I'll post back here if I get a reply.
Thanks for your help.

Cheers, Paul

bpa
2016-02-11, 16:04
During playback there is silence from both my Classic or Boom & the time indicator remains at zero, the progress bar of the web interface however does advance.
It may well be that the Odroid isn't up to re-sampling.

If odroid was too slow you would usually get burst of audio and periods of quiet as playback will only begin when enough audio has been sent to player and so LMS will wait for first chunk of transcoded audio. Log indicates no output sent to player. Your symptoms is look more like a transcoding chain that is not working at all. THinsg woudl be clearer if you could run a shell prompt. I have an odroid somewhere but won't be able to spend enough time to get it up and running until the weekend.

Paden
2016-02-13, 02:11
If odroid was too slow you would usually get burst of audio and periods of quiet as playback will only begin when enough audio has been sent to player and so LMS will wait for first chunk of transcoded audio. Log indicates no output sent to player. Your symptoms is look more like a transcoding chain that is not working at all. THinsg woudl be clearer if you could run a shell prompt. I have an odroid somewhere but won't be able to spend enough time to get it up and running until the weekend.
Hi bpa
I managed to run the shell commands you mentioned previously & posted the results in post #45, were there some other commands I could run that might help?

Cheers, Paul

Sent from my SM-T710 using Tapatalk

bpa
2016-02-13, 02:24
Hi bpa
I managed to run the shell commands you mentioned previously & posted the results in post #45, were there some other commands I could run that might help?

Cheers, Paul

Sent from my SM-T710 using Tapatalk

I can't see where you ran the transcode chain I suggested in an earlier post

/usr/share/squeezeboxserver/Bin/arm-linux/flac" -dcs -- "/media/usb/FLAC/71-Episode V - The Asteroid Field.flac" | "/usr/share/squeezeboxserver/Bin/arm-linux/sox" -q -t wav - -t flac -C 0 -r 48000 - >output.flc

bpa
2016-02-13, 04:27
Reviewing some of the posts. Assuming trasncode chain works OK and you can record from plughw:0 from a shell prompt. The issue might be permissions. Some distros require user to belogn to group such as audio to access some hardware since LMS is being run by a different userid perhaps it does not have required permissions.

Check difference in group memberships between the user id you run the arecord and the userid which runs LMS.

Paden
2016-02-13, 10:51
I can't see where you ran the transcode chain I suggested in an earlier post

/usr/share/squeezeboxserver/Bin/arm-linux/flac" -dcs -- "/media/usb/FLAC/71-Episode V - The Asteroid Field.flac" | "/usr/share/squeezeboxserver/Bin/arm-linux/sox" -q -t wav - -t flac -C 0 -r 48000 - >output.flc
Sorry, must've missed that one :-)
Will run it & post results.

Cheers Paul

Sent from my GT-N7100 using Tapatalk

bpa
2016-02-13, 11:51
Ignore the comments about plughw:0 and permissions - I've got mixed up with two thread which have similar transcoding issues.

However testing the whole transcoding chain on an odroid is stilluseful.

Paden
2016-02-13, 15:05
Ignore the comments about plughw:0 and permissions - I've got mixed up with two thread which have similar transcoding issues.

However testing the whole transcoding chain on an odroid is stilluseful.

Hi bpa
I ran that command & got the following:

> /usr/share/squeezeboxserver/Bin/arm-linux/flac" -dcs -- "/media/usb/FLAC/christopher_tree.flac" | "/usr/share/squeezeboxserver/Bin/arm-linux/sox" -q -t wav - -t flac -C 0 -r 48000 - >output.flc
-bash: cd/usr/share/squeezeboxserver/Bin/arm-linux/flac -dcs -- /media/usb/FLAC/christopher_tree.flac | /usr/share/squeezeboxserver/Bin/arm-linux/sox -q -t wav - -t flac -C 0 -r 48000 - >output.flc
/usr/share/squeezeboxserver/Bin/arm-linux/flac: No such file or directory
/usr/share/squeezeboxserver/Bin/arm-linux/sox FAIL formats: can't open input `-': WAVE: RIFF header not found

Doesn't look good but is it any help?

19948


Cheers, Paul

bpa
2016-02-13, 17:22
> /usr/share/squeezeboxserver/Bin/arm-linux/flac" -dcs -- "/media/usb/FLAC/christopher_tree.flac" | "/usr/share/squeezeboxserver/Bin/arm-linux/sox" -q -t wav - -t flac -C 0 -r 48000 - >output.flc

It looks like I dropped the leading " when I cut and posted from the original post - it should be this
"/usr/share/squeezeboxserver/Bin/arm-linux/flac" -dcs -- "/media/usb/FLAC/christopher_tree.flac" | "/usr/share/squeezeboxserver/Bin/arm-linux/sox" -q -t wav - -t flac -C 0 -r 48000 - >output.flc

Paden
2016-02-13, 17:34
It looks like I dropped the leading " when I cut and posted from the original post - it should be this
"/usr/share/squeezeboxserver/Bin/arm-linux/flac" -dcs -- "/media/usb/FLAC/christopher_tree.flac" | "/usr/share/squeezeboxserver/Bin/arm-linux/sox" -q -t wav - -t flac -C 0 -r 48000 - >output.flc

> "/usr/share/squeezeboxserver/Bin/arm-linux/flac" -dcs -- "/media/usb/FLAC/christopher_tree.flac" | "/usr/share/squeezeboxserver/Bin/arm-linux/sox" -q -t wav - -t flac -C 0 -r 48000 - >output.flc
-bash: cd/usr/share/squeezeboxserver/Bin/arm-linux/flac: No such file or directory
/usr/share/squeezeboxserver/Bin/arm-linux/sox FAIL formats: can't open input `-': WAVE: RIFF header not found
root@max2play:~#

:confused:

Cheers, Paul

bpa
2016-02-13, 17:55
> "/usr/share/squeezeboxserver/Bin/arm-linux/flac" -dcs -- "/media/usb/FLAC/christopher_tree.flac" | "/usr/share/squeezeboxserver/Bin/arm-linux/sox" -q -t wav - -t flac -C 0 -r 48000 - >output.flc
-bash: cd/usr/share/squeezeboxserver/Bin/arm-linux/flac: No such file or directory
/usr/share/squeezeboxserver/Bin/arm-linux/sox FAIL formats: can't open input `-': WAVE: RIFF header not found
root@max2play:~#


There is something wrong with how you are entering the command. If I enter this command at a shell prompt
"/usr/share/squeezeboxserver/Bin/i386-linux/flacx"

I get this response
bash: /usr/share/squeezeboxserver/Bin/i386-linux/flacx: No such file or directory

Note on your response there is an additional "cd" so somewhow you are doing a line continuation and joing two commands together "cd" and the transcode chain command..

edit:

Are you typing in something like
cd \

On Linux you only use "/" for directories and not "" as in Windows. "" is the continuation char for bash.

Paden
2016-02-13, 18:14
There is something wrong with how you are entering the command. If I enter this command at a shell prompt
"/usr/share/squeezeboxserver/Bin/i386-linux/flacx"

I get this response
bash: /usr/share/squeezeboxserver/Bin/i386-linux/flacx: No such file or directory

Note on your response there is an additional "cd" so somewhow you are doing a line continuation and joing two commands together "cd" and the transcode chain command..

edit:

Are you typing in something like
cd \

On Linux you only use "/" for directories and not "" as in Windows. "" is the continuation char for bash.

That's exactly what I was doing, here's the response again:

root@max2play:~# "/usr/share/squeezeboxserver/Bin/i386-linux/flacx"
-bash: /usr/share/squeezeboxserver/Bin/i386-linux/flacx: No such file or directory
root@max2play:~# "/usr/share/squeezeboxserver/Bin/arm-linux/flac" -dcs -- "/media/usb/FLAC/christopher_tree.flac" | "/usr/share/squeezeboxserver/Bin/arm-linux/sox" -q -t wav - -t flac -C 0 -r 48000 - >output.flc
/usr/share/squeezeboxserver/Bin/arm-linux/sox FAIL formats: can't open input `-': WAVE: RIFF header not found

Cheers, Paul

bpa
2016-02-13, 18:41
root@max2play:~# "/usr/share/squeezeboxserver/Bin/arm-linux/flac" -dcs -- "/media/usb/FLAC/christopher_tree.flac" | "/usr/share/squeezeboxserver/Bin/arm-linux/sox" -q -t wav - -t flac -C 0 -r 48000 - >output.flc
/usr/share/squeezeboxserver/Bin/arm-linux/sox FAIL formats: can't open input `-': WAVE: RIFF header not found

The command implies the format outputted by flac is not acceptable to sox or the pipe has failed. I have tested the exact same command line on an Intel Ubuntu with LMS flac and sox and it works OK. All I can do is try to fire up an Odroid with Max2play but I can't be sure when I can do it.

Paden
2016-02-14, 03:54
The command implies the format outputted by flac is not acceptable to sox or the pipe has failed. I have tested the exact same command line on an Intel Ubuntu with LMS flac and sox and it works OK. All I can do is try to fire up an Odroid with Max2play but I can't be sure when I can do it.
If you get a chance bpa that'd be great, no worries if you can't.
Hopefully I'll get a response from max2play at done point.
Thanks for your help & patience :-)

Cheers, Paul

Sent from my SM-T710 using Tapatalk

bpa
2016-02-14, 08:54
I got my Odroid up and running max2play Ubuntu 14.04. Didn't go through the max2play registration etc but downloaded the LMS verison of flac and sox for both soft and hard float and the transcoding chain worked without any problems even with 5.1 flac files.

The flac version was 1.2.1 and sox was 14.3.0 and 14.3.1 (difference between hard and soft float.

File sizes
soft float flac 458856
hard float flac 420428
soft float sox 2745048
hard float sox 2458116

You could download and replace sox and flac from LMS using these URLS
https://github.com/Logitech/slimserver/raw/public/7.9/Bin/armhf-linux/sox
https://github.com/Logitech/slimserver/raw/public/7.9/Bin/armhf-linux/flac

Use wget to download and then "chmod +x" to make downloaded file executable

Paden
2016-02-15, 15:47
Hi bpa
Just to let you know I decided to rebuild LMS & downloaded the latest image from max2play & all is now well with HiRes playback :-)
Just need to reconfigure it now :-(

Thanks for your help!

Cheers, Paul