PDA

View Full Version : one player cannot play mp3 but it can play flacs



jackaninny
2006-01-14, 18:06
i have several sb3 and a sb2 - one of the sb3 will not play mp3 files but it will play flacs. i can play the sam mp3 files on the other sb3's. i have tried to force a firmware reload, forget this player via web interface and a reload xilinx (power on /hold '1' key). nothing seems to work. very strange.

anyone else out there have a similar problem - hopefully with a solution?

jackaninny
2006-01-14, 18:09
one more thing - the player displays the mp3 file/song i want to play but the progress bar never moves.

kdf
2006-01-14, 18:50
jackaninny wrote:
> one more thing - the player displays the mp3 file/song i want to play
> but the progress bar never moves.
>
>
>
Try checking if you have bitrate limiting set for that player. if you
have that set to some low bitrate, and you are missing LAME, then that
would explain why playback would stop. You can also lok at the log with
d_source enabled.

-kdf

jackaninny
2006-01-14, 23:29
...the player was already set 'no limit' bitrate - i had to change it to either 256 or 320kpbs for it to play the mp3 files. is it me or does these settings sound crazy - i mean if i had it set to 'no limit' then it should have played any file - right? before playback didn't stop it just never started although i would get track time length and the status bar they just never went anywhere or counted anything.


flac worked before no problem.

kdf
2006-01-14, 23:32
jackaninny wrote:
> ...the player was already set 'no limit' bitrate - i had to change it to
> either 256 or 320kpbs for it to play the mp3 files. is it me or does
> these settings sound crazy - i mean if i had it set to 'no limit' then
> it should have played any file - right?
>
'no limit' is the right setting to allow it to play natively. What are
you seeing when you look at the log with d_source enabled?

-kdf

jackaninny
2006-01-19, 20:53
this settings allows the mp3 file to play correctly:

