Hi is there any open source or paid api to convert any type of audio to mp3 format using c# and asp.net?
If anyone has experince plz suggest me.
Thanks in advance
Hi is there any open source or paid api to convert any type of audio to mp3 format using c# and asp.net?
If anyone has experince plz suggest me.
Thanks in advance
Gstreamer (a large open source media framework including playback,recording, streaming,editing and conversion of many media file types including mp3s)c# bindings probably but I'm not sure how good/stable they are especially on windows http://gstreamer.freedesktop.org/ http://gstreamer.freedesktop.org/releases/gstreamer-sharp/0.9.2.html
You could use ffmpeg. It will practically convert everything you'll feed it to mp3. You'll need a windows build (can be found here). Drop the ffmpeg folder into your project and execute commands using System.Diagnostics.Process. Example can be found here:
ucsharp.wordpress.com/2007/07/25/c-and-ffmpeg/
The ffmpeg command you could use:
ffmpeg.exe -b 192k -i yourinputfilespath output.mp3
There is also a c# wrapper for ffmpeg, but i never used it: code.google.com/p/ffmpeg-sharp/