如何将FileUploaded文件转换为.Mp3格式 [英] How to Convert FileUploaded File to .Mp3 format

查看:148
本文介绍了如何将FileUploaded文件转换为.Mp3格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在上传和保存到数据库期间将FileUpload文件(例如:.m4a)转换为.mp3格式?



这样当文件保存到数据库,它已经是.mp3格式。



这是场景。我创建了一个基于Web的应用程序,它使用闪存音频播放器(Nifty Player)支持音频。 .mp3文件播放效果不错但.m4a文件没有。



除了使用HTML5之外的任何建议吗?

或任何播放的音频播放器大多数音频文件类型?

解决方案

尝试使用此项目进行格式的后台转换(使用命令行): http://sox.sourceforge.net/ [ ^

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?

解决方案

Try this project for background conversion of the formats (use the command line): http://sox.sourceforge.net/[^]


这篇关于如何将FileUploaded文件转换为.Mp3格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