Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
Photo

Lame Decoding


  • Please log in to reply

#1
Cindy_16051988

Cindy_16051988

    New Member

  • Member
  • Pip
  • 2 posts
Hello, sorry to disturb you all. I am newbie here. Recently, I call lame.exe from my software to do the encode and decode part by the help of a friend. My software is designed to record and play wave file in audio and visual. It is used in our speech rehabilitation centre to help children with speech problem. I work part time there.

I convert the wave file recorded by my software to MP3 by calling the lame.exe. It happened successfully.

Then, since the software can only play wave (cannot play MP3), I use the lame.exe to convert MP3 to wave file again. But, my software failed to play the wave giving the error of “Unsupported File Format”.

I checked both the wave file before and after conversion. They give the same format: PCM, mono, 16 kHz, 16 bits, 256 kbps. I could not figure out why the software cant play the wave file after conversion. The software can play the wave file recorded by the software itself.

Then, I tried by changing “- -decode” to “- - decode –t” but I get another error of saying that “Invalid File Type”. The, I tried again for “-x” because I thought there may be problem of little endian and big endian. The problem is still the same.

Hope you can give me some ideas or suggestions. I promise to do it as independent as possible, please, please. Please guide me at this very beginning.
  • 0

Advertisements


#2
StephenL

StephenL

    Member

  • Member
  • PipPip
  • 12 posts
might be something to do with the file header in the new wave file (after convertion from mp3), I did some filtering of wave files about a year ago & can vaguely remember problems with the data that is stored in the first section of a wave file. Sorry I can't be more helpful but I thought it might be worth while looking into.

http://www.sonicspot.../wavefiles.html

Apologies if it's not what you're looking for :whistling:

Cheers,
Steve
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP