• Composite Stream Manifest (CSM) Generator & Rough Cut Editor (RCE)

    Published by on May 27th, 2010 12:01 pm under Adaptive Streaming, Composite Stream Manifest, CSM, Emerging Technology, IIS7, Live Smooth Streaming, Media, RCE, Rough Cut Editing, Silverlight, Silverlight 3, Smooth Streaming, SSME

    7 Comments

    Weeks ago Microsoft published the Silverlight Rough Cut Editor (RCE), an application we created with Microsoft and that was used for the Vancouver 2010 Winter Olympics.

    One of the main features used during the Olympics was the ability to generate Composite Stream Manifests (CSM) based on projects the editors created using the Rough Cut Editor.

    Today, we are happy to announce that the Composite Stream Manifest generator code was just published on the RCE site on Code Gallery: http://code.msdn.microsoft.com/RCE.

    Once you download the source code package, you will find the following folder structure:

    image

    The ManifestGenerator folder contains the source code for the CSM generator and a WCF service ready to consume which converts your RCE projects into Composite Stream Manifests.

    The WCF service contains two operations:

    [ServiceContract]
    public interface IManifestGeneratorService
    {
        [OperationContract]
        string GetSubClipManifest(Uri manifestUri, double markIn, double markOut);
    
        [OperationContract]
        string GetManifest(string projectXml, string pbpDataStreamName, string adsDataStreamName);
    }

    • The GetSubClipManifest operation will generate a CSM of one clip. This operation is useful when you want to quickly generate a CSM based on a Mark In and Mark Out you set to a clip. The parameters expected are the clip manifest Uri and the mark in and mark out values (in ticks).
    • The GetManifest operation will generate a CSM based on an RCE project. This operation will allow you to convert all the cuts you made on the RCE into a manifest that can be played by the Smooth Streaming Media Element. The parameters expected are the RCE project xml and the desired names for the ads and markers text streams.

    The package also contains a test page that will allow you to test the service without having to deal with the WCF service. Thanks to JPG for the UI.

     image

    I hope this helps you to generate Composite Stream manifests. If you have questions, suggestions or comments, please visit us on the RCE forums.

     

    Happy editing!.

    Ez.

    kick it on DotNetKicks.com
    Shout it

    Tags: , , , , , , , , , ,

    • Yaroslav

      Hi, Ezequiel.
      I can`t make my SSME to play csm (*.isms work good).
      I`ve downloaded RCE project and tried to play one of the generated test csm-file (frame2.csm).
      But with no result. I see just black screen (without any errors/exceptions)
      Using Fiddler I caught request to the frame2.csm (it`s ok) and to the clientaccesspolicy (http://mediadl.microsoft.com/clientaccesspolicy.xml)
      But after these requests there are no requests for chunks.
      I`ve got IIS Media Services 4.0 Beta 1 and IIS Smooth Streaming Client 1.1 installed.
      I`ve also added .csm to the mimeTypes.
      What may be the reason of this? Could you help me?

    • Yaroslav

      Hi, Ezequiel.
      I can`t make my SSME to play csm (*.isms work good).
      I`ve downloaded RCE project and tried to play one of the generated test csm-file (frame2.csm).
      But with no result. I see just black screen (without any errors/exceptions)
      Using Fiddler I caught request to the frame2.csm (it`s ok) and to the clientaccesspolicy (http://mediadl.microsoft.com/clientaccesspolicy.xml)
      But after this request there are no requests for chunks.
      I`ve got IIS Media Services 4.0 Beta 1 and IIS Smooth Streaming Client 1.1 installed.
      I`ve also added .csm to the mimeTypes.
      What may be the reason of this? Could you help me?

    • Yaroslav

      Hi, Ezequiel.
      I can`t make my SSME to play csm (*.isms work good).
      I`ve downloaded RCE project and tried to play one of the generated test csm-file (frame2.csm).
      But with no result. I see just black screen (without any errors/exceptions)
      Using Fiddler2 I caught request to the frame2.csm (it`s ok) and to the clientaccesspolicy (http://mediadl.microsoft.com/clientaccesspolicy.xml)
      But after this request there are no requests for chunks.
      I`ve got IIS Media Services 4.0 Beta 1 and IIS Smooth Streaming Client 1.1 installed.
      I`ve also added .csm to the mimeTypes.
      What may be the reason of this? Could you help me?



Map

Categories