Media Handler Pro can be used to create the MP3 file as a way to store a single segment of audio, commonly a song, such that the file can be easily organized and transferred between computers or other devices such as MP3 Players.
Below is some sample code that will help you to encode any video or audio to mp3 audio files. Example shown below is related with Media Handler Pro version 3.0.
// Sample code for encoding any format video to mp3 format.
_mhandler.FFMPEGPath = HttpContext.Current.Server.MapPath("~\\ffmpeg\\ffmpeg.exe");
_mhandler.InputPath = RootPath + "\\contents\\video";
_mhandler.OutputPath = RootPath + "\\contents\\mp3";
_mhandler.FileName = "sample.mp4";
// optional output filename
_mhandler.OutputFileName = "sample.mp3";
_mhandler.Video_Bitrate = 192;
_mhandler.Audio_Bitrate = 64;
_mhandler.Audio_SamplingRate = 48000;
string output = _mhandler.Encode_MP3();
// in case or error code see error code section for more detail.