Re: [linux-audio-user] mp3 live-encoding with sox and lame

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-user] mp3 live-encoding with sox and lame
From: Emiliano Grilli (emillo_AT_libero.it)
Date: Mon Dec 09 2002 - 11:15:19 EET


   
> 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_AT_libero.it    |
  | Linux user #209089  |
  '---------------------'


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Mon Dec 09 2002 - 11:15:14 EET