检查音频文件的比特率 [英] check bit rate of audio file
本文介绍了检查音频文件的比特率的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在ASP .net c#中上载时,如何检查音频文件的比特率?有人可以帮忙吗?
How can i check bitrate of an audio file while uploading in ASP .net c# ? Can anyone help please?
推荐答案
也许您应该看看以下内容: [
Maybe you should take a look at this: [Reading MP3 Headers]
哪种音频文件?如果它是MP3,您如何建议处理可变比特率的文件?
What kind of audio file? If it''s a MP3, how do you propose handling variable bit rate files?
我想在我的网站上上传mp3文件.上传后,我想显示一条成功消息和歌曲详细信息,其中将包含比特率,歌曲的总大小和持续时间.
谢谢.
===========
来自JSOP:有许多示例描述了mp3文件头的读取. Google是您的朋友.只是有点学究,您无法真正在文件上传时检查比特率.您必须在上传过程之前或之后执行此操作.问问题时要更精确.
===========
上传过程完成后,我就要做.
I want to upload an mp3 file in my web site. While uploaded i want to show a success message and the song detail which will contain the bit rate,total size and duration of the song.
Thank you.
============
From JSOP: There are many examples describing the reading of mp3 file headers. Google is your friend. And just to be a bit pedantic, you can''t really check the bitrate *while* the file is being uploaded. You have to do it before or after the upload process. Be more precise when asking a question.
============
I''ve to do it after the upload process is done.
这篇关于检查音频文件的比特率的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文