Window Support

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Wednesday, 15 April 2009

Overview of Live Smooth Streaming,Live Encoding and Streaming with Expression Encoder 2 – Part 8

Posted on 23:51 by Unknown

This is my last part of Silverlight 3 Lap around Series,It is not that much related to core Silverlight 3 but it share same capabilities which Silverlight provides, I would like to thank you all for your wonderful response and feedback throughout the series, I will surely follow it in my upcoming articles. I know I missed out Deep linking,Effects and few more small things, but I kept it for future discussion.

There is lot of discussion going around in Media Industry about Silverlight Streaming,Recently MIX09 was big example, We all know next Olympics are going to be supported by Silverlight 3, But Olympics and all are big thing, How we can empower our day to day apps which uses streaming that I am touching upon now. I am sure those who are planning for streaming, this will be initial guideline for them. This post will not contain any code,this will be full of screenshots, since everything is getting done via IIS 7.0 and other few tools.

Smooth Streaming :

It is bit hard to represent each and every step here, So I would like to redirect you to IIS Smooth Streaming where you will find step by step guide, Advantages of it etc. [Note : I have use “Big Buck Bunny” example as reference for my “Bear” example and I have use same infra too]. It is necessary to have Live Smooth Streaming Plug-in in your IIS 7.0, once you installed that you find the necessary plug-in inside your IIS like this :

IISStart

After creating Publishing point there, you can import your media in encoder like this :

Bhalu Then in order to create series of “ismv“ files you need to choose following options and do necessary settings like this :

BhaluSettings

You can see that, I have chosen “Adaptive Streaming”  in profile and if you see carefully, Output Mode is IIS Smooth Streaming, so now save this job and encode, then you will have series of ismv files inside job folder, copy those to your wwwroot and you can generate manifest using pushencoder32/64 exe file on command prompt,make sure that time on prompt you fire that command from your virtual directory and use your publishing point like this :

pushencoder32 <Url of Publishing Point> <ism-file>

so it will be like :

pushencoder32 http://localhost/LiveSmoothStreaming.isml “Bear.ism”

Point to be noted here that “isml” is nothing but the publishing point we added on our IIS, So now for output I am using same HTML page of Big Buck Bunny but with different URL so as to display my Bear video like this :

Output1

You can see that I am entering “Bear.ism” as presentation name and I can choose template from Silverlight player option, well this is Smooth Streaming and output is like this :

 Output4

You will now see much more things like Frame Rate and Max Bit Rate which you can adjust too, see this :

Framerate2

FramRate1

This is how you can do Smooth Streaming using IIS 7.0 in easy way, Read more on article given on IIS site.

Live Encoding and Live Streaming : 

You must have seen some Live streaming going on in Silverlight player on several site, I know there are several mechanism to do it, One of which I came across and which I feel simple is now I am sharing with you, For this you need IIS in place with Microsoft Expression Encoder 2 with its Service Pack. Open new job in Encoder and you will find following screen :

Livebutton

Click on “Live encoding” button, you will be then looking at following screen :

LiveConsole1

For this Live streaming, I have used my built-in laptop camera, you have freedom to choose your device from following settings :

LiveConsole3

From Device Configuration you can choose device and from Output options you have either File Archive or Streaming, I have chosen “Streaming”, Right now since I don’t have any server with me so I am using Local IIS, you can choose and give your desired location for live streaming in “Location” option along with the port.Links in output panel will guide you for options, once you done with selecting video device you will see the input from camera like this :

Cam

StreamingOne

So once you select video device and done with necessary audio settings you can click on “Launch Preview” button, which will create a sample HTML page which will host a silverlight player in it and will stream it whatever is input from camera it will stream it and you will be able to see it in your browser, In reality if you choose location it will render in your website like this :

StreamingTwo

Hope you will try this out, I am much into Media and jazzy UI design, so if there any feedback or suggestions from you,please let me know, would like to explore that too.I am sure,those who never look at streaming capabilities of Silverlight, they will surely will try this out.Meanwhile I will soon come with lots of new experiments and stuff in Silverlight, so keep visiting here.

Vikram.

Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • First Windows Phone 7 update February 2011 - Small update but Big start
    After tons of rumors and set of predictions on Windows Phone 7 all over Internet, Microsoft came up with first Windows Phone 7 minor update ...
  • The little Story of “I Unlock Joy” event by Microsoft and Pune User Group
      This post is about recent “I Unlock Joy” event happened in Pune which was conducted by Microsoft and Pune User Group. Little History : ...
  • Silverlight On Mobile : Windows Phone 7 Splash Screen and Customization
    After talking about 3D capabilities on Windows Phone 7 using Silverlight in last article , Now I am moving ahead with small but equally impo...
  • Silverlight 5 : Platform Invoke (PInvoke) in Silverlight
      Two days back Microsoft announced availability of Silverlight 5 RC,I encourage you to download bits from here , My friend Pete Brown alr...
  • Introduction to Speech Capabilities in Windows Phone 8 – Part 1
    After a long..I am writing blog, I hope and I wish I will resume blogging like I use to in past. Lots of things happened in past few months....
  • MCTS : Microsoft Silverlight 4 Development Exam Guide (70-506) by Packt Publishing
      Hello, After a long time I got chance to come back here.I will soon resume blogging in month of August. Last 4-5 months were horrible due...
  • Introduction to Speech Capabilities in Windows Phone 8 – Part 2
    Hope you enjoyed my last article on Speech Capability in Windows Phone 8, Today I am posting another part or you can say little extension t...
  • Silverlight 3 : Insert & Update Data using WCF Service with DataForm and DataGrid
    In my Lap around Silverlight 3 series, I have written a separate article on DataForm in Silverlight 3, This article is a basic extension to ...
  • Mango : Using DeviceStatus in Windows Phone 7.1
    First of all “Thank You” for your wonderful response and comments on my last article on Silverlight Vs HTML5 ,I hope you like the points I ...
  • Silverlight, HTML5 & Windows 8 : Where we are heading to ?
    This is not the post or yet another post on most happening debate of Silverlight and HTML5, This is just a visit to all of them to realize t...

Blog Archive

  • ►  2013 (4)
    • ►  August (1)
    • ►  April (3)
  • ►  2012 (4)
    • ►  July (1)
    • ►  March (2)
    • ►  January (1)
  • ►  2011 (24)
    • ►  December (1)
    • ►  September (4)
    • ►  August (2)
    • ►  July (1)
    • ►  June (4)
    • ►  May (3)
    • ►  April (3)
    • ►  March (1)
    • ►  February (4)
    • ►  January (1)
  • ►  2010 (21)
    • ►  December (1)
    • ►  November (2)
    • ►  October (3)
    • ►  September (2)
    • ►  August (4)
    • ►  July (5)
    • ►  May (1)
    • ►  April (1)
    • ►  March (1)
    • ►  January (1)
  • ▼  2009 (49)
    • ►  December (1)
    • ►  November (5)
    • ►  October (2)
    • ►  September (1)
    • ►  August (5)
    • ►  July (5)
    • ►  June (1)
    • ►  May (5)
    • ▼  April (5)
      • DataBinding in Blend 3 for Designers
      • Overview of Live Smooth Streaming,Live Encoding an...
      • Silverlight 3 : DataGrid Programming – Part 7
      • Silverlight 3 : Out of Browser Support – Part 6
      • Silverlight 3 : Creating Ads using Silverlight Adv...
    • ►  March (9)
    • ►  February (4)
    • ►  January (6)
  • ►  2008 (43)
    • ►  December (3)
    • ►  November (9)
    • ►  October (7)
    • ►  September (4)
    • ►  August (2)
    • ►  July (3)
    • ►  June (4)
    • ►  May (3)
    • ►  March (3)
    • ►  February (5)
Powered by Blogger.

About Me

Unknown
View my complete profile