using stdin stdout with lame

[email protected]
Newsgroups gmane.comp.audio.mp3.encoders
Message-ID <[email protected]>

Hi All

I'm trying to extract a WAV file from an archive and get lame to encode it into
an MP3 in one process

ie

tar -zxvf rob.tgz | lame - rob.mp3

where /dirpath/rob.wav is in the  tgz file,

is this possible as I can only get an output from lame that is 1.2Kb and is not
an mp3 of the wav


Thanks for your help

Robb
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.