Udostępnij za pośrednictwem


How to: Silverlight Streaming

I’ve received a fair amount of inquiries about how to do a Silverlight Screencast so I decided that it would be good to make a post about it. Here are the quick steps; these are not “official” steps but what I did to make mine work based on documentation from several places.

Content creation and encoding

1. Create you video. If you are doing a screen capture you will need something like autorecorder, windows media encoder or camtasia; these are just recommendations, it really doesn’t matter the tool you use to create your video as long as it outputs standard files (e.g. avi, wmv)

2. Import and encode your video using Microsoft Expression Encoder; the encoder will give you a bunch of options to package your video; you should choose the one that better suits your needs but you MUST select a “Job output” template (e.g. the template cannot be blank).

Packaging and hosting

3. Get (if you haven’t) a Silverlight streaming account using you WLID. You will need your Account ID and Account Key to make your content work.

4. The output of 2 above will be a wmv already encoded for Silverlight streaming as well as some other files. Now, to package you application and publish it into the Silverlight streaming service there are two ways to get it done, the easy way and the hard way.

a. The easy way is pretty simple, download the Expression Encoder Plug-in and “publish” your application after you encode it. The plug-in will add a “publish” section in the “Output” tab; after you encode a file the publish button will get enabled.

b. The hard and more instructive way is to follow these instructions

Including the content on you web page/blog

5. Once you have published your content to the Silverlight streaming service the easiest way is to use an IFrame/link and point it to:

https://silverlight.services.live.com/invoke/ [your_account_id]/[App_name] /iframe.html

 

Where your app name is the one you specified when uploading your app and your account id is the one that Silverlight streaming gives you; you can get that info by visiting the “Manage applications” section of your Silverlight streaming account; that section will also give you more scripts and ways you can include your content into your webpage.

 

Hope the above helps

Useful links

https://dev.live.com/silverlight/

https://msdn2.microsoft.com/en-us/library/bb851621.aspx

Comments

  • Anonymous
    January 11, 2008
    I don't normally post links to my blog but this one is so cool and it's really worth it. So here it goes...

  • Anonymous
    January 11, 2008
    I don't normally post links to my blog but this one is so cool and it's really worth it. So here

  • Anonymous
    January 28, 2008
    For few months I have been thinking of building arcade game player. I mean that I would create application

  • Anonymous
    January 29, 2008
    For few months I have been thinking of building arcade game player. I mean that I would create application