TooTallNate/node-lame

MP3 file will be speed up and length will be short.

Opened this issue · 4 comments

MP3 file will be speed up and length will be short.

If I convert a file which have been converted,
it will be speed up and length will be short

fs.createReadStream localFilePath
  .pipe new lame.Decoder
  .pipe new lame.Encoder
      bitRate: 24
      outSampleRate: 16000
      mode: lame.STEREO
  .pipe fs.createWriteStream path.resolve uploadDirPath+'/converted.mp3'

I am having the same issue, anyone have any info on it?

I cannot reporduce this, there might be an issue with your sampling rate? Can you make sure your encoder respects what the output gives?

Could somebody provide a sample file and repro code (preferably not in CoffeScript)?