NoDriver calling acmFormatSuggest on Azure

本小妞迷上赌 提交于 2019-12-13 07:26:02

问题


I am Using NAudio for getting MP3 file information as well merging 2 or more MP3 files. It works fine on localhost but when I publish the site on AZURE it throws error "NoDriver calling acmFormatSuggest"


回答1:


I assume that you are trying to use something that is not installed on the machine in Azure - in your case it is ACM MP3 decoder. On a client Windows it can be pre-installed, but i do not think that server Windows can have it. Also i suspect that something like that will not be allowed to run on Azure Web Apps (it looks like you are trying to use that).

So, i would suggest you to use Virtual Machine for that and install needed components here or use something software-based. I have found:

new Mp3FileReader(stream,wave=> new DmoMp3FrameDecompressor(wave))

It looks like it can be used in your case. Could you please try?




回答2:


As Alex has said, it is because the MP3 codecs (both ACM and DMO) are not present on the server. Your options are to find a way to install them, or to use a fully managed MP3 decoder such as NLayer instead.



来源:https://stackoverflow.com/questions/36713713/nodriver-calling-acmformatsuggest-on-azure

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!