简体   繁体   中英

Windows.winmd in azure worker role

I need process video (trim, encoding and other) in azure worker role. I found nothing .net library. But i found windows.media in windows kit (winrt - Winows.winmd file). I referenced this metadata to azure worker, but it does not work (Error: Requested Windows Runtime type 'Windows.Media.MediaProperties.MediaEncodingProfile' is not registered.) I expect that this is due to azure worker role have not COM object's. But worker role based on Windows Server 2012, who have it. Someone has an idea? Or how can i process video in azure worker role.

I think this has to do with the Media Foundation and some others desktop experience components not being installed by default on a server. You might need to write a startup task to install/enable features and maybe codecs you need.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM