SlideShare uma empresa Scribd logo
1 de 56
Topics
  Delivery mechanisms for Silverlight video
  Hands-on Encoding with Expression Encoder
  Best practices for encoding for Silverlight
Goals
  Deliver content with compelling quality
  Maximize ROI for encoding and delivery
Two most-common audio/video delivery
mechanisms...
    Progressive
                                          Streaming
     Download
   Simple send-and-forget HTTP
                                      Dynamically managed transfer
   delivery of an audio/video file
                                      of audio/video content received
    that starts to play after a few
                                        in real-time without caching
  seconds of downloading to disk



                                      Scenario: Delivering to mobile
  Scenario: Adding simple media
                                      devices and broadcasting live
  delivery to existing web servers
                                                 events
HTTP Progressive Download


                Get abc.wmv

                 200 OK


                 abc.wmv
Pros
  Easy management and configuration
  Low server resource usage
  Supports Secure Socket Layer (SSL)
  Works with standard firewalls, caches, proxies
Cons
  No Live Broadcast
  No Advanced FF/RW
  Long buffering when data rate higher than
  connection speed
Streaming
                        Describe abc.wmv

       abc.wmv          Header Response
        Header             Header


       SSS          Setup abc.wmv Stream 2 & 3
       123              Setup Response



                          Play abc.wmv

                         Play Response

                 S2: sample3 … sample2… sample1

                 S3: sample3 … sample2… sample1
Pros
  Many basic and advanced media features
  Bandwidth optimization
  Enables live broadcasting
Cons
  Requires separate management infrastructure
  Can’t deliver content encoded at a higher
  bitrate than connection speed
Enterprises                                   WMS   IIS
  On-demand training (e.g. compliance)         X     X
  Live executive broadcast (e.g. Town Hall)    X
  Programmed broadcast (e.g. CorpTV)           X
  Product promotion on corporate Web site      X    X

Internet (usually with ads)                 WMS     IIS
   Social networking videos                  X       X
   Movie trailers                            X       X
   News & Entertainment clips                X       X
   Music & movie services (subscription/PPV) X       X
   Pre-programmed Internet Radio/TV          X       X
   Radio + television rebroadcasts           X       X
   Live Webcasts                             X
Media delivery on top of Server 2008’s IIS 7
  Bit Rate Throttling
  Web Server Playlist (see Ed Maia’s session)
Adds basic streaming advantages to
traditional progressive download
Available as a free download from
www.iis.net
Outsource the media distribution
  Silverlight.Live.com
  Content Delivery Networks (CDNs)
  For most content delivered to the public

Do it yourself with Windows Server 2008
  Using IIS 7 + IIS 7 Media Pack
  Using Windows Media Services 2008
  Very popular for internal enterprise LAN/WAN
  Use origin server internally that pushes to CDN
Windows Media 9 in 2003 defined platform
Most mature, media platform available
Scales from phones to HD
Silverlight is the future of WMV on the web
Mature live streaming/encoding tools
   Up to broadcast-grade rackmount systems
   Already capable of HD streaming today
Big ecosystem of encoding tools
   WMV encoding out of the box in nearly all
   compression products
Integration into major editing platforms
   Can ingest and edit in variety of NLE tools
   Lossless editing and insertion into files
Great quality and efficiency
   Video and audio
Better decode performance
   Up to 2x pixels/second of H.264
     That means better battery life as well
Large existing libraries of content
It's just Windows Media!
  Most existing files, URLs, and servers work
Media features baked into runtime
  No dependency on OS codecs
Video codecs
  WMV 7/8/9 and 9 Advanced Profile
Audio codec
  Windows Media Audio in Silverlight 1.0
  Windows Media Audio Pro new in Silverlight 2
    Offers 2x compression efficiency for 32-96 Kbps
MP3 files also supported
…for designers
  Deliver the vision
  Quickly, and with a lowered aspirin budget
…for developers
  Programmable object model for automation
  Adaptive preprocessing automatically
  optimizes for video format
…for the business
  Faster encoding (up to 4x faster than 1.0)
  Lower bandwidth costs for same quality level
  Greater operator productivity
Basic-encoding is super-simple
  Source is automatically recognized
  Output profiles adapt to source
No need to do any customization to get
good results with most content
  But there’s always tweaking for that last 10%…
Silverlight provide a great HD experience
Tweaking setting can provide optimal results
Can trade off time for quality/efficiency
  Better quality for given playback machine
  Lower bandwidth costs
VBR encoding maximizes bang for the bit
for downloads
Silverlight can provide rich presentations
  Chapters with links and icons
  Subtitles
VC-1 is great for delivering screen content
  Actually better than old Screen codec for Vista
Silverlight Streaming a simple, powerful
delivery platform
  Just keep content under 1400 Kbps peak
Topics
  Capturing
  Preprocessing
  Encoding
  Advanced codec settings
