You are not logged in.

#1 2016-01-07 12:14:08

anthillsocial
Member
Registered: 2013-02-18
Posts: 140
Website

Audio recording: lame is playing up

Hi,

Im having a funny little issue that someone might be able to prod me in the right direction with.
if I record audio using:

arecord -f cd -t wav > out.wav

Then the the audio recording is fine. However

arecord -f cd -t wav |  lame -x - out.mp3

Results in a file which plays back static. What might be going on?

Offline

#2 2016-01-07 15:59:08

tom.ty89
Member
Registered: 2012-11-15
Posts: 897

Re: Audio recording: lame is playing up

What about: tongue

arecord -f cd -t wav > out.wav; cat out.wav |  lame -x - out.mp3

Offline

#3 2016-01-07 16:05:06

anthillsocial
Member
Registered: 2013-02-18
Posts: 140
Website

Re: Audio recording: lame is playing up

nope. same static sound!

Offline

#4 2016-01-07 16:18:21

respiranto
Member
Registered: 2015-05-15
Posts: 479
Website

Re: Audio recording: lame is playing up

lame(1) wrote:

       -x     Swap  bytes  in  the  input  file  or  output file when using
              --decode.
              For sorting out little endian/big endian type  problems.   If
              your encodings sounds like static, try this first.
              Without  using  -x,  LAME  will  treat  input  file as native
              endian.

So the '-x' option seems simply wrong here.

EDIT:
Though it is said to be only relevant when combined with '--decode'. Strange.

Last edited by respiranto (2016-01-07 16:22:49)

Offline

Board footer

Powered by FluxBB