English 中文(简体)
Expression Encoder SDK - WMA Pro Codec Issues with Windows Server 2003
原标题:

I am using the Expression Encoder SDK to encode .avi and Flash files to a .wmv format suitable for Silverlight. By default, EE encodes files with audio using the the WMA PRO codec. If you are running Windows Server 2003, this is a problem as it doesn t support the WMA PRO codec and produces and error message similar to the following.

Error Message: The Audio Profile settings do not match a valid system profile.
Error Source: Microsoft.Expression.Encoder
Error Target Site: System.String GetProfileString()

I am looking for a way to change the default audio codec to something suitable for WS 2003.

I am aware that although not supported natively, there is a highly invasive way to install Windows Media Player 11 and it s codecs on WS 2003 but this involves registry tinkering and other hacks not suitable for our production environments so that solution is out.

最佳回答

Found an answer after a a lot of tinkering not much out there for documentation on the Encoder SDK. To change the codec using the SDK:

Encoder.MediaItem itemToTranscode = new Encoder.MediaItem(srcPath); itemToTranscode.OutputFormat.AudioProfile.Codec = AudioCodec.Wma;

This works fine with Windows Server 2003 and solves the issue.

问题回答

暂无回答




相关问题
Max Outgoing Socket Connections in .NET/Windows Server

I have a slightly unusual situation where I m needing to maintain CLIENT tcp connections to another server for thousands of mobile users on my servers (basically the mobile devices connect to my ...

Update Full Name in Active Directory

I ve been thrust into the deep end with Active Directory (I m a web developer, go fig) I have a user that I ve changed first/last name on but the Full Name hasn t changed which is causing issues with ...

Does a 64-bit CruiseControl.NET exist?

Does a 64-bit CruiseControl.NET exist or do I need to install the 32-bit version? Our CI server is Server2003 64-bit. Currently I have been testing on WinXP Pro and no problems. If I do need to run ...

python app to exe not working on WinSRV2003

I created little app for sending out emails when something is wrong with server. Used py2exe to create exe file. While it is works absolutely fine on Win7 i have problems with running it on WinSRV2003....

热门标签