Click here to Skip to main content
15,890,579 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to convert FileUpload files (for example: .m4a) to .mp3 format during uploading and saving to database?

So that when the file was saved to database, it is already in .mp3 format.

Here's the scenario. Im done creating a web based application which supports audio using flash audio player(Nifty Player). .mp3 files play nicely but .m4a files doesn't.

Any suggestion aside from using HTML5?
Or any Audio Player which plays most audio file types?
Posted
Updated 6-Jul-15 18:53pm
v2

1 solution

Try this project for background conversion of the formats (use the command line): http://sox.sourceforge.net/[^]
 
Share this answer
 
Comments
Kryle Quimpo 7-Jul-15 1:53am    
Sir Mehdi Gholam, is that a 3rd party application?

is it possible to convert the uploaded file to .mp3 format without using any third party application?
Mehdi Gholam 7-Jul-15 1:55am    
The very least you need a library since .net/windows does not support all file formats.
Kryle Quimpo 7-Jul-15 1:58am    
sir Mehdi, if that will fix the issue then I want to give it a try. Is there any library you recommend for me to use?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900