Ok, I finally have the reencode support working reasonably well. I've
seen the server crash occasionally, but I have not been able to track
down what the problem is. Perhaps having some other people look at the
issue might help.
So, if you're interested in the reencode support, please follow these
steps:
1) Install the XingMP3 decoder library. You can find this on the obs
download page.
2) Install LAME. The reencode stuff didn't work with 3.70. It does work
with 3.87beta.
3) Check the code out of the reencode_branch from CVS:
cvs -z9 -d:pserver:[EMAIL PROTECTED]:/src/repository co
-rreencode_branch obs (all one command)
4) Compile and install as usual. Make sure that configure finds the xing
and lame libraries:
checking for lame.h... yes
checking for lame_init in -lmp3lame... yes
checking for audio_decode_init in -lxingmp3... yes
Then in the obs.conf, set the MaxBitRate to the maximum bitrate that you
want to send out using obs. If it finds a file that has a bitrate higher
than the set MaxBitRate, it will automatically reencode it. Otherwise
the files are untouched and sent out as usual.
Two notes of caution:
1) Reencoding sucks CPU cycles. My PII350 was sometimes not able to
keep up reencoding a 192kbps file to 96kbps.
2) The quality of the output is really not terribly pleasant. I don't
have much experience with LAME, so the settings may need to get tweaked
some more. If someone would like to play with this and send me a patch,
please do so.
--ruaok Freezerburn! All else is only icing. -- Soul Coughing
Robert Kaye -- [EMAIL PROTECTED] -- http://www.mayhem-chaos.net
_______________________________________________
Obs-dev mailing list
[EMAIL PROTECTED]
http://www.freeamp.org/mailman/listinfo/obs-dev