> I need a program that can record from mic, or line-in, and encode > realtime to mp3/ogg, or just record to wav. > Anyone knows a program which can do this? If you're using ALSA, try arecord with oggenc: $ arecord | oggenc -o record.ogg - Select the recording device using a mixer (e.g. alsamixer). Cheers Robert