Quantcast
Channel: Squeezebox : Community : Forums - Logitech Media Server
Viewing all articles
Browse latest Browse all 5300

Cannot play mp3 radio streams, but aac streams work

$
0
0
Hello,

this is really odd, at least for my understanding.
I have the logitech media server 7.7.2 installed on a cubieboard which is kind of a raspberry pi on crack, but with little software support so far.
I can open and stream radio stations to the following
- a squeezebox radio in my bedroom
- a squeezelite client on the same cubieboard
- a squeezelite client on my iMac

So far, so great. However, on my iMac, I can only play back AAC streams, and MP3 fails. If anything, the inverse would make more sense to me, so I am hoping for a quick fix ;)
Streams do work on the cubieboard itself and the Squeezebox radio.

for the iMac: the following error is thrown: [13-07-07 19:34:47.8306] Slim::Player::Song:: open (409) Error: Couldn't create command line for mp3 playback for ....broadcast.infomaniak.net/energyzuerich-high.mp3


Some details on my setup:
On the cubieboard: Ubuntu Wheezy custom kernel (based on 3.0.76)
I basically used the Raspberry Pi setup: allthingspi.webspace.virginmedia.com/lms.php
However, the binaries in /usr/share/squeezeboxserver/Bin/arm-linux did not work, as the cubieboard's processor is armv7l, not 6l
I installed faad, flac, sox and created symbolic links and it worked, then. I then found the sources at github.com/Logitech/slimserver-vendor and natively compiled: faad, flac, sox and wvunpack.
I still cannot run the binaries "mac" and "sls" and wonder if this may cause the error (if so, where is the source code so I can compile it).

The mac is running OS 10.8.4 and I installed the latest build of squeezelite (tried it with an older build with the same result).
The squeezelite on the cubieboard was natively compiled, if I recall correctly (with all the tweaking I have done ;)

The web interface says for all players "The Lame encoder appears to be installed correctly on your system"
Even more curious: I had a LMS installed on my iMac, that I started, and I have the same effect, here. The MP3 stream works on my bedroom radio, but not on the iMac itself.
So my guess is, in spite of the somewhat daring cubieboard installation, it is more something missing on the iMac that is not advertising that it can play back mp3, and LMS cannot convert mp3 into something else.

Debug Logs:
for the MP3 station on the iMac, which won't play:
Code:

[13-07-07 20:42:22.3333] Slim::Player::StreamingController::_Stream (1215) Song queue is now 0
[13-07-07 20:42:22.3347] Slim::Player::StreamingController::_Stream (1218) a8:20:66:58:6e:ba: preparing to stream song index 0
[13-07-07 20:42:22.3458] Slim::Player::Song::open (363) ...broadcast.infomaniak.net/energyzuerich-high.mp3
[13-07-07 20:42:22.3498] Slim::Player::Song::open (387) seek=false time=0 canSeek=0SEEK_ERROR_TYPE_NOT_SUPPORTEDm3u
[13-07-07 20:42:22.3532] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: mp3-flc-squeezelite-a8:20:66:58:6e:ba
[13-07-07 20:42:22.3546] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: mp3-flc-*-a8:20:66:58:6e:ba
[13-07-07 20:42:22.3651] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: mp3-flc-squeezelite-*
[13-07-07 20:42:22.3711] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: mp3-flc-*-*
[13-07-07 20:42:22.3735] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: mp3-aif-squeezelite-a8:20:66:58:6e:ba
[13-07-07 20:42:22.3748] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: mp3-aif-*-a8:20:66:58:6e:ba
[13-07-07 20:42:22.3861] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: mp3-aif-squeezelite-*
[13-07-07 20:42:22.3894] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: mp3-aif-*-*
[13-07-07 20:42:22.3926] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: mp3-pcm-squeezelite-a8:20:66:58:6e:ba
[13-07-07 20:42:22.3943] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: mp3-pcm-*-a8:20:66:58:6e:ba
[13-07-07 20:42:22.4005] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: mp3-pcm-squeezelite-*
[13-07-07 20:42:22.4066] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: mp3-pcm-*-*
[13-07-07 20:42:22.4084] Slim::Player::TranscodingHelper::getConvertCommand2 (425) Error: Didn't find any command matches for type: mp3
[13-07-07 20:42:22.4098] Slim::Player::Song::open (409) Error: Couldn't create command line for mp3 playback for ...broadcast.infomaniak.net/energyzuerich-high.mp3
[13-07-07 20:42:22.4115] Slim::Player::StreamingController::_playersMessage (789) Problem: Unable to play file type for:: ...broadcast.infomaniak.net/energyzuerich-high.mp3
[13-07-07 20:42:22.4152] Slim::Player::StreamingController::_willRetry (1463) no retry data

same thing on the cubieboard / squeezelite, which works, although some errors are thrown:
Code:

[13-07-07 20:44:29.0294] Slim::Player::TranscodingHelper::checkBin (239)    enabled
[13-07-07 20:44:29.0322] Slim::Player::TranscodingHelper::checkBin (241)  Found command: -
[13-07-07 20:44:29.0336] Slim::Player::TranscodingHelper::getConvertCommand2 (361) Rejecting - because no available stream mode supported: R
[13-07-07 20:44:29.0384] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: mp3-mp3-transcode-*
[13-07-07 20:44:29.0655] Slim::Player::TranscodingHelper::enabledFormat (198) Checking to see if mp3-mp3-transcode-* is enabled
[13-07-07 20:44:29.0672] Slim::Player::TranscodingHelper::checkBin (239)    enabled
[13-07-07 20:44:29.0688] Slim::Player::TranscodingHelper::checkBin (241)  Found command: [lame] --silent -q $QUALITY$ -v $BITRATE$ $RESAMPLE$ --mp3input $FILE$ -
[13-07-07 20:44:29.0704] Slim::Player::TranscodingHelper::getConvertCommand2 (361) Rejecting [lame] --silent -q $QUALITY$ -v $BITRATE$ $RESAMPLE$ --mp3input $FILE$ - because no available stream mode supported: R
[13-07-07 20:44:29.0717] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: mp3-loc-squeezelite-f2:b9:23:cd:dd:62
[13-07-07 20:44:29.0730] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: mp3-loc-*-f2:b9:23:cd:dd:62
[13-07-07 20:44:29.0743] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: mp3-loc-squeezelite-*
[13-07-07 20:44:29.0837] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: mp3-loc-*-*
[13-07-07 20:44:29.0883] Slim::Player::TranscodingHelper::getConvertCommand2 (425) Error: Didn't find any command matches for type: mp3
[13-07-07 20:44:30.1496] Slim::Player::StreamingController::_eventAction (271) f2:b9:23:cd:dd:62: StatusHeartbeat in PLAYING-STREAMING -> Slim::Player::StreamingController::_CheckSync

and the AAC file playing on the iMac (also working)
Code:

13-07-07 20:51:06.0836] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: aac-pcm-*-*
[13-07-07 20:51:06.0914] Slim::Player::TranscodingHelper::enabledFormat (198) Checking to see if aac-pcm-*-* is enabled
[13-07-07 20:51:06.0928] Slim::Player::TranscodingHelper::checkBin (239)    enabled
[13-07-07 20:51:06.0941] Slim::Player::TranscodingHelper::checkBin (241)  Found command: [faad] -q -w -f 2 -b 1 $FILE$
[13-07-07 20:51:06.0959] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: ogg-pcm-*-*
[13-07-07 20:51:06.0972] Slim::Player::TranscodingHelper::enabledFormat (198) Checking to see if ogg-pcm-*-* is enabled
[13-07-07 20:51:06.0985] Slim::Player::TranscodingHelper::checkBin (239)    enabled
[13-07-07 20:51:06.0998] Slim::Player::TranscodingHelper::checkBin (241)  Found command: [sox] -q -t ogg $FILE$ -t raw -r 44100 -c 2 -2 -s -
[13-07-07 20:51:06.1012] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: mp3-pcm-*-*
[13-07-07 20:51:06.1026] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: mp3-flc-*-*
[13-07-07 20:51:06.1039] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: mp3-aif-*-*
[13-07-07 20:51:06.1055] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wmap-pcm-*-*
[13-07-07 20:51:06.1075] Slim::Player::TranscodingHelper::enabledFormat (198) Checking to see if wmap-pcm-*-* is enabled
[13-07-07 20:51:06.1093] Slim::Player::TranscodingHelper::checkBin (239)    enabled
[13-07-07 20:51:06.1106] Slim::Player::TranscodingHelper::checkBin (241)  Found command: [wmadec] -r 44100 -b 16 -n 2 $PATH$
[13-07-07 20:51:06.1129] Slim::Player::TranscodingHelper::checkBin (264)    couldn't find binary for: wmadec
---some stuff cut---
[13-07-07 20:51:06.1559] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: wma-aif-*-*
[13-07-07 20:51:06.1573] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: rtsp-pcm-*-*
[13-07-07 20:51:06.1587] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: rtsp-flc-*-*
[13-07-07 20:51:06.1600] Slim::Player::TranscodingHelper::checkBin (231) Checking formats for: rtsp-aif-*-*

any ideas?

Viewing all articles
Browse latest Browse all 5300

Trending Articles