PDA

View Full Version : MP3 to MP3 transcoding broken?



Roland Fischer
2004-05-21, 13:41
I've installed lame 3.96 and wav to mp3 transoding is working as expected,
when I change the max. bitrate the bitrate changes after a restart of the
currently playing wav file.
But when I set the max. bitrate to something lower and try to play an mp3
with a higher bitrate the server skips this song and I get an error message
in the server window: "Error writing mp3 output".
Same happens when I try to play the mp3 stream with the bitrate set to 128
for example and try to play an mp3 with ~200kbps, the server skips all songs
until it reaches one with either a lower bitrate than the max. bitrate or a
wav file.
Any ideas? Happens this only with my installation or is this behaviour
reproducable?

Regards, Roland

PS: Another small question: what is the correct way to shutdown the server?
Just kill the process, hit CTRL-C in the perl window or something other?
When it is started as service it's easy - just stop the service. But when I
start the perl file directly?

kdf
2004-05-21, 14:07
can't reproduce this myself. try turning on d_source and see what the log says.
you may have a mismarked file type, and that would confuse thigns. Try doing a
wipe cache and test again. Server settings, additional, performace....wipe cache.

if its still a problem, you can post the debug for d_source for the attempt to
play the sings. also might help to know what client you are using and what
firmware.

CTRL-C works fine in my books :)

-kdf
ps ...I'm outta here for a few days...ttyl

Quoting Roland Fischer <slimp3user (AT) graben13 (DOT) at>:

> I've installed lame 3.96 and wav to mp3 transoding is working as expected,
> when I change the max. bitrate the bitrate changes after a restart of the
> currently playing wav file.
> But when I set the max. bitrate to something lower and try to play an mp3
> with a higher bitrate the server skips this song and I get an error message
> in the server window: "Error writing mp3 output".
> Same happens when I try to play the mp3 stream with the bitrate set to 128
> for example and try to play an mp3 with ~200kbps, the server skips all songs
> until it reaches one with either a lower bitrate than the max. bitrate or a
> wav file.
> Any ideas? Happens this only with my installation or is this behaviour
> reproducable?
>
> Regards, Roland
>
> PS: Another small question: what is the correct way to shutdown the server?
> Just kill the process, hit CTRL-C in the perl window or something other?
> When it is started as service it's easy - just stop the service. But when I
> start the perl file directly?
>
>