ffmpeg.exe:Windows Server 2008 R2 中缺少 MFPlat.dll

ffmpeg.exe : Missing MFPlat.dll in Windows Server 2008 R2

我正在使用 ffmpeg 将 .m3u8 播放列表转换为单个 mp4 文件。 我从 http://ffmpeg.org/download.html#build-windows 下载 Windows EXE 文件成功。 但是当我打开 ffmpeg.exe 时,会出现一条错误消息,指出缺少 MFPlat.dll。

花了很多时间我发现MFPlat.DLL是Windows Media Player的dll。 Windows Windows Server 2008 R2 Standard 中默认不安装媒体播放器。 为了克服这个问题,我们必须安装它。要安装,请按照以下步骤操作:

转到服务器管理器。

  1. 单击功能 → 添加功能。
  2. 选中“桌面体验”。
  3. 点击“安装”。
  4. 完成后重启电脑

按照这些步骤解决了我的问题。