1 / 27

Smooth Streaming in Silverlight with the Silverlight Media Framework

Smooth Streaming in Silverlight with the Silverlight Media Framework. By: Vince Bullinger Solution Design Group Iowa Code Camp VI 11/06/10. About Me. My name is Vince Bullinger Consultant with Solution Design Group Been a .Net consultant/developer since ’05 Got my MCSD in ’08

huyen
Download Presentation

Smooth Streaming in Silverlight with the Silverlight Media Framework

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Smooth Streaming in Silverlight with the Silverlight Media Framework By: Vince Bullinger Solution Design Group Iowa Code Camp VI 11/06/10

  2. About Me • My name is Vince Bullinger • Consultant with Solution Design Group • Been a .Net consultant/developer since ’05 • Got my MCSD in ’08 • I go to various UGs, conferences, etc. • Been in TechMasters since 11/08 • Married (2.5 yrs), live in St. Paul, WPI grad (‘04)

  3. First Things First • Who’s never used Silverlight before? • Who knows anything about SMF?

  4. Agenda • Is SMF right for you? • Path to SMF • What is the Silverlight Media Framework? • Background concepts, frameworks, tools • Getting Started with SMF • Demos. Lots of them

  5. Is SMF Right for You? • Do you need a robust media player? • Do you need to play Smooth Streaming content? • Do you need to easily track media events? • Do you need an extensive, extensible media framework?

  6. Path to SMF • Media Element • Deliver audio/video playback • Progressive download • Streaming (not Smooth Streaming) • DEMO • Silverlight Video Player: Joel Neubeck/Tim Heuer • DEMO

  7. What is SMF? • Smooth Streaming media player • Robust • Scalable • Customizable • DVR capabilities • Framework from best practices of media player • Wimbledon • Sunday Night Football • Olympics • Open source

  8. What Can SMF Do? • Robust media player in a simple XAML control • Deliver Smooth Streaming content • Extensive plug-in API • Support for Silverlight Analytics Framework • JavaScript API • Support for Managed Extensibility Framework

  9. This is What SMF Can Do:

  10. Background Concepts • Progressive download • Streaming (not Smooth Streaming) • Smooth Streaming

  11. Progressive Download • A.k.a. “HTTP streaming” • Not streaming at all • Client plays media during download • As quickly as it can • “Buffering…” • Can not fast forward until download complete • DEMO

  12. Regular Streaming • Multiple versions of a file w/different qualities • Can determine what quality media to send • Sends information for points in media • Allows for going back/forth w/minimal penalty • Can begin playback anywhere in media • Server can monitor what parts are played • More efficient bandwidth usage • DEMO

  13. Smooth Streaming • Adaptive streaming of media • Feature in IIS7 (w/IIS Media Services) • Highest quality with no buffering • Delivers chunks of video at a time • Can change quality level mid-streaming • Bandwidth • CPU usage • DEMOS

  14. Smooth Streaming Demo

  15. JavaScript API Demo

  16. Expression Blend Demo

  17. Customized SMF Player Demo

  18. Getting Started with SMF • http://smf.codeplex.com/ • Source code • Visual Studio templates • Sample projects • Install IIS Media Services to deliver Smooth Streaming • Expression Encoder to make Smooth Streaming content

  19. Expression Encoder • Version 1: video editing • 2: VC-1 codec • 2, service pack 1: H.264, AAC encoding • 3: Zune HD, Xbox 360, iPod Touch, Facebook, YouTube, screen capture • 4: IIS live Smooth Streaming, create Smooth Streaming content • DEMO

  20. Silverlight Analytics Framework • Extensible Web Analytics Framework for Silverlight, WPF, WP7 • Support for many analytics services • Google Analytics • Omniture • Many, many more • Boring: no demo!

  21. Managed Extensibility Framework • Library in Silverlight 4 for building applications that can be incrementally extended • Provides standard way for host app to expose itself, consume external extensions • Discovery approaches for apps to locate, load extensions • Allows tagging extensions w/additional metadata which facilitates rich querying, filtering • Tangential: no demo!

  22. Plugins

  23. Plugins • Logging; add UI elements; load timeline markers, chapters and captions; takeover media playback • Add completely new behavior • Load plugins deployed with an SMF application • Load external XAP files containing plugins over the network • Easily host, share plugins w/just the plugin’s URL • Boring, time consuming: no demo!

  24. Advertising Demo

  25. Windows Phone 7 Demo

  26. Q&A • Questions? Softballs only! • Comments? • Thanks for coming • If you liked my presentation, fill out evaluation • If you didn’t, don’t worry about the evaluation

  27. Links • http://bit.ly/99qpDh - Zip file w/Source, PowerPoint • http://www.vincebullinger.com/ • http://techmasters-tc.com/ • http://smf.codeplex.com/ • http://www.silverlight.net/learn/videos/silverlight-media-framework/ • http://www.streamingmedia.com/Conferences/East2010/presentations/SMEast2010-Microsoft.pdf • http://msaf.codeplex.com/ • http://mef.codeplex.com/

More Related