PDA

View Full Version : Question about/problem with transcoding between differentbitrates



Josh Endries
2004-03-23, 07:52
Hello list!

I recently encoded all my CDs into Ogg files so I don't need to swap my CDs all
the time to listen to them. Anyway, I encoded them at a pretty high bitrate so
they still sound good (300ish I think it was). I set up ices/icecast so I can
listen to them at work (over ssh, ha!). The lack of features with that setup
sucked so I checked out SlimServer -- which is awesome. I do have a problem
though.

I can't stream the files over the net for obvious reasons (bandwidth), but when
I try to change the bitrate in convert.conf for ogg->mp3 (in the lame -b part),
it plays the files at a higher rate than before, like turning the RPM up on a
record player. Am I supposed to do this another way, or is it not even possible
to lower the bitrate? I've tried -b, -B, --abr, --vbr-new, -V, and a bunch of
other switches and it doesn't seem to work. I could do this with ices just
fine. :( Currently I use ices to play and SlimServer to do playlist management
heh...not the ideal setup. Anyone have an example of working bitrate conversion
command line for ogg->mp3?

Thanks,

Josh

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

kdf
2004-03-23, 10:13
Quoting Josh Endries <josh (AT) endries (DOT) org>:

> Hello list!
>
> I recently encoded all my CDs into Ogg files so I don't need to swap my CDs
> all
> the time to listen to them. Anyway, I encoded them at a pretty high bitrate
> so
> they still sound good (300ish I think it was). I set up ices/icecast so I
> can
> listen to them at work (over ssh, ha!). The lack of features with that setup
> sucked so I checked out SlimServer -- which is awesome. I do have a problem
> though.
>
> I can't stream the files over the net for obvious reasons (bandwidth), but
> when
> I try to change the bitrate in convert.conf for ogg->mp3 (in the lame -b
> part),
> it plays the files at a higher rate than before, like turning the RPM up on
> a
> record player. Am I supposed to do this another way, or is it not even
> possible
> to lower the bitrate? I've tried -b, -B, --abr, --vbr-new, -V, and a bunch
> of
> other switches and it doesn't seem to work. I could do this with ices just
> fine. :( Currently I use ices to play and SlimServer to do playlist
> management
> heh...not the ideal setup. Anyone have an example of working bitrate
> conversion
> command line for ogg->mp3?
>
change this:
ogg mp3 * *
$oggdec$ -Q -o - -R 1 $FILE$ | $lame$ --silent -b $BITRATE$ -r $-x$ - -

to this:
ogg mp3 * *
$oggdec$ -Q -o - -R 1 $FILE$ | $lame$ --silent -b 96 -r $-x$ - -

if you want 96kbps. OR download the latest nightly build and you will have
access to a player setting for Maximum Transcode Bitrate. This way you can have
your players at home set to a high rate, your remote player set at a low rate,
all using the same default line in convert.conf.

-kdf

Josh Endries
2004-03-23, 14:38
Quoting kdf <slim-mail (AT) deane-freeman (DOT) com>:
> change this:
> ogg mp3 * *
> $oggdec$ -Q -o - -R 1 $FILE$ | $lame$ --silent -b $BITRATE$ -r
> $-x$ - -
>
> to this:
> ogg mp3 * *
> $oggdec$ -Q -o - -R 1 $FILE$ | $lame$ --silent -b 96 -r $-x$

Thank you for the response. I tried that command (along with 56, 128,
and some other switches) and it sped up the speed of the song like I
said in my first post (like increasing record RPMs). I'll try the
latest snapshot and see if that works (sounds exactly like
what I'm looking for).

Thanks again,

Josh

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.