i want to have realtime-encoding of my soundcard
line-in with sox and lame (or something similar - i
need command line tools). Now i use
rec -t wav -r 44100 - | lame -m m -a -b 64 -
Have you tried with ecasound? e.g.:
ecasound -i/dev/dsp -o file.mp3
in your .ecasoundrc you can set options for lame:
...
ext-mp3-output-cmd = lame -b 128 -x -S - %f
...
I don't know of 5 hours recording, but I think that in this way you can
bypass sox.
HTH
--
.---------------------.
| Emiliano Grilli |
| emillo(a)libero.it |
| Linux user #209089 |
'---------------------'