Quantcast
Channel: naudio Work Item Rss Feed
Viewing all articles
Browse latest Browse all 738

Commented Unassigned: amr to wma using NAudio MFT [16421]

$
0
0
Hi Mark, while I am trying to convert amr file to wma the following exception I have encountered.
"Exception from HRESULT: 0xC00D36C4". Is there any way to convert amr file format to wma format or mp3 format.

```
public byte[] ConvertAMRToWMA( )
{
var data = new MediaFoundationReader("..\\amr\\sample.amr");
MediaFoundationEncoder.EncodeToWma(data, "..\\sampleamr.wma", 128000);
}

```
Comments: Thanks for quick replay !! I am hardly finding any code to decode amr file format. Do you know any 3rd party tool or C# wrapper to decode amr file?

Viewing all articles
Browse latest Browse all 738

Trending Articles