Thursday 15 August 2013

Expression Encoder SDK - WMA Pro Codec Issues with Windows Server 2003 -


I am using the expression encoder SDK to signal. AV and Flash files are suitable for Silverlight. By default, EE encoded files with audio using the WMA Pro codec. If you are running Windows Server 2003, then this is a problem because it does not support WMA Pro codec and gives output and error messages similar to the following is.

  Error message: Audio profile settings do not match valid system profiles Error Source: Microsoft.Expression.Encoder Error Target Site: System.String GetProfileString ()  
< P> I'm looking for a way to change the default audio codec to something suitable for WS 2003.

I know that though that is not originally supported, however, Windows Media Player 11 is a highly invasive way to install and it is a codec on the 2003 WS but it has Registry tinkering and other hacks Which are not suitable for our production environments, in order to get the solution on the solution encoder SDK, there was an answer after too much tampering.

Encoder Media item itemTranscode = new encoder MediaTime (srcPath); ItemToTranscode.OutputFormat.AudioProfile.Codec = AudioCodec.Wma;

It works fine with Windows Server 2003 and fixes the problem.


No comments:

Post a Comment