You know.... Liveice + Icecast works fine and uses lame 


> I have written a little server that spawns lame in a thread, and then 
> creates a named pipe which lame writes to as its output, and then
> the server reads from that pipe and outputs it to the network.  This
> all works fine.  My program only accepts one connection, when that
> connection is lost, I kill the encoding process (this is abrupt, I just
> call pthread_cancel on the thread that starts by launching lame's main
> function).  Then if I receive another connection I start the encoding
> again by running lame's main again in a thread.

Scott Manley (aka Szyzyg)                           /------ _@/ Mail -----\
 ___         _   _     __  __           _           |  Armagh Observatory |
/ __| __ ___| |_| |_  |  \/  |__ _ _ _ | |___ _  _  |  Armagh             |
\__ \/ _/ _ \  _|  _| | |\/| / _` | ' \| / -_) || | |  Northern Ireland   |
|___/\__\___/\__|\__| |_|  |_\__,_|_||_|_\___|\_, | |  BT61 9DG.          |
http://star.arm.ac.uk/~spm/welcome.html       |__/  \=====================/


--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )

Reply via email to