stwood/Microsoft-Media-Platform-Content-Manager — Issue #4: Help required on Media Platform Content Manager
Author: GuidoPochettino
Created: 2011-11-10 13:38:40+00:00
State: open

Hi,

Below is a query from a partner trying to implement Media Platform Content Manager on SharePoint 2010 for a customer in the Media & Advertising industry. They are stuck with some technical issues & looking for help.

I am not sure if this is the right DL… If not, can someone help me point to right DL/teams …

________________________________________
Requirement
Customer wants to create a central repository for all their creative work done by them from the year 1950 till date which includes various media files i.e. assorted type of Video files (avi, mpg, mpeg etc..) & image files (jpg).

The solution should have the following features:
1.	Auto generation of preview thumbnails for media files once the media files are uploaded in the system.
2.	Users should only be able to view/play the media files in the browser itself and cannot download the same. [Stream the videos in the browser itself]
3.	The media files should be searchable with search refinements, the search results should have a thumbnail preview view.
As a solution we are using opted for Media Platform Content Manager with SharePoint 2010 as a solution. So far we have deployed and configured MMPCM on a test server including IIS Transform Manager, IIS Media Services 4.0 & other prerequisites.

ISSUES
We are facing the following problems:
1.	The IIS Transform manager is converting the files pushed in wf-fileimport folder with different bitrate files & isvm extension including the thumbnail preview file. But after the conversion process is successfully completed on an average only 1 out of 10 files are uploaded to the SharePoint site and for the rest of the files we are getting the following error.
2011-10-18 19:12:40.1916 Information Machine name: ServerName.
2011-10-18 19:12:40.2854 Information Instance file name Test_Video_File.avi.
2011-10-18 19:12:40.2864 Information Creating output folder: C:\mmpcm\wf-fileimport\WorkQueue\Running\20111018134238_F83D33461870445AB1F944A0634EA2FC\7c4ee4d1-6221-491b-9432-207123f1eb32.
2011-10-18 19:12:42.6839 Information Preset file from preset property: C:\ProgramData\Microsoft\IIS\Transform Manager\Configuration\Presets\VC-1 IIS Smooth Streaming - 720p CBR.xml.
2011-10-18 19:12:42.6927 Information Template from templateName property: Standard.
2011-10-18 19:12:42.6927 Information Template path from templatePath property: C:\Program Files (x86)\Microsoft Expression\Encoder 4\Templates\en\Standard.
2011-10-18 19:12:42.7630 Audit Domain\user Expression Encoder Task transforming file: C:\mmpcm\wf-fileimport\WorkQueue\Running\20111018134238_F83D33461870445AB1F944A0634EA2FC\Test_Video_File.avi.
2011-10-18 19:12:46.2046 Information MediaItem.FileDuration: 00:00:07.0008125.
2011-10-18 19:12:46.2046 Information Applying preset to media item.
2011-10-18 19:12:46.2465 Information Begin encode.
2011-10-18 19:31:15.6651 Error Caught an exception while encoding media.
2011-10-18 19:31:18.0275 Error Microsoft.Expression.Encoder.EncodeErrorException
2011-10-18 19:31:18.0295 Error Unknown error encoding file.
2011-10-18 19:31:20.6204 Error at Microsoft.Expression.Encoder.MediaEncoder.Encode()
at Microsoft.Expression.Encoder.Job.Encode()
at Microsoft.Web.Media.TransformManager.EETask.Start()
2011-10-18 19:31:20.6214 Error Task.Start failed for task index: 1.
2011-10-18 19:31:21.7738 Error Microsoft.Expression.Encoder.EncodeErrorException: Unknown error encoding file.
2011-10-18 19:31:21.8353 Error at Microsoft.Expression.Encoder.MediaEncoder.Encode()
at Microsoft.Expression.Encoder.Job.Encode()
at Microsoft.Web.Media.TransformManager.EETask.Start()
at Microsoft.Web.Media.TransformManager.Wrapper.RunTaskCode(TaskStatus taskStatus, JobMetadata metadata, Logger logger, ITask task, Int32 taskIndex)
2011-10-18 19:31:21.8363 Error Microsoft.Expression.Encoder.EncodeErrorException: Unknown error encoding file.
2011-10-18 19:31:21.8372 Error Microsoft.Expression.Encoder.UnableToEncodeFileException: Exception from HRESULT: 0x813A0002
2011-10-18 19:31:23.3060 Error at MS.Internal.Expression.Encoder.Media.DShowEncode.Encode(EncodeSettings settings)
at Microsoft.Expression.Encoder.EncoderBase.EncodeFile(EncodeSettings settings)
at Microsoft.Expression.Encoder.MediaItemEncoder.CreateMediaFiles(PublishedItem item, List`1& rgScripts, PartualRebuildRulesItem rebuildItem, TimeSpan& markerOffset, String[]& manifestFiles, SimpleEncodeOptions[]& rgEncodeOptions, OutputFormatType& outputFormat)
at Microsoft.Expression.Encoder.MediaItemEncoder.EncodeItem(MediaItem item, PublishedItem& publishedItem)
2011-10-18 19:31:23.3139 Error System.Runtime.InteropServices.COMException: Exception from HRESULT: 0x813A0002
2011-10-18 19:31:25.0629 Error at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(Int32 errorCode)
at ThrowHRESULT(Int32 hr)
at MS.Internal.Expression.Encoder.Media.DShowEncode.Encode(EncodeSettings settings)
2011-10-18 19:31:25.3716 Error Exiting task id: 1.
2011-10-18 19:31:25.3716 Information UpdateStatus message: Unknown error encoding file.
2011-10-18 19:32:03.6079 Information Machine name: ServerName.
2011-10-18 19:32:03.6089 Information Instance file name Test_Video_File.avi.
2011-10-18 19:32:03.6089 Warning Task index 2 encountered job status Failed. Exiting.

2. Also the files which are uploaded are not playable and there is no thumbnail preview of the same, when we try to play the uploaded files we are getting the following error in Internet Explorer]

Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; .NET4.0C; .NET4.0E)
Timestamp: Tue, 18 Oct 2011 13:48:14 UTC
Message: Unhandled Error in Silverlight Application Play is not allowed when there is no source set. at Microsoft.Web.Media.SmoothStreaming.SmoothStreamingMediaElement.Play()
at Microsoft.SilverlightMediaFramework.Plugins.SmoothStreaming.SmoothStreamingMediaPlugin.Play()
at Microsoft.SilverlightMediaFramework.Core.SMFPlayer.Play()
at Microsoft.SilverlightMediaFramework.Core.SMFPlayer.PlayElement_Click(Object sender, RoutedEventArgs e)
at System.Windows.Controls.Primitives.ButtonBase.OnClick()
at System.Windows.Controls.Button.OnClick()
at System.Windows.Controls.Primitives.ButtonBase.OnMouseLeftButtonUp(MouseButtonEventArgs e)
at System.Windows.Controls.Control.OnMouseLeftButtonUp(Control ctrl, EventArgs e)
at MS.Internal.JoltHelper.FireEvent(IntPtr unmanagedObj, IntPtr unmanagedObjArgs, Int32 argsTypeIndex, Int32 actualArgsTypeIndex, String eventName)
Line: 1
Char: 1
Code: 0
URI: http://servername/Sample/Lists/Assets/DispForm.aspx?ID=8&Source=http%3A%2F%2Fservername%2FSample%2FLists%2FAssets%2FAllItems%2Easpx&ContentTypeId=0x0100B618612216A4432D9588CB51A91BBFEF002585906659204B8488EDD2ABF26A38710013D826D705FD264D91A1DB48F26BC8C6

3. The encoder [Transform Manager] creates 8 different bitrate files which we would like to restrict to as few as we can.

ASK/HELP Required
•	Assistance/Guidance to the partner on the approach.
________________________________________

Would appreciate any help here.

Regards,

Minen Mehta