从容器化应用程序中使用 Windows Server Media Foundation
我正在利用 Microsoft-WindowsAPICodePack-Shell (版本 1.1.0)和Microsoft-WindowsAPICodePack-Core (版本1.1.0) 用于读取音频和元数据视频文件(特别是持续时间)。到目前为止,该解决方案运行良好,部署在 Windows Server 2012 及更高版本上,并启用了 Windows Server Media Foundation 功能。然而,最近应用程序的托管已转移到容器(即 Docker),而不是标准的 Windows Server。
由于这一事实,Windows Server Media Foundation 默认情况下不再可用,因此我的实现已停止工作。容器管理员要求我将所有必要的依赖项捆绑到应用程序本身中,然后将其交付以进行部署。
问题是我不知道 WindowsAPICodePack-Shell 在后端到底使用什么,以便我可以包含它的所有必要依赖项。我的猜测是,它依赖于较低级别的 (C/C++) 库,该库预先填充文件的元数据,然后可以通过 WindowsAPICodePack 读取该数据。
有没有办法包含WindowsAPICodePack的相应依赖项,以便无论Windows Server Media Foundation是否可用,都可以安全地使用它?
I am utilizing Microsoft-WindowsAPICodePack-Shell (version 1.1.0) and Microsoft-WindowsAPICodePack-Core (version 1.1.0) for reading metadata of audio & video files (specifically duration). So far, this solution was working perfectly fine, deployed on Windows Server 2012 and above, with the Windows Server Media Foundation feature enabled. However, recently the hosting of the application has moved to containers (i.e. Docker), instead of standard Windows Server.
Due to that fact, the Windows Server Media Foundation was no longer available by default and so my implementation has stopped working. The administrators of the containers have required from me to bundle all of the necessary dependencies into the application itself and then ship it over for deployment.
The issue is that I am not aware what exactly does the WindowsAPICodePack-Shell utilize on the backend, so that I can include all of the necessary dependencies for it. My guess is that it relies on lower-level (C/C++) libraries, which pre-populate files' metadata and then that data could be read via the WindowsAPICodePack.
Is there a way to include the corresponding dependencies for the WindowsAPICodePack, so that it could be utilized safely, no matter if Windows Server Media Foundation is available or not?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论