Playlist Button

Jul 22, 2011 at 8:18 PM

When you press this, what is supposed to happen?

Jul 23, 2011 at 12:53 PM

A panel of thumbnails should appear above the timeline and show you the poster images/source thumbnails of items in your playlist.

Jul 23, 2011 at 1:21 PM
Thank you. I get an empty panel with my own playlist and also with the generated sample I get an empty panel. Perhaps there are no thumbnails in the video files

brandonpotter <notifications@codeplex.com> wrote:

>From: brandonpotter
>
>A panel of thumbnails should appear above the timeline and show you the poster images/source thumbnails of items in your playlist.
>
>
Jul 23, 2011 at 1:27 PM

When you add a PlaylistItem to your playlist, there is a property on each playlist item called ThumbSource. This is the URI to a thumbnail image that represents the video (located on your web server, etc).

For example, we generate thumbnails when we encode the video (just JPG files on a server) and then point the ThumbSource property to one of those JPG files for that video.

Jul 23, 2011 at 1:37 PM
Thanks again!

brandonpotter <notifications@codeplex.com> wrote:

>From: brandonpotter
>
>When you add a PlaylistItem to your playlist, there is a property on each playlist item calledThumbSource. This is the URI to a thumbnail image that represents the video (located on your web server, etc).For example, we generate thumbnails when we encode the video (just JPG files on a server) and then point the ThumbSource property to one of those JPG files for that video.
>
>
Jun 3, 2012 at 2:20 AM

There is also a GenerateThumbnails tool that makes use of Expression Encoder (can get that free using Microsoft Web Platform Installer [WebPI])

syntax: http://archive.msdn.microsoft.com/SMFThumbnailScrub/Wiki/View.aspx?title=GenerateThumbnails&referringTitle=ThumbnailScrubbing

download: http://archive.msdn.microsoft.com/SMFThumbnailScrub/Release/ProjectReleases.aspx?ReleaseId=5316

btw, the project that contains the GenerateThumbnails tool is a plugin that allows one to do thumbnail scrubbing like in YouTube (icons at various time positions are pre-generated on the server and then shown while you drag the timeline thumb)

Jun 12, 2012 at 3:35 PM

btw, I'd love to see a Microsoft Transform Manager (can get it using WebPI - Web Platform Installer) job that wraps the GenerateThumbnails tool. Has anyone worked on this?

Oct 1, 2012 at 12:51 PM

To follow up on GenerateThumbnails + Transform Manager, I'm looking into this:

(from http://msdn.microsoft.com/en-us/library/ff728120(v=vs.90).aspx)

"The following example shows the task-definition XML for a custom program task that uses the executable element."

<taskDefinition xmlns="http://schemas.microsoft.com/iis/media/v4/TM/TaskDefinition#"
 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
 xsi:schemaLocation="http://schemas.microsoft.com/iis/media/v4/TM/TaskDefinition#
       D:\oob\projects\mediapack\XFormFramework\Schemas\TaskDefinition.xsd">
    <id>A72D7A5D-3322-45f2-89B4-1FEC5457CC13</id>
    <name>Test Task</name>
    <description xml:lang="en">Used for validating manifest construction.</description>
    <inputFolder/>
    <outputFolder>Custom</outputFolder>
    <taskCode>
        <commandLine>"C:\Program Files\IIS\Transform Manager\bin\Task1.exe" {UserManifest} {FileName}.*** -log "c:\logfile"</commandLine>
    </taskCode>
</taskDefinition>
Oct 1, 2012 at 12:52 PM
Edited Oct 1, 2012 at 1:16 PM

although I don't know if one could use this http://msdn.microsoft.com/en-us/library/windowsazure/hh973624.aspx (from Azure Media Services) somehow with Transform Manager too

<?xml version="1.0" encoding="utf-16"?>
<Thumbnail Size="80,60" Type="Jpeg" Filename="{OriginalFilename}_{ThumbnailTime}.{DefaultExtension}">
  <Time Value="0:0:0"/>
  <Time Value="0:0:3" Step="0:0:0.25" Stop="0:0:10"/>
</Thumbnail>


update:

seems the answer on how to use the simple XML from the Azure Media Services site above with the Transform Manager is at the URL on "Custom Task Registration" I had at my previous post:

the help text  for property name="preset" with value="....720p CBR.xml" says "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.", so I guess the settings dialog for the Expression Encoder tasks already provided by Transform Manager have a "preset" field that one can point to the simple xml above to make the thumnails via Expression Encoder without calling the external GenerateThumbnails tool to automate EE.

Maybe one could even combine that XML with the given preset XML files (E.g. the one at "%ProgramData%\Microsoft\IIS\Transform Manager\Configuration\Presets\VC-1 IIS Smooth Streaming - 720p CBR.xml")

There's also the option of making a custom task type from one of the existing types (if I get it correctly), but guess it's not needed to if the Expression Encoder automation task accepts a presets XML file that can tell it to create thumbnails

---

"The following example shows the task-definition XML for a custom type to be loaded by the Task Engine. The example includes a type element under the taskCode element."

<taskDefinition xmlns="http://schemas.microsoft.com/iis/media/v4/TM/TaskDefinition#">
  <name>Expression Encoder 4</name>
  <id>A72D7A5D-3022-45f2-89B4-1DDC5457CC12</id>
  <properties namespace="http://schemas.microsoft.com/Expression/Encoder/V4#" prefix="ee">
    <property name="preset" required="true" value="%ProgramData%\Microsoft\IIS\Transform Manager\Configuration\Presets\VC-1 IIS Smooth Streaming - 720p CBR.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."/>
    <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="true" 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="true" value="%ProgramFiles(x86)%\Microsoft Expression\Encoder 4\Templates\en\Standard" helpText="The templateName directory path."/>
  </properties>
  <description xml:lang="en">Invokes Expression Encoder 4 to encode media files to Smooth Streams. Microsoft Expression Encoder 4 must be installed to use this task (H.264/AAC-LC encoding requires Expression Encoder 4 Pro). See http://go.microsoft.com/fwlink/?LinkID=186385.</description>
  <inputFolder></inputFolder>
  <outputFolder>EE4Output</outputFolder>
  <taskCode>
    <type architecture="x86" >Microsoft.Web.Media.TransformManager.EETask, Microsoft.Web.Media.TransformManager.EETask, 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.</configurationMessage>
  </configurationMessages>
</taskDefinition>
Oct 1, 2012 at 1:35 PM

regarding those XML presets for Expression Encoder http://forums.iis.net/p/1174471/1969754.aspx says "Those preset XML files are generated in Expression Encoder.  Open up EE4 and start a new Transcoding project.After you import a file and configure your encoding settings in the UI you can save your settings by selecting the little "gear" icon in the Encode tab. It has a small drop down arrow (easy to miss!) that says "save panel as preset".In that dialog you can then save it directly to the Transform Manager Presets folder or put it anywhere you like and refer to it from the Expression Encoder Task."