PDA

View Full Version : Can slimserver decode differently for SLIMP3 vs. Squeezebox?



Avi Schwartz
2004-12-06, 19:22
Is there a way to setup the slim server so that it decodes the same file
format differently for Slimp3 vs. Squeezebox? Since I have one of each,
I'd like to use faad2 for the Squeezebox and the combination of faad2
and lame for the Slimp3 (which does not support PCM).

Thanks,
Avi

--
Avi Schwartz
http://public.xdi.org/=avi.schwartz

When you have robbed a man of everything, he is no longer in your power. He is free again.

-- Alexander Solzhenitsyn

kdf
2004-12-06, 19:40
Quoting Avi Schwartz <slim (AT) cfftechnologies (DOT) com>:

> Is there a way to setup the slim server so that it decodes the same file
> format differently for Slimp3 vs. Squeezebox? Since I have one of each,
> I'd like to use faad2 for the Squeezebox and the combination of faad2
> and lame for the Slimp3 (which does not support PCM).
>
mov mp3 * *
[faad] -w -f 1 $FILE$ | [lame] --resample 44100 -x --silent -q 9 -b $BITRATE$
- -

mov wav squeezebox *
[faad] -w -f 2 $FILE$

the default bitrate limiting settings for each player will then take care of
which conversion is needed. Slimp3 defaults to 320kbps MP3 format along with
wireless squeezebox. Wired squeezebox and softsqueeze default to unlimited. In
the most recent nightlies and in teh upcoming 5.4.1 you can use the following
line instead:

mov mp3 * *
[faad] -w -f 1 $FILE$ | [lame] --resample 44100 -x --silent -q $QUALITY$ -b
$BITRATE$ - -

This makes use of the new feature to control the quality level of the mp3
conversion as a player setting.
-kdf

Avi Schwartz
2004-12-06, 20:34
kdf wrote:

>Quoting Avi Schwartz <slim (AT) cfftechnologies (DOT) com>:
>
>
>
>>Is there a way to setup the slim server so that it decodes the same file
>>format differently for Slimp3 vs. Squeezebox? Since I have one of each,
>>I'd like to use faad2 for the Squeezebox and the combination of faad2
>>and lame for the Slimp3 (which does not support PCM).
>>
>>
>>
>mov mp3 * *
> [faad] -w -f 1 $FILE$ | [lame] --resample 44100 -x --silent -q 9 -b $BITRATE$
>- -
>
>mov wav squeezebox *
> [faad] -w -f 2 $FILE$
>
>the default bitrate limiting settings for each player will then take care of
>which conversion is needed. Slimp3 defaults to 320kbps MP3 format along with
>wireless squeezebox. Wired squeezebox and softsqueeze default to unlimited. In
>the most recent nightlies and in teh upcoming 5.4.1 you can use the following
>line instead:
>
>mov mp3 * *
> [faad] -w -f 1 $FILE$ | [lame] --resample 44100 -x --silent -q $QUALITY$ -b
>$BITRATE$ - -
>
>This makes use of the new feature to control the quality level of the mp3
>conversion as a player setting.
>-kdf
>
>

Thanks for your help. Now understand what the asterisks after the
conversion formats are for. That what happens when I don't read the top
of the file :-)

Avi

--
Avi Schwartz
http://public.xdi.org/=avi.schwartz

When you have robbed a man of everything, he is no longer in your power. He is free again.

-- Alexander Solzhenitsyn

kdf
2004-12-06, 21:00
Quoting Avi Schwartz <slim (AT) cfftechnologies (DOT) com>:


> >mov mp3 * *
> > [faad] -w -f 1 $FILE$ | [lame] --resample 44100 -x --silent -q 9 -b
> $BITRATE$
> >- -
> >
> >mov wav squeezebox *
> > [faad] -w -f 2 $FILE$
> >
> >the default bitrate limiting settings for each player will then take care of
> >which conversion is needed. Slimp3 defaults to 320kbps MP3 format along
> with
> >wireless squeezebox. Wired squeezebox and softsqueeze default to unlimited.
> In
> >the most recent nightlies and in teh upcoming 5.4.1 you can use the
> following
> >line instead:
> >
> >mov mp3 * *
> > [faad] -w -f 1 $FILE$ | [lame] --resample 44100 -x --silent -q $QUALITY$
> -b
> >$BITRATE$ - -
> >
> >This makes use of the new feature to control the quality level of the mp3
> >conversion as a player setting.
> >-kdf
> >
> >
>
> Thanks for your help. Now understand what the asterisks after the
> conversion formats are for. That what happens when I don't read the top
> of the file :-)

Actually, they are there as a legacy thing. They used to be to indicate model
and playerID. However, with the new bitrate settings, its all determined
automatically based on the player model and individual player settings.

-kdf