Goal
  Improved quality
  Improved compression efficiency
       Better quality at same data rate
       Same quality at lower data rate
  Optimize cost per minute of video
Better end user experience
  Bad video is fatiguing
  Bad audio is extremely fatiguing
  Fatigued customers leave sooner
Reduced bandwidth cost
  Can deliver optimal experience with fewer bits
  So lower cost per view
Increased audience size
  Lower data rates means more users can
  experience the content
Capture native bitstream or uncompressed
  DV, DVCPRO HD as native bitstream
  Other formats as uncompressed
Access earliest generation possible
  Most VHS tapes didn’t get posted on VHS!
  Ripping from DVD also sub-optimal
Avoid analog to DV bridges
Digital export from NLE works great
Everything we do to the video and audio
between the source and the codec
Biggest single factor in good-looking video
  Best a codec can do is match the source
For challenging projets, I spend ~80% of my
keyboard-and-mouse time on preprocessing
Video monitors don’t go to edges
Computers do
Crop edge blanking
For <320x240, can crop to safe area
Crop letterboxing out as well
  Silverlight is excellent at black rectangles
Makes image proper size and shape
Correct for 16:9 and non-square source
Web video doesn’t need to be 4:3
Match aspect ratio of cropped source
  4:3 720x480 to quarter size:
    Right: 320x240
    Wrong: 360x240
  16:9 720x480 to quarter size:
    Right: 432x240
    Wrong: 360x240
4:3
                720x480 4:3 square pixel




                                     (Mis) Corrected to 16:9
  Corrected to 4:3
16:9             720x480 16:9 square pixel




 (Mis) Corrected to 4:3                Corrected to 16:9
Nearest Neighbor
   Horrible blocky quality – don’t use it!
Bilinear
   Fast, decent for 50-100% change in size
Bicubic
   Good quality, appropriate default
Lanczos
   Slightly sharper than Bicubic for downscale
Super Sampling
   Best results for upscale
Silverlight uses progressive video
  For 60i/50i, deinterlace to progressive
  For video telecined from film, use inverse
  telecine to restore 24p
    Look for repeating pattern of three progressive and
    two interlaced frames
  If it’s progressive, leave it alone!
Expression Encoder
  Auto Pixel Adaptive normally best quality
    And will turn itself off for most progressive sources
  Bob modes are faster but lower quality
Features from the VC-1 Encoder SDK
Most users can use Presets for overall
quality/speed balance
But advanced modes for enterprising
compressionists
Advanced Modes can
  Tune encoding for special case content
    Screen recordings, animation, film grain
  Improve compression efficiency
    Trade off more encoding time for bandwidth savings
CBR
  Varies quality to keep bitrate constant
  Single-pass encode in EEv2
  Gives a flat bitrate without bitrate spikes
  Required for streaming
  Also use when performance limits bitrate
Peak Limited VBR
  2-pass encode (only increases time 10-40%)
  Varies bitrate to keep quality constant
  Saves on file size for progressive download
0-5 value for speed and precision of encode
Each level about half speed of previous
But improves quality and efficiency
Complexity 3 a good default
  Higher doesn’t improve quality much
  Lower hurts quality quite a lot
Complexity 4 fine for high value content
Live adjusts complexity to match hardwware
ROI tradeoff between encode time and
delivery cost
Adaptive Deadzone
  Emphasizes preserving “coarse” textures like
  film grain at expense of smooth regions
  Recommendation:
    Use “Conservative” with grainy content
    Off with clean content
Dquant (Differential Quantization)
  Different blocks compressed different levels
  Recommendation
    Off for most content (most efficient)
    Try I + P good for very smooth images (underwater)
    I-Frame DQuant great for screen recordings
B-Frames
  B-Frames need fewer bits for same quality
  Improves quality for flash/strobe frames
  Recommendations
    1 B-frame optimal for most video/film source
    2 B-frames useful for cel and CGI animation
    4 B-frames great for screen recordings
Other options as default for normal use
  Scene Change Detection: On
  Adaptive GOP: On
  Closed GOP: Off
Chroma Search
  Finds changes in color when brightness fixed
    Especially for motion graphics, animation
  Recommendation
    Adaptive or Full True for highest quality
Match Method
  SAD is fast, Hadamard slow, sometimes better
  Recommendation: Adaptive for best quality
Search Range
  Higher is slower, but finds faster motion
  Recommendation: Macroblock Adaptive
Loop Filter
  Adaptively Reduces blockiness
  Recommendation: On
Overlap Filter
  Smooths image to reduce blockiness
  Recommendation: On if visible artifacts
Denoise
  Recommendation: On if noisy source
Edge Noise Removal
  Recommendation: Crop edge noise instead
Finds where color changes but brightness
doesn’t
Quality improvements with colorful content
  Crowd shots, motion graphics in particular
Modes:
  Luma only (default)
  Adaptive Integer chroma (fast and useful)
  Adaptive True chroma (good quality/speed mix)
  Full Integer chroma
  Full True Chroma (best, slowest)
Ben.Waggoner@microsoft.com

www.on10.net/blogs/benwagg
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.
The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market
     conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation.
                                 MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Encoding Video for Microsoft Silverlight

Mais conteúdo relacionado

Mais procurados

Video Transcoding Terms Explained
Video Transcoding Terms Explained Video Transcoding Terms Explained
Video Transcoding Terms Explained nerodude
 
Video Workshop by Frederick Rodrigues
Video Workshop by Frederick RodriguesVideo Workshop by Frederick Rodrigues
Video Workshop by Frederick RodriguesDan MacKinlay
 
Choosing the Segment Length for Adaptive Bitrate Streaming
Choosing the Segment Length for Adaptive Bitrate StreamingChoosing the Segment Length for Adaptive Bitrate Streaming
Choosing the Segment Length for Adaptive Bitrate StreamingBitmovin Inc
 
Network Virtualization in Windows Server 2012
Network Virtualization in Windows Server 2012Network Virtualization in Windows Server 2012
Network Virtualization in Windows Server 2012Lai Yoong Seng
 
Jabber design and configuration
Jabber design and configurationJabber design and configuration
Jabber design and configurationsolarisyougood
 
20 christian ferber xen_server_6_workshop
20 christian ferber xen_server_6_workshop20 christian ferber xen_server_6_workshop
20 christian ferber xen_server_6_workshopDigicomp Academy AG
 
TSM seminar 6.3-6.4
TSM seminar 6.3-6.4TSM seminar 6.3-6.4
TSM seminar 6.3-6.4Solv AS
 
A Guide To Sametime 9.0.1 Audio & Video
A Guide To Sametime 9.0.1 Audio & VideoA Guide To Sametime 9.0.1 Audio & Video
A Guide To Sametime 9.0.1 Audio & VideoGabriella Davis
 
C3 Citrix Cloud Center
C3 Citrix Cloud CenterC3 Citrix Cloud Center
C3 Citrix Cloud CenterRui Lopes
 
Overview of video file formats for Multimedia Students
Overview of video file formats for Multimedia StudentsOverview of video file formats for Multimedia Students
Overview of video file formats for Multimedia StudentsSEO SKills
 
Di workflow thierry perronnet
Di workflow   thierry perronnet Di workflow   thierry perronnet
Di workflow thierry perronnet Thierry Perronnet
 
Digitizing and Delivering Audio and Video
Digitizing and Delivering Audio and VideoDigitizing and Delivering Audio and Video
Digitizing and Delivering Audio and VideoJenn Riley
 

Mais procurados (20)

Video Transcoding Terms Explained
Video Transcoding Terms Explained Video Transcoding Terms Explained
Video Transcoding Terms Explained
 
High Definition Videoconferencing
High Definition VideoconferencingHigh Definition Videoconferencing
High Definition Videoconferencing
 
Video Workshop by Frederick Rodrigues
Video Workshop by Frederick RodriguesVideo Workshop by Frederick Rodrigues
Video Workshop by Frederick Rodrigues
 
Choosing the Segment Length for Adaptive Bitrate Streaming
Choosing the Segment Length for Adaptive Bitrate StreamingChoosing the Segment Length for Adaptive Bitrate Streaming
Choosing the Segment Length for Adaptive Bitrate Streaming
 
Network Virtualization in Windows Server 2012
Network Virtualization in Windows Server 2012Network Virtualization in Windows Server 2012
Network Virtualization in Windows Server 2012
 
Jabber design and configuration
Jabber design and configurationJabber design and configuration
Jabber design and configuration
 
Language Weaver
Language WeaverLanguage Weaver
Language Weaver
 
Video Digitization
Video DigitizationVideo Digitization
Video Digitization
 
20 christian ferber xen_server_6_workshop
20 christian ferber xen_server_6_workshop20 christian ferber xen_server_6_workshop
20 christian ferber xen_server_6_workshop
 
Video formats
Video formatsVideo formats
Video formats
 
TSM seminar 6.3-6.4
TSM seminar 6.3-6.4TSM seminar 6.3-6.4
TSM seminar 6.3-6.4
 
A Guide To Sametime 9.0.1 Audio & Video
A Guide To Sametime 9.0.1 Audio & VideoA Guide To Sametime 9.0.1 Audio & Video
A Guide To Sametime 9.0.1 Audio & Video
 
C3 Citrix Cloud Center
C3 Citrix Cloud CenterC3 Citrix Cloud Center
C3 Citrix Cloud Center
 
Codecs
CodecsCodecs
Codecs
 
Overview of video file formats for Multimedia Students
Overview of video file formats for Multimedia StudentsOverview of video file formats for Multimedia Students
Overview of video file formats for Multimedia Students
 
Delphix
DelphixDelphix
Delphix
 
Di workflow thierry perronnet
Di workflow   thierry perronnet Di workflow   thierry perronnet
Di workflow thierry perronnet
 
05 vdo
05 vdo05 vdo
05 vdo
 
Bb feb2005
Bb feb2005Bb feb2005
Bb feb2005
 
Digitizing and Delivering Audio and Video
Digitizing and Delivering Audio and VideoDigitizing and Delivering Audio and Video
Digitizing and Delivering Audio and Video
 

Destaque

Working with Data and Web Services in Microsoft Silverlight 2
Working with Data and Web Services in Microsoft Silverlight 2Working with Data and Web Services in Microsoft Silverlight 2
Working with Data and Web Services in Microsoft Silverlight 2goodfriday
 
Easter Inspirational Poems
Easter Inspirational PoemsEaster Inspirational Poems
Easter Inspirational Poemsgoodfriday
 
Virgins, Spaceships and Hob-nailed Boots!
Virgins, Spaceships and Hob-nailed Boots!Virgins, Spaceships and Hob-nailed Boots!
Virgins, Spaceships and Hob-nailed Boots!goodfriday
 
March 16th 2008 Palm Sunday Sermon by Fr Perry
March 16th 2008 Palm Sunday Sermon by Fr PerryMarch 16th 2008 Palm Sunday Sermon by Fr Perry
March 16th 2008 Palm Sunday Sermon by Fr Perrygoodfriday
 
3rd Sunday of Easter :: op-stjoseph.org
3rd Sunday of Easter :: op-stjoseph.org3rd Sunday of Easter :: op-stjoseph.org
3rd Sunday of Easter :: op-stjoseph.orggoodfriday
 
Effective User Interfaces in Windows Presentation Foundation and Microsoft Si...
Effective User Interfaces in Windows Presentation Foundation and Microsoft Si...Effective User Interfaces in Windows Presentation Foundation and Microsoft Si...
Effective User Interfaces in Windows Presentation Foundation and Microsoft Si...goodfriday
 
Creating Rich, Dynamic User Interfaces with Silverlight 2
Creating Rich, Dynamic User Interfaces with Silverlight 2Creating Rich, Dynamic User Interfaces with Silverlight 2
Creating Rich, Dynamic User Interfaces with Silverlight 2goodfriday
 
Improving UX through Application Lifecycle Management
Improving UX through Application Lifecycle ManagementImproving UX through Application Lifecycle Management
Improving UX through Application Lifecycle Managementgoodfriday
 
Narine Presentations 20051021 134052
Narine Presentations 20051021 134052Narine Presentations 20051021 134052
Narine Presentations 20051021 134052goodfriday
 

Destaque (9)

Working with Data and Web Services in Microsoft Silverlight 2
Working with Data and Web Services in Microsoft Silverlight 2Working with Data and Web Services in Microsoft Silverlight 2
Working with Data and Web Services in Microsoft Silverlight 2
 
Easter Inspirational Poems
Easter Inspirational PoemsEaster Inspirational Poems
Easter Inspirational Poems
 
Virgins, Spaceships and Hob-nailed Boots!
Virgins, Spaceships and Hob-nailed Boots!Virgins, Spaceships and Hob-nailed Boots!
Virgins, Spaceships and Hob-nailed Boots!
 
March 16th 2008 Palm Sunday Sermon by Fr Perry
March 16th 2008 Palm Sunday Sermon by Fr PerryMarch 16th 2008 Palm Sunday Sermon by Fr Perry
March 16th 2008 Palm Sunday Sermon by Fr Perry
 
3rd Sunday of Easter :: op-stjoseph.org
3rd Sunday of Easter :: op-stjoseph.org3rd Sunday of Easter :: op-stjoseph.org
3rd Sunday of Easter :: op-stjoseph.org
 
Effective User Interfaces in Windows Presentation Foundation and Microsoft Si...
Effective User Interfaces in Windows Presentation Foundation and Microsoft Si...Effective User Interfaces in Windows Presentation Foundation and Microsoft Si...
Effective User Interfaces in Windows Presentation Foundation and Microsoft Si...
 
Creating Rich, Dynamic User Interfaces with Silverlight 2
Creating Rich, Dynamic User Interfaces with Silverlight 2Creating Rich, Dynamic User Interfaces with Silverlight 2
Creating Rich, Dynamic User Interfaces with Silverlight 2
 
Improving UX through Application Lifecycle Management
Improving UX through Application Lifecycle ManagementImproving UX through Application Lifecycle Management
Improving UX through Application Lifecycle Management
 
Narine Presentations 20051021 134052
Narine Presentations 20051021 134052Narine Presentations 20051021 134052
Narine Presentations 20051021 134052
 

Semelhante a Encoding Video for Microsoft Silverlight

Audio and Video streaming.ppt
Audio and Video streaming.pptAudio and Video streaming.ppt
Audio and Video streaming.pptVideoguy
 
Best practices for live streaming
Best practices for live streamingBest practices for live streaming
Best practices for live streamingAlden Fertig
 
Streaming Overview Final.ppt
Streaming Overview Final.pptStreaming Overview Final.ppt
Streaming Overview Final.pptVideoguy
 
Streaming Overview Final.ppt
Streaming Overview Final.pptStreaming Overview Final.ppt
Streaming Overview Final.pptVideoguy
 
Streaming Overview Final.ppt
Streaming Overview Final.pptStreaming Overview Final.ppt
Streaming Overview Final.pptVideoguy
 
Streaming Overview Final.ppt
Streaming Overview Final.pptStreaming Overview Final.ppt
Streaming Overview Final.pptVideoguy
 
Design in Motion: Video Production Workflow
Design in Motion: Video Production WorkflowDesign in Motion: Video Production Workflow
Design in Motion: Video Production Workflowgoodfriday
 
Windows7: Video Improvements
Windows7: Video ImprovementsWindows7: Video Improvements
Windows7: Video Improvementswonderu
 
Audio and video streaming
Audio and video streamingAudio and video streaming
Audio and video streamingRohan Bhatkar
 
Open Presentation
Open PresentationOpen Presentation
Open PresentationJason Lysak
 
Video Streaming Ali Saman Tosun
Video Streaming Ali Saman TosunVideo Streaming Ali Saman Tosun
Video Streaming Ali Saman TosunVideoguy
 
Architecting a Video Encoding Strategy Designed For Growth
Architecting a Video Encoding Strategy Designed For GrowthArchitecting a Video Encoding Strategy Designed For Growth
Architecting a Video Encoding Strategy Designed For GrowthZencoder
 
[AWS Media Symposium 2019] AWS Media Services Innovation - Christer Whitehorn...
[AWS Media Symposium 2019] AWS Media Services Innovation - Christer Whitehorn...[AWS Media Symposium 2019] AWS Media Services Innovation - Christer Whitehorn...
[AWS Media Symposium 2019] AWS Media Services Innovation - Christer Whitehorn...Amazon Web Services Korea
 
i-Cast - product I built once. Still around. Awesome.
i-Cast - product I built once. Still around. Awesome.i-Cast - product I built once. Still around. Awesome.
i-Cast - product I built once. Still around. Awesome.Lennart Hagberg
 
Encoding Video for the Web - Webinar from ReelSEO.com
Encoding Video for the Web  - Webinar from ReelSEO.comEncoding Video for the Web  - Webinar from ReelSEO.com
Encoding Video for the Web - Webinar from ReelSEO.comMark Robertson ⏩
 
Windows 7 uudistuksia
Windows 7 uudistuksiaWindows 7 uudistuksia
Windows 7 uudistuksiaVaihde 7
 
(SPOT209) Raising the Bar on Video Streaming Quality Using AWS
(SPOT209) Raising the Bar on Video Streaming Quality Using AWS(SPOT209) Raising the Bar on Video Streaming Quality Using AWS
(SPOT209) Raising the Bar on Video Streaming Quality Using AWSAmazon Web Services
 

Semelhante a Encoding Video for Microsoft Silverlight (20)

Audio and Video streaming.ppt
Audio and Video streaming.pptAudio and Video streaming.ppt
Audio and Video streaming.ppt
 
Best practices for live streaming
Best practices for live streamingBest practices for live streaming
Best practices for live streaming
 
Streaming Overview Final.ppt
Streaming Overview Final.pptStreaming Overview Final.ppt
Streaming Overview Final.ppt
 
Streaming Overview Final.ppt
Streaming Overview Final.pptStreaming Overview Final.ppt
Streaming Overview Final.ppt
 
Streaming Overview Final.ppt
Streaming Overview Final.pptStreaming Overview Final.ppt
Streaming Overview Final.ppt
 
Streaming Overview Final.ppt
Streaming Overview Final.pptStreaming Overview Final.ppt
Streaming Overview Final.ppt
 
Design in Motion: Video Production Workflow
Design in Motion: Video Production WorkflowDesign in Motion: Video Production Workflow
Design in Motion: Video Production Workflow
 
Windows7: Video Improvements
Windows7: Video ImprovementsWindows7: Video Improvements
Windows7: Video Improvements
 
Audio and video streaming
Audio and video streamingAudio and video streaming
Audio and video streaming
 
Open Presentation
Open PresentationOpen Presentation
Open Presentation
 
Video Streaming Ali Saman Tosun
Video Streaming Ali Saman TosunVideo Streaming Ali Saman Tosun
Video Streaming Ali Saman Tosun
 
Architecting a Video Encoding Strategy Designed For Growth
Architecting a Video Encoding Strategy Designed For GrowthArchitecting a Video Encoding Strategy Designed For Growth
Architecting a Video Encoding Strategy Designed For Growth
 
Slide
SlideSlide
Slide
 
WEEK 1
WEEK 1WEEK 1
WEEK 1
 
[AWS Media Symposium 2019] AWS Media Services Innovation - Christer Whitehorn...
[AWS Media Symposium 2019] AWS Media Services Innovation - Christer Whitehorn...[AWS Media Symposium 2019] AWS Media Services Innovation - Christer Whitehorn...
[AWS Media Symposium 2019] AWS Media Services Innovation - Christer Whitehorn...
 
i-Cast - product I built once. Still around. Awesome.
i-Cast - product I built once. Still around. Awesome.i-Cast - product I built once. Still around. Awesome.
i-Cast - product I built once. Still around. Awesome.
 
Video.ppt
Video.pptVideo.ppt
Video.ppt
 
Encoding Video for the Web - Webinar from ReelSEO.com
Encoding Video for the Web  - Webinar from ReelSEO.comEncoding Video for the Web  - Webinar from ReelSEO.com
Encoding Video for the Web - Webinar from ReelSEO.com
 
Windows 7 uudistuksia
Windows 7 uudistuksiaWindows 7 uudistuksia
Windows 7 uudistuksia
 
(SPOT209) Raising the Bar on Video Streaming Quality Using AWS
(SPOT209) Raising the Bar on Video Streaming Quality Using AWS(SPOT209) Raising the Bar on Video Streaming Quality Using AWS
(SPOT209) Raising the Bar on Video Streaming Quality Using AWS
 

Mais de goodfriday

09 03 22 easter
09 03 22 easter09 03 22 easter
09 03 22 eastergoodfriday
 
Holy Week Easter 2009
Holy Week Easter 2009Holy Week Easter 2009
Holy Week Easter 2009goodfriday
 
Holt Park Easter 09 Swim
Holt Park Easter 09 SwimHolt Park Easter 09 Swim
Holt Park Easter 09 Swimgoodfriday
 
Swarthmore Lentbrochure20092
Swarthmore Lentbrochure20092Swarthmore Lentbrochure20092
Swarthmore Lentbrochure20092goodfriday
 
Eastercard2009
Eastercard2009Eastercard2009
Eastercard2009goodfriday
 
Easterservices2009
Easterservices2009Easterservices2009
Easterservices2009goodfriday
 
Bulletin Current
Bulletin CurrentBulletin Current
Bulletin Currentgoodfriday
 
March 2009 Newsletter
March 2009 NewsletterMarch 2009 Newsletter
March 2009 Newslettergoodfriday
 
Lent Easter 2009
Lent Easter 2009Lent Easter 2009
Lent Easter 2009goodfriday
 
Easterpowersports09
Easterpowersports09Easterpowersports09
Easterpowersports09goodfriday
 
Easter Trading 09
Easter Trading 09Easter Trading 09
Easter Trading 09goodfriday
 
Easter Brochure 2009
Easter Brochure 2009Easter Brochure 2009
Easter Brochure 2009goodfriday
 
March April 2009 Calendar
March April 2009 CalendarMarch April 2009 Calendar
March April 2009 Calendargoodfriday
 
Easter 2009 Advertising
Easter 2009 AdvertisingEaster 2009 Advertising
Easter 2009 Advertisinggoodfriday
 

Mais de goodfriday (20)

Triunemar05
Triunemar05Triunemar05
Triunemar05
 
09 03 22 easter
09 03 22 easter09 03 22 easter
09 03 22 easter
 
Holy Week Easter 2009
Holy Week Easter 2009Holy Week Easter 2009
Holy Week Easter 2009
 
Holt Park Easter 09 Swim
Holt Park Easter 09 SwimHolt Park Easter 09 Swim
Holt Park Easter 09 Swim
 
Easter Letter
Easter LetterEaster Letter
Easter Letter
 
April2009
April2009April2009
April2009
 
Swarthmore Lentbrochure20092
Swarthmore Lentbrochure20092Swarthmore Lentbrochure20092
Swarthmore Lentbrochure20092
 
Eastercard2009
Eastercard2009Eastercard2009
Eastercard2009
 
Easterservices2009
Easterservices2009Easterservices2009
Easterservices2009
 
Bulletin Current
Bulletin CurrentBulletin Current
Bulletin Current
 
Easter2009
Easter2009Easter2009
Easter2009
 
Bulletin
BulletinBulletin
Bulletin
 
March 2009 Newsletter
March 2009 NewsletterMarch 2009 Newsletter
March 2009 Newsletter
 
Mar 29 2009
Mar 29 2009Mar 29 2009
Mar 29 2009
 
Lent Easter 2009
Lent Easter 2009Lent Easter 2009
Lent Easter 2009
 
Easterpowersports09
Easterpowersports09Easterpowersports09
Easterpowersports09
 
Easter Trading 09
Easter Trading 09Easter Trading 09
Easter Trading 09
 
Easter Brochure 2009
Easter Brochure 2009Easter Brochure 2009
Easter Brochure 2009
 
March April 2009 Calendar
March April 2009 CalendarMarch April 2009 Calendar
March April 2009 Calendar
 
Easter 2009 Advertising
Easter 2009 AdvertisingEaster 2009 Advertising
Easter 2009 Advertising
 

Encoding Video for Microsoft Silverlight

  • 1.
  • 2. Topics Delivery mechanisms for Silverlight video Hands-on Encoding with Expression Encoder Best practices for encoding for Silverlight Goals Deliver content with compelling quality Maximize ROI for encoding and delivery
  • 3. Two most-common audio/video delivery mechanisms... Progressive Streaming Download Simple send-and-forget HTTP Dynamically managed transfer delivery of an audio/video file of audio/video content received that starts to play after a few in real-time without caching seconds of downloading to disk Scenario: Delivering to mobile Scenario: Adding simple media devices and broadcasting live delivery to existing web servers events
  • 4. HTTP Progressive Download Get abc.wmv 200 OK abc.wmv
  • 5. Pros Easy management and configuration Low server resource usage Supports Secure Socket Layer (SSL) Works with standard firewalls, caches, proxies Cons No Live Broadcast No Advanced FF/RW Long buffering when data rate higher than connection speed
  • 6. Streaming Describe abc.wmv abc.wmv Header Response Header Header SSS Setup abc.wmv Stream 2 & 3 123 Setup Response Play abc.wmv Play Response S2: sample3 … sample2… sample1 S3: sample3 … sample2… sample1
  • 7. Pros Many basic and advanced media features Bandwidth optimization Enables live broadcasting Cons Requires separate management infrastructure Can’t deliver content encoded at a higher bitrate than connection speed
  • 8. Enterprises WMS IIS On-demand training (e.g. compliance) X X Live executive broadcast (e.g. Town Hall) X Programmed broadcast (e.g. CorpTV) X Product promotion on corporate Web site X X Internet (usually with ads) WMS IIS Social networking videos X X Movie trailers X X News & Entertainment clips X X Music & movie services (subscription/PPV) X X Pre-programmed Internet Radio/TV X X Radio + television rebroadcasts X X Live Webcasts X
  • 9. Media delivery on top of Server 2008’s IIS 7 Bit Rate Throttling Web Server Playlist (see Ed Maia’s session) Adds basic streaming advantages to traditional progressive download Available as a free download from www.iis.net
  • 10. Outsource the media distribution Silverlight.Live.com Content Delivery Networks (CDNs) For most content delivered to the public Do it yourself with Windows Server 2008 Using IIS 7 + IIS 7 Media Pack Using Windows Media Services 2008 Very popular for internal enterprise LAN/WAN Use origin server internally that pushes to CDN
  • 11. Windows Media 9 in 2003 defined platform Most mature, media platform available Scales from phones to HD Silverlight is the future of WMV on the web
  • 12. Mature live streaming/encoding tools Up to broadcast-grade rackmount systems Already capable of HD streaming today Big ecosystem of encoding tools WMV encoding out of the box in nearly all compression products Integration into major editing platforms Can ingest and edit in variety of NLE tools Lossless editing and insertion into files
  • 13. Great quality and efficiency Video and audio Better decode performance Up to 2x pixels/second of H.264 That means better battery life as well Large existing libraries of content
  • 14. It's just Windows Media! Most existing files, URLs, and servers work Media features baked into runtime No dependency on OS codecs Video codecs WMV 7/8/9 and 9 Advanced Profile Audio codec Windows Media Audio in Silverlight 1.0 Windows Media Audio Pro new in Silverlight 2 Offers 2x compression efficiency for 32-96 Kbps MP3 files also supported
  • 15. …for designers Deliver the vision Quickly, and with a lowered aspirin budget …for developers Programmable object model for automation Adaptive preprocessing automatically optimizes for video format …for the business Faster encoding (up to 4x faster than 1.0) Lower bandwidth costs for same quality level Greater operator productivity
  • 16.
  • 17. Basic-encoding is super-simple Source is automatically recognized Output profiles adapt to source No need to do any customization to get good results with most content But there’s always tweaking for that last 10%…
  • 18.
  • 19. Silverlight provide a great HD experience Tweaking setting can provide optimal results Can trade off time for quality/efficiency Better quality for given playback machine Lower bandwidth costs VBR encoding maximizes bang for the bit for downloads
  • 20.
  • 21. Silverlight can provide rich presentations Chapters with links and icons Subtitles VC-1 is great for delivering screen content Actually better than old Screen codec for Vista Silverlight Streaming a simple, powerful delivery platform Just keep content under 1400 Kbps peak
  • 22. Topics Capturing Preprocessing Encoding Advanced codec settings Goal Improved quality Improved compression efficiency Better quality at same data rate Same quality at lower data rate Optimize cost per minute of video
  • 23. Better end user experience Bad video is fatiguing Bad audio is extremely fatiguing Fatigued customers leave sooner Reduced bandwidth cost Can deliver optimal experience with fewer bits So lower cost per view Increased audience size Lower data rates means more users can experience the content
  • 24. Capture native bitstream or uncompressed DV, DVCPRO HD as native bitstream Other formats as uncompressed Access earliest generation possible Most VHS tapes didn’t get posted on VHS! Ripping from DVD also sub-optimal Avoid analog to DV bridges Digital export from NLE works great
  • 25. Everything we do to the video and audio between the source and the codec Biggest single factor in good-looking video Best a codec can do is match the source For challenging projets, I spend ~80% of my keyboard-and-mouse time on preprocessing
  • 26.
  • 27.
  • 28.
  • 29.
  • 30. Video monitors don’t go to edges Computers do Crop edge blanking For <320x240, can crop to safe area Crop letterboxing out as well Silverlight is excellent at black rectangles
  • 31.
  • 32. Makes image proper size and shape Correct for 16:9 and non-square source Web video doesn’t need to be 4:3 Match aspect ratio of cropped source 4:3 720x480 to quarter size: Right: 320x240 Wrong: 360x240 16:9 720x480 to quarter size: Right: 432x240 Wrong: 360x240
  • 33. 4:3 720x480 4:3 square pixel (Mis) Corrected to 16:9 Corrected to 4:3
  • 34. 16:9 720x480 16:9 square pixel (Mis) Corrected to 4:3 Corrected to 16:9
  • 35. Nearest Neighbor Horrible blocky quality – don’t use it! Bilinear Fast, decent for 50-100% change in size Bicubic Good quality, appropriate default Lanczos Slightly sharper than Bicubic for downscale Super Sampling Best results for upscale
  • 36.
  • 37.
  • 38.
  • 39.
  • 40. Silverlight uses progressive video For 60i/50i, deinterlace to progressive For video telecined from film, use inverse telecine to restore 24p Look for repeating pattern of three progressive and two interlaced frames If it’s progressive, leave it alone! Expression Encoder Auto Pixel Adaptive normally best quality And will turn itself off for most progressive sources Bob modes are faster but lower quality
  • 41.
  • 42.
  • 43.
  • 44. Features from the VC-1 Encoder SDK Most users can use Presets for overall quality/speed balance But advanced modes for enterprising compressionists Advanced Modes can Tune encoding for special case content Screen recordings, animation, film grain Improve compression efficiency Trade off more encoding time for bandwidth savings
  • 45. CBR Varies quality to keep bitrate constant Single-pass encode in EEv2 Gives a flat bitrate without bitrate spikes Required for streaming Also use when performance limits bitrate Peak Limited VBR 2-pass encode (only increases time 10-40%) Varies bitrate to keep quality constant Saves on file size for progressive download
  • 46. 0-5 value for speed and precision of encode Each level about half speed of previous But improves quality and efficiency Complexity 3 a good default Higher doesn’t improve quality much Lower hurts quality quite a lot Complexity 4 fine for high value content Live adjusts complexity to match hardwware ROI tradeoff between encode time and delivery cost
  • 47. Adaptive Deadzone Emphasizes preserving “coarse” textures like film grain at expense of smooth regions Recommendation: Use “Conservative” with grainy content Off with clean content Dquant (Differential Quantization) Different blocks compressed different levels Recommendation Off for most content (most efficient) Try I + P good for very smooth images (underwater) I-Frame DQuant great for screen recordings
  • 48. B-Frames B-Frames need fewer bits for same quality Improves quality for flash/strobe frames Recommendations 1 B-frame optimal for most video/film source 2 B-frames useful for cel and CGI animation 4 B-frames great for screen recordings Other options as default for normal use Scene Change Detection: On Adaptive GOP: On Closed GOP: Off
  • 49. Chroma Search Finds changes in color when brightness fixed Especially for motion graphics, animation Recommendation Adaptive or Full True for highest quality Match Method SAD is fast, Hadamard slow, sometimes better Recommendation: Adaptive for best quality Search Range Higher is slower, but finds faster motion Recommendation: Macroblock Adaptive
  • 50. Loop Filter Adaptively Reduces blockiness Recommendation: On Overlap Filter Smooths image to reduce blockiness Recommendation: On if visible artifacts Denoise Recommendation: On if noisy source Edge Noise Removal Recommendation: Crop edge noise instead
  • 51.
  • 52.
  • 53. Finds where color changes but brightness doesn’t Quality improvements with colorful content Crowd shots, motion graphics in particular Modes: Luma only (default) Adaptive Integer chroma (fast and useful) Adaptive True chroma (good quality/speed mix) Full Integer chroma Full True Chroma (best, slowest)
  • 55. © 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.