I have been working on making a simple audio transcoder using CSCore in Asp.Net Core (targeting full framework). Whilst Working developing the proof of concept on my development machine it works like a dream however when I deploy it to azure it seems that there is no Media Foundation on these instances. When trying to instantiate the MediaFoundationEncoder I get a DllNotFoundException
for mfplat.dll
. I assume that there is no means to get this to work on an azure webapp? Any help or alternative solutions welcome if no simple solution is possible.
Either wrap FFmpeg (you can bring the portable ffmpeg.exe
into your project, the App Service sandbox is fine with it), or hand off the encoding job to Media Services.
ffmpeg.exe
running in the App Service sandbox:
https://stackoverflow.com/a/38672885/4148708