PDA

View Full Version : Adjust HTTP Stream Size



Dan Foxley
2004-01-25, 16:20
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, 16:29
Quoting Dan Foxley <danf (AT) nethere (DOT) com>:

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

I think this should be
$flac$ -dcs $FILE$ | $lame$ --silent -b 32 - -

if its still a problem, try making sure that flac is working properly without
the specific http pair of lines. Its higher bandwidth, but at least you'll know
flac transcoding isn't the problem.

-kdf

Roy M. Silvernail
2004-01-25, 16:46
On Sun, 2004-01-25 at 18:20, Dan Foxley wrote:
> 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 -

Looks like you left out a '-'. Try this:

$flac$ -dcs $FILE$ | $lame$ --silent -b 32 - -

'-' is the magic filename for STDIN or STDOUT.
--
Roy M. Silvernail is roy (AT) rant-central (DOT) com, and you're not
Never Forget: It's Only 1's and 0's!
SpamAssassin->procmail->/dev/null->bliss
http://www.rant-central.com