Bug 662 - Silence MP3 does not honour bitrate limit
: Silence MP3 does not honour bitrate limit
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Audio
: 5.x or older
: Other Linux (other)
: P2 normal with 2 votes (vote)
: Future
Assigned To: Blackketter Dean
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2004-11-16 14:42 UTC by Stuart Hickinbottom
Modified: 2011-03-16 04:39 UTC (History)
2 users (show)

See Also:
Category: ---


Attachments
simple patch to deliver lbrsilence for bitrate limited http players (525 bytes, patch)
2005-08-08 09:37 UTC, KDF
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stuart Hickinbottom 2004-11-16 14:42:53 UTC
When streaming media via the .../stream.mp3 URL, music is transcoded as
necessary to support the bitrate limit configured for that player.

However, when the server is paused or stopped, the silence MP3 that is played is
not transcoded and attempts to transmit at its full bitrate (320 kbits).

This has the result that the the server will flood the network connection during
this time, if the network cannot keep up with 320kbit (as is the case over my
256kbit ADSL upload limit, for example).

Other than this, I love SlimServer and Squeezebox!

There may be some good reason for this that I don't understand, but the reason
eludes me so far.

Thanks,
Stuart
Comment 1 KDF 2004-11-17 10:37:12 UTC
the good reason could, perhaps, be simplicity.  not to hack on usage of the
stream.mp3 feature but it is understandably not the highest priority.  it looks
like the server is simply sending chunks from a single silence.mp3 file without
having to mess with loading it to the playlist and runnign all the conversion
checks that are done for real tracks.  Why this has to be a 320kbps silence.mp3
instead of 64kbps, I dont know.  Maybe the lbrsilence.mp3 file would work just
fine in this case.  
Comment 2 KDF 2005-08-08 09:37:24 UTC
Created attachment 706 [details]
simple patch to deliver lbrsilence for bitrate limited http players

if maxRate is not 0 or 320, send lbrsilence.mp3 (96kbps).  Drawback is that
this loops much faster so the cpu load is much higher.
Comment 3 sbjaerum 2005-08-08 11:18:34 UTC
Please consider to commit the patch...
Comment 4 KDF 2006-02-09 00:49:24 UTC
as of change 6177, will deliver lbrsilence.mp3 when stream.mp3 bitrate is not 320 or 'no limit'. this will be in 6.5 builds as of Jan 10.  probably as much as will be done on this one. It will get rid of the rebuffering issues that come up every so often with new users. with softsqueeze available, use of that should be encouraged.
Comment 5 James Richardson 2008-12-15 13:06:00 UTC
This bug appears to have been fixed in the latest release!

If you are still experiencing this problem, feel free to reopen the bug with your new comments and we'll have another look.

Make sure to include the version number of the software you are seeing the error with.
Comment 6 Chris Owens 2008-12-18 11:55:11 UTC
Routine bug db maintenance; removing old versions which cause confusion.  I apologize for the inconvenience.