2006-01-19 19:49:36.0518 Setting maxBitRate for TV Room to: 320
2006-01-19 19:49:39.2319 Setting maxBitRate for TV Room to: 320
2006-01-19 19:49:39.2321 Setting maxBitRate for TV Room to: 320
2006-01-19 19:49:41.0515 Setting maxBitRate for TV Room to: 320
2006-01-19 19:49:41.0517 Setting maxBitRate for TV Room to: 320
2006-01-19 19:49:46.0669 Setting maxBitRate for TV Room to: 320
2006-01-19 19:49:46.0672 Setting maxBitRate for TV Room to: 320
2006-01-19 19:49:51.0671 Setting maxBitRate for TV Room to: 320
2006-01-19 19:49:51.0673 Setting maxBitRate for TV Room to: 320
2006-01-19 19:49:56.0824 Setting maxBitRate for TV Room to: 320
2006-01-19 19:49:56.0826 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:01.0981 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:01.0983 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:04.9544 00:04:20:06:16:92: Switching to mode play from stop
2006-01-19 19:50:04.9549 openSong on: file:///music/flac/nonflac/Sesame%20Street/Elmo%20and%20the%20Orchestra/Beethoven%20-%20Symphony%20No.%205.mp3
2006-01-19 19:50:04.9559 openSong: getting duration 94.0408163265306, size 2454032, endian and offset 417 for file:///music/flac/nonflac/Sesame%20Street/Elmo%20and%20the%20Orchestra/Beethoven%20-%20Symphony%20No.%205.mp3
2006-01-19 19:50:04.9562 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:04.9564 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:04.9571 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:04.9573 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:04.9595 undermax = 1, type = mp3, squeezebox2 = 00:04:20:06:16:92, lame = /usr/bin/lame
2006-01-19 19:50:04.9598 checking formats for: mp3-wma-squeezebox2-00:04:20:06:16:92
2006-01-19 19:50:04.9599 checking formats for: mp3-wma-*-00:04:20:06:16:92
2006-01-19 19:50:04.9600 checking formats for: mp3-wma-squeezebox2-*
2006-01-19 19:50:04.9600 checking formats for: mp3-wma-*-*
2006-01-19 19:50:04.9601 checking formats for: mp3-flc-squeezebox2-00:04:20:06:16:92
2006-01-19 19:50:04.9602 checking formats for: mp3-flc-*-00:04:20:06:16:92
2006-01-19 19:50:04.9603 checking formats for: mp3-flc-squeezebox2-*
2006-01-19 19:50:04.9603 checking formats for: mp3-flc-*-*
2006-01-19 19:50:04.9604 Checking to see if mp3-flc-*-* is enabled
2006-01-19 19:50:04.9605 enabled
2006-01-19 19:50:04.9606 Found command: [lame] --mp3input --decode -t --silent $FILE$ - | [flac] -cs --totally-silent --compression-level-0 -
2006-01-19 19:50:04.9608 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:04.9609 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:04.9612 checking formats for: mp3-aif-squeezebox2-00:04:20:06:16:92
2006-01-19 19:50:04.9613 checking formats for: mp3-aif-*-00:04:20:06:16:92
2006-01-19 19:50:04.9614 checking formats for: mp3-aif-squeezebox2-*
2006-01-19 19:50:04.9615 checking formats for: mp3-aif-*-*
2006-01-19 19:50:04.9616 checking formats for: mp3-wav-squeezebox2-00:04:20:06:16:92
2006-01-19 19:50:04.9617 checking formats for: mp3-wav-*-00:04:20:06:16:92
2006-01-19 19:50:04.9617 checking formats for: mp3-wav-squeezebox2-*
2006-01-19 19:50:04.9618 checking formats for: mp3-wav-*-*
2006-01-19 19:50:04.9619 checking formats for: mp3-mp3-squeezebox2-00:04:20:06:16:92
2006-01-19 19:50:04.9620 checking formats for: mp3-mp3-*-00:04:20:06:16:92
2006-01-19 19:50:04.9620 checking formats for: mp3-mp3-squeezebox2-*
2006-01-19 19:50:04.9621 checking formats for: mp3-mp3-*-*
2006-01-19 19:50:04.9622 Checking to see if mp3-mp3-*-* is enabled
2006-01-19 19:50:04.9623 enabled
2006-01-19 19:50:04.9624 Found command: -
2006-01-19 19:50:04.9625 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:04.9627 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:04.9638 Matched Format: mp3 Type: mp3 Command: -
2006-01-19 19:50:04.9639 openSong: this is an mp3 file: file:///music/flac/nonflac/Sesame%20Street/Elmo%20and%20the%20Orchestra/Beethoven%20-%20Symphony%20No.%205.mp3
2006-01-19 19:50:04.9640 file type: mp3 format: mp3 inrate: 208 maxRate: 320
2006-01-19 19:50:04.9641 command: -
2006-01-19 19:50:04.9642 openSong: opening file /music/flac/nonflac/Sesame Street/Elmo and the Orchestra/Beethoven - Symphony No. 5.mp3
2006-01-19 19:50:04.9644 seeking in 417 into /music/flac/nonflac/Sesame Street/Elmo and the Orchestra/Beethoven - Symphony No. 5.mp3
2006-01-19 19:50:04.9645 Streaming with format: mp3
2006-01-19 19:50:04.9966 00:04:20:06:16:92 New play mode: play
2006-01-19 19:50:04.9985 00:04:20:06:16:92: Current playmode: play
2006-01-19 19:50:05.0058 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:05.0060 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:05.0145 We need to send 0 seconds of silence...
2006-01-19 19:50:05.0147 sending 0 bytes of silence
2006-01-19 19:50:05.2912 Got a track starting event
2006-01-19 19:50:05.2914 Song 0 has now started playing
2006-01-19 19:50:05.2916 Song queue is now 0
2006-01-19 19:50:06.1135 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:06.1138 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:07.4275 Reduced chunksize to 29200 at end of file (2454032 - 2424832)
2006-01-19 19:50:07.4537 Reduced chunksize to 0 at end of file (2454032 - 2454032)
2006-01-19 19:50:07.4539 end of file or error on socket, opening next song, (song pos: 2454032(tell says: . ), totalbytes: 2454032)
2006-01-19 19:50:07.4541 opening next song...
2006-01-19 19:50:07.4543 00:04:20:06:16:92: Switching to mode playout-stop from play
2006-01-19 19:50:07.4544 00:04:20:06:16:92 New play mode: playout-stop
2006-01-19 19:50:07.4550 00:04:20:06:16:92: Current playmode: playout-stop
2006-01-19 19:50:07.4552 No pending chunks - we're dropping the streaming connection
2006-01-19 19:50:07.4573 00:04:20:06:16:92: Can't opennext, returning no chunk.
2006-01-19 19:50:11.1135 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:11.1137 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:16.1289 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:16.1291 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:21.1291 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:21.1293 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:26.1443 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:26.1445 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:31.1601 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:31.1604 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:36.1754 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:36.1756 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:41.1756 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:41.1758 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:45.6947 00:04:20:06:16:92: Switching to mode stop from playout-stop
2006-01-19 19:50:45.6949 00:04:20:06:16:92 New play mode: stop
2006-01-19 19:50:45.6951 Stopping and clearing out old chunks for client 00:04:20:06:16:92
2006-01-19 19:50:45.6956 Resetting song queue
2006-01-19 19:50:45.6958 Song queue is now 0
2006-01-19 19:50:45.6960 00:04:20:06:16:92: Current playmode: stop
2006-01-19 19:50:45.7042 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:45.7044 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:46.1752 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:46.1754 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:51.1911 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:51.1913 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:51.3287 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:56.2063 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:56.2066 Setting maxBitRate for TV Room to: 320
2006-01-19 19:50:58.8230 Setting maxBitRate for TV Room to: 320

jackaninny
2006-01-19, 20:54
and the file does NOT play at all:

2006-01-19 19:51:01.2063 Setting maxBitRate for TV Room to: 0
2006-01-19 19:51:01.2065 Setting maxBitRate for TV Room to: 0
2006-01-19 19:51:06.2216 Setting maxBitRate for TV Room to: 0
2006-01-19 19:51:06.2219 Setting maxBitRate for TV Room to: 0
2006-01-19 19:51:09.9332 00:04:20:06:16:92: Switching to mode play from stop
2006-01-19 19:51:09.9337 openSong on: file:///music/flac/nonflac/Sesame%20Street/Elmo%20and%20the%20Orchestra/Beethoven%20-%20Symphony%20No.%205.mp3
2006-01-19 19:51:09.9346 openSong: getting duration 94.0408163265306, size 2454032, endian and offset 417 for file:///music/flac/nonflac/Sesame%20Street/Elmo%20and%20the%20Orchestra/Beethoven%20-%20Symphony%20No.%205.mp3
2006-01-19 19:51:09.9349 Setting maxBitRate for TV Room to: 0
2006-01-19 19:51:09.9350 Setting maxBitRate for TV Room to: 0
2006-01-19 19:51:09.9357 Setting maxBitRate for TV Room to: 0
2006-01-19 19:51:09.9359 Setting maxBitRate for TV Room to: 0
2006-01-19 19:51:09.9360 undermax = 1, type = mp3, squeezebox2 = 00:04:20:06:16:92, lame = /usr/bin/lame
2006-01-19 19:51:09.9361 checking formats for: mp3-wma-squeezebox2-00:04:20:06:16:92
2006-01-19 19:51:09.9362 checking formats for: mp3-wma-*-00:04:20:06:16:92
2006-01-19 19:51:09.9362 checking formats for: mp3-wma-squeezebox2-*
2006-01-19 19:51:09.9363 checking formats for: mp3-wma-*-*
2006-01-19 19:51:09.9364 checking formats for: mp3-flc-squeezebox2-00:04:20:06:16:92
2006-01-19 19:51:09.9365 checking formats for: mp3-flc-*-00:04:20:06:16:92
2006-01-19 19:51:09.9366 checking formats for: mp3-flc-squeezebox2-*
2006-01-19 19:51:09.9367 checking formats for: mp3-flc-*-*
2006-01-19 19:51:09.9367 Checking to see if mp3-flc-*-* is enabled
2006-01-19 19:51:09.9368 enabled
2006-01-19 19:51:09.9369 Found command: [lame] --mp3input --decode -t --silent $FILE$ - | [flac] -cs --totally-silent --compression-level-0 -
2006-01-19 19:51:09.9371 Setting maxBitRate for TV Room to: 0
2006-01-19 19:51:09.9372 Setting maxBitRate for TV Room to: 0
2006-01-19 19:51:09.9373 Matched Format: flc Type: mp3 Command: [lame] --mp3input --decode -t --silent $FILE$ - | [flac] -cs --totally-silent --compression-level-0 -
2006-01-19 19:51:09.9374 openSong: this is an mp3 file: file:///music/flac/nonflac/Sesame%20Street/Elmo%20and%20the%20Orchestra/Beethoven%20-%20Symphony%20No.%205.mp3
2006-01-19 19:51:09.9375 file type: mp3 format: flc inrate: 208 maxRate: 0
2006-01-19 19:51:09.9376 command: [lame] --mp3input --decode -t --silent $FILE$ - | [flac] -cs --totally-silent --compression-level-0 -
2006-01-19 19:51:09.9381 Using command for conversion: "/usr/bin/lame" --mp3input --decode -t --silent "/music/flac/nonflac/Sesame Street/Elmo and the Orchestra/Beethoven - Symphony No. 5.mp3" - | "/usr/bin/flac" -cs --totally-silent --compression-level-0 - & |
2006-01-19 19:51:09.9509 Streaming with format: flc
2006-01-19 19:51:09.9984 00:04:20:06:16:92 New play mode: play
2006-01-19 19:51:09.0005 00:04:20:06:16:92: Current playmode: play
2006-01-19 19:51:10.0107 Setting maxBitRate for TV Room to: 0
2006-01-19 19:51:10.0109 Setting maxBitRate for TV Room to: 0
2006-01-19 19:51:10.0213 Read to end of file or pipe
2006-01-19 19:51:10.0215 end of file or error on socket, opening next song, (song pos: 0(tell says: . ), totalbytes: 0)
2006-01-19 19:51:10.0216 Didn't stream any bytes for this song, so just mark it as played
2006-01-19 19:51:10.0217 opening next song...
2006-01-19 19:51:10.0220 00:04:20:06:16:92: Switching to mode playout-stop from play
2006-01-19 19:51:10.0221 00:04:20:06:16:92 New play mode: playout-stop
2006-01-19 19:51:10.0227 00:04:20:06:16:92: Current playmode: playout-stop
2006-01-19 19:51:10.0229 No pending chunks - we're dropping the streaming connection
2006-01-19 19:51:10.0235 00:04:20:06:16:92: Can't opennext, returning no chunk.
2006-01-19 19:51:10.0642 00:04:20:06:16:92: Decoder underrun while this mode: playout-stop
2006-01-19 19:51:11.2382 Setting maxBitRate for TV Room to: 0
2006-01-19 19:51:11.2384 Setting maxBitRate for TV Room to: 0
2006-01-19 19:51:16.2527 Setting maxBitRate for TV Room to: 0
2006-01-19 19:51:16.2529 Setting maxBitRate for TV Room to: 0
2006-01-19 19:51:21.2685 Setting maxBitRate for TV Room to: 0
2006-01-19 19:51:21.2687 Setting maxBitRate for TV Room to: 0
2006-01-19 19:51:26.2838 Setting maxBitRate for TV Room to: 0
2006-01-19 19:51:26.2840 Setting maxBitRate for TV Room to: 0
2006-01-19 19:51:31.2845 Setting maxBitRate for TV Room to: 0
2006-01-19 19:51:31.2848 Setting maxBitRate for TV Room to: 0
2006-01-19 19:51:36.2835 Setting maxBitRate for TV Room to: 0
2006-01-19 19:51:36.2837 Setting maxBitRate for TV Room to: 0
2006-01-19 19:51:41.2837 Setting maxBitRate for TV Room to: 0
2006-01-19 19:51:41.2839 Setting maxBitRate for TV Room to: 0

kdf
2006-01-19, 23:24
jackaninny wrote:
> 2006-01-19 19:51:09.9369 Found command: [lame] --mp3input --decode -t
> --silent $FILE$ - | [flac] -cs --totally-silent --compression-level-0 -
>

ok, so for some reason the mp3 isn't being played directly. do you have
the built-in mp3 disabled in server settings-> file types?
-k

jackaninny
2006-01-20, 22:16
i tried my older sb2 and it also chokes when trying to play that file with player settings on no limit - 320,256 adn 192 will play the fiel though. is this getting strange?

snarlydwarf
2006-01-20, 23:36
2006-01-19 19:51:09.9376 command: [lame] --mp3input --decode -t --silent $FILE$ - | [flac] -cs --totally-silent --compression-level-0 -
2006-01-19 19:51:09.9381 Using command for conversion: "/usr/bin/lame" --mp3input --decode -t --silent "/music/flac/nonflac/Sesame Street/Elmo and the Orchestra/Beethoven - Symphony No. 5.mp3" - | "/usr/bin/flac" -cs --totally-silent --compression-level-0 - & |
2006-01-19 19:51:09.9509 Streaming with format: flc


Okay, I looked at this differently: "where is that command line coming from?"

On my machine, it's in convert.conf (not surprisingly -- it was the first place I looked), but it is commented out. (ie, the only place the "--decode" option appears.)

Did you change convert.conf?

Something is certainly wrong there: it shouldn't be wanting to convert mp3 to flac under any normal condition (the fidelity is already lost, whether decoded on the server or the squeezebox ... may as well send it to the sb as an mp3 and save on bandwidth). But that's why it's commented out in my copy, which is how it was when I got it.

jackaninny
2006-01-21, 11:27
i commented out those lines in the convert.conf file which i believe i did edit a few weeks ago.