Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 27852

Create custom EE4 Task

$
0
0

Hello,

I am trying to create a custom Expression Encoder task which will just create a VC-1 Smooth Stream with Expression encoder. The problem is..when I 'Edit' the task inside Transform Manager it makes me specify the "templateName" and "templatePath". I do not want to include a silverlight/player template when I perform my transcoding. I know I could probably go about using a powershell solution but I would like to use the watch folder sysem of IIS.

I tried to edit the xml and set the 'templateName' and 'templatePath' variables to 'false' but that appears to break the task as I keep getting an error when I try to turn the watch folder on which states: "Error: not set to an instance of an object". My job  template is very simple:

<taskDefinition xmlns="http://schemas.microsoft.com/iis/media/v4/TM/TaskDefinition#"><name>Expression Encoder 4.0 SP2</name><id>ZBD7F4E5-1F18-4821-B239-F5B40B66F389</id><properties namespace="http://schemas.microsoft.com/Expression/Encoder/V4#" prefix="ee"><property name="preset" value="%ProgramData%\Microsoft\IIS\Transform Manager\Configuration\Presets\VC1Test.xml" helpText="The path to a valid encoding preset file that is exported from Microsoft Expression Encoder 4. A preset is a combination of encoding options and playback options that you can quickly apply to the content to be encoded." required="true" /><property name="createSubdirectory" value="false" helpText="Enables output of the encoded Smooth Streams to a folder that uses the naming convention MACHINENAME DATE TIME."/><property name="templateName" required="false" value="Standard" helpText="The name of the Microsoft Silverlight player template (for example, Standard) that is included with the transcoded output. The template specifies a particular skin (a stylized design that includes playback elements) that encases the encoded video."/><property name="templatePath" required="false" value="%ProgramFiles(x86)%\Microsoft Expression\Encoder 4\Templates\en\Standard" helpText="The templateName directory path."/><property name="useGPUs" required="false" value="" helpText="A comma-separated list of GPU IDs to use for GPU-accelerated encoding. -1 means use all available GPUs."/><property name="maxNumberGPUStreams" required="false" value="5" helpText="The maximum number of GPU streams that the Expression Encoder task will encode."/></properties><description xml:lang="en">Trying to create a custom VC-1 job with no template..</description><inputFolder></inputFolder><outputFolder>EE4Output</outputFolder><taskCode><type architecture="x86" >Microsoft.Web.Media.TransformManager.EETask, Microsoft.Web.Media.TransformManager.EE40SP2Task, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35</type></taskCode><configurationMessages><configurationMessage regKeyNotFound="HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Expression\Encoder\4.0" severity="Error" xml:lang="en">This task requires a licensed version of Microsoft Expression Encoder 4.0 SP2.</configurationMessage></configurationMessages></taskDefinition>

How would I go about just creating a really simple task that uses my job preset I created in Expression Encoder 4?? 


Viewing all articles
Browse latest Browse all 27852

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>