PDA

View Full Version : Adjust HTTP Stream Size



Dan Foxley
2004-01-25, 16:54
Actually the only way MP3 streams is with this line, and I'm guessing it's
not using any parameters this way:

--------------
mp3 mp3 http *
-
$lame$ --silent --mp3input -b 32 $FILE$ -


-----Original Message-----
From: discuss-bounces (AT) lists (DOT) slimdevices.com
[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of Dan Foxley
Sent: Sunday, January 25, 2004 3:20 PM
To: 'Slim Devices Discussion'
Subject: [slim] Adjust HTTP Stream Size

Could you please verify the following edit to convert.conf, to assure that
I'm streaming @ 32 for both MP3 and Flac. Streaming FLAC didn't work,
server:9000 was jumping to the next song and part of the gui was locking up,
I was able to re-point the server:9000 back to playing an mp3 w/o issue
though.

Copy from convert.conf
=========================

# Special for the webserver
mp3 mp3 http *
$lame$ --silent --mp3input -b 32 $FILE$ -

# uncommented line above- commented-out was default

# added (copied from slimp3 section above for reference)
flc mp3 http *
$flac$ -dcs $FILE$ | $lame$ --silent -b 32 -

-----Original Message-----
From: discuss-bounces (AT) lists (DOT) slimdevices.com
[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of kdf
Sent: Friday, January 23, 2004 3:42 PM
To: Slim Devices Discussion
Subject: [slim] Adjust HTTP Stream Size

Quoting Dan Foxley <danf (AT) nethere (DOT) com>:

> How can I adjust the stream (http://server:9000/stream.mp3) to 32Kbps? I
> will be playing FLAC & MP3's remotely. In the convert.conf I find the
> following commented out:

however, what I have said...will only work for mp3, since its the 'mp3 mp3
http'
entry that you changed. For flac, you have to create an entry for 'flc mp3
http' that uses a similar line as 'flc mp3 slimp3', and edit $BITRATE$ to be
'32'

-kdf

kdf
2004-01-25, 23:32
Quoting Dan Foxley <danf (AT) nethere (DOT) com>:

> Actually the only way MP3 streams is with this line, and I'm guessing it's
> not using any parameters this way:
>
> --------------
> mp3 mp3 http *
> -
> $lame$ --silent --mp3input -b 32 $FILE$ -

This will actually tell the server to do nothing for mp3 to mp3 on an http
client. The second line will be ignored. You would need to get rid of the '-'
when you uncomment the $lame$ line. This line above controls mp3 output streams
for mp3 input. Having a flc mp3 http * will control flac input for conversion
to mp3 streams. The final * controls the client ID. using a specific ID will
override any *. Future support will allow masks, but currently it must be an
exact MAC or IP addy.

-kdf