How to convert .wav ( CCIT -u Law ) into .mp3

1 message Options
Embed this post
Permalink
madarasi

How to convert .wav ( CCIT -u Law ) into .mp3

Reply Threaded More More options
Print post
Permalink
Hi,

I've some doubts in converting .wav into .mp3 using Lame.

I'm new to this subject.  I've a .wav file which has properties as given below.

General Information:
Name tag: CCITT u-Law
Name Format: 8.000 kHz, 8 Bit, Mono
Time: 00:00:04
Format Tag: 7
Bitrate: 64000
Bit per sample: 8
Cahnnels: 1
Samplerate: 8000

Tag information:
Microsoft CCITT G.711 A-Law and u-Law CODEC
Compresses and decompresses CCITT G.711 A-Law and u-Law audio data.
Copyright (c) 1993-1996 Microsoft Corporation

Now i need to convert this file into .mp3 with the property as given below

Bit rate               = 64 kbps
Audio Sample Size = 8 bit
Channels             = 1 ( Mono )
Audio Sample Rate = 8 khz
Audio Format        = CCITT u-Law

I tried with LAME, but it giving a warning like "File is corrupted/Unsupported format".
Eventhough LAME converting that file, but data was completely loss.

I need to know how to convert the above file into .mp3.  

Please give me a suggestion or sample code in c# to complete this task.

Thanks & Regards,
S. Ramkumar