Windows Media  格式内幕 凌梅 Development Lead Windows Digital Media Division Microsoft Corporation
 
Agenda <ul><li>Opportunities with WM </li></ul><ul><li>Windows Media Format SDK </li></ul>
Windows Media 9 Series  Core Promises Unmatched Audio/Video Quality Dramatically Improved Playback Most Comprehensive Plat...
Windows Media 9 Series Platform Component Drill-down File Codecs DShow DRM Networking DShow DRM License Acquisition Window...
WM Codec Parameters <ul><li>Into 3rd generation codecs v8 </li></ul><ul><ul><li>Encoding utility </li></ul></ul><ul><li>Su...
Video Smoothing (Frame Interpolation) <ul><li>Generates missing frames at playback time using optical-flow analysis  </li>...
Video Smoothing demo demo
WMV Screen 9 <ul><li>Highly efficient compression engine for “palletized video” </li></ul><ul><ul><li>Typical scenario is ...
Screen Codec demo
WMA Professional 9 <ul><li>New  high-performance audio codec to handle greater than CD resolution/channels </li></ul><ul><...
WMA 9 Pro Codec demo <ul><li>192K WMA Pro 5.1 vs. 192K MP3   </li></ul>
WMA Voice 9 <ul><li>Unique “hybrid” voice and music coder for low data rates (<= 20Kbps). </li></ul><ul><ul><li>First code...
WMA 9 Voice Codec demo <ul><li>WMA Voice  vs.  AMR  (3G-GSM) </li></ul>
Windows Media Format <ul><li>Our Advantages </li></ul><ul><ul><li>Extensible file format </li></ul></ul><ul><ul><ul><li>Su...
Windows Media Format File Container <ul><li>Supports files as large as 17 million terabytes </li></ul><ul><li>Supports mul...
Windows Media Format File Container (Cont.) <ul><li>Able to select a stream, based on available bandwidth  </li></ul><ul><...
Rich Feature Set <ul><li>Time-code with Frame accurate seeking support </li></ul><ul><li>Live DRM </li></ul><ul><li>Video ...
Photo Motion demo
Windows Media Format SDK <ul><li>Win32 only (Win98, WinMe,Win2000, WinXP)  </li></ul><ul><li>COM-style interface </li></ul...
Read with WM Format SDK <ul><li>IWMReader </li></ul><ul><ul><li>Read WM data. </li></ul></ul><ul><ul><li>WMCreateReader </...
Encode with WM Format SDK <ul><li>IWMWriter </li></ul><ul><ul><li>Encode and write WM data </li></ul></ul><ul><ul><li>WMCr...
Encode with  WM Format SDK (Cont.) <ul><li>Basic calls </li></ul><ul><ul><ul><li>hr = WMCreateWriter( NULL, &pWriter ); </...
Edit with WM Format SDK <ul><li>IWMMetadataEditor </li></ul><ul><ul><li>WMCreateEditor </li></ul></ul><ul><ul><li>Open </l...
如果您有任何问题,请加入 微软中文新闻组 继续讨论 <ul><li>加入微软中文新闻组 </li></ul><ul><li>http://www.microsoft.com/china/community </li></ul>
© 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes n...
Upcoming SlideShare
Loading in...5
×

Windows Media 格式内幕 凌梅

348
-1

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
348
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
2
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Windows Media 格式内幕 凌梅

  1. 1. Windows Media 格式内幕 凌梅 Development Lead Windows Digital Media Division Microsoft Corporation
  2. 3. Agenda <ul><li>Opportunities with WM </li></ul><ul><li>Windows Media Format SDK </li></ul>
  3. 4. Windows Media 9 Series Core Promises Unmatched Audio/Video Quality Dramatically Improved Playback Most Comprehensive Platform <ul><li>20% better compression across the board extends industry lead </li></ul><ul><li>New voice/screen codecs, video smoothing boost dial-up quality </li></ul><ul><li>New HD video & 5.1 audio delivers home-theater experiences </li></ul><ul><li>Fast Streaming provides instant-on/always-on experience </li></ul><ul><li>Intelligent Streaming optimizes the experience </li></ul><ul><li>Fast & flexible player with industry’s first Smart Jukebox </li></ul><ul><li>Industry’s best scalability, reliability & manageability </li></ul><ul><li>End-to-end extensible architecture </li></ul><ul><li>Improved economics throughout </li></ul>
  4. 5. Windows Media 9 Series Platform Component Drill-down File Codecs DShow DRM Networking DShow DRM License Acquisition Windows Media Server WMS Admin Object WM Server MMC Admin WM Server Web Admin Server Services WM Format SDK Movie Maker Producer Third Party Tools WM Encoder & OCX DRM License Creation Content Discovery/Metadata IIS Networking DRM Codecs File WM Format SDK WMP.DLL Windows Media Player Windows Media Player OCX Authoring On-Line Services Playback
  5. 6. WM Codec Parameters <ul><li>Into 3rd generation codecs v8 </li></ul><ul><ul><li>Encoding utility </li></ul></ul><ul><li>Support streamed / local playback </li></ul><ul><li>WM is </li></ul><ul><ul><li>ASF (WMV / WMA) </li></ul></ul><ul><ul><li>Codecs </li></ul></ul><ul><ul><li>DRM v1 and v7 </li></ul></ul><ul><li>GOAL </li></ul><ul><ul><li>Smallest size for quality (e.g. 1/2 MP3) </li></ul></ul><ul><ul><li>Near DVD @ 500kbps </li></ul></ul><ul><ul><li>Maintain consistent quality </li></ul></ul>
  6. 7. Video Smoothing (Frame Interpolation) <ul><li>Generates missing frames at playback time using optical-flow analysis </li></ul><ul><li>Improves perceived video quality (motion smoothness) at lower data rates </li></ul><ul><li>Can be used to improve quality or save bandwidth by encoding fewer frames </li></ul><ul><ul><li>Bandwidth reduction reduces operating cost for ICPs </li></ul></ul><ul><ul><li>E.g. MSNBC encodes only 15 frames/sec, but user of WM9 Player will experience full frame rate </li></ul></ul>
  7. 8. Video Smoothing demo demo
  8. 9. WMV Screen 9 <ul><li>Highly efficient compression engine for “palletized video” </li></ul><ul><ul><li>Typical scenario is capturing application/desktop output for training/demo </li></ul></ul><ul><ul><li>Entire desktop can be compressed and transmitted at rates as low as 28kbps! </li></ul></ul><ul><ul><ul><li>Up to 100X more efficient than commonly used Run-length-encoding (RLE) </li></ul></ul></ul><ul><li>Original Version (V7) shipped in 2000 </li></ul><ul><li>Version 9 improves in both picture quality and CPU usage </li></ul><ul><ul><li>More efficient handling of continuous-tone images and window dragging/scrolling </li></ul></ul>
  9. 10. Screen Codec demo
  10. 11. WMA Professional 9 <ul><li>New high-performance audio codec to handle greater than CD resolution/channels </li></ul><ul><ul><li>Up to 96Khz sampling rate, 24-bits, and 8 channels (“7.1”) </li></ul></ul><ul><ul><ul><li>CD is stereo at 44Khz using 16-bit samples </li></ul></ul></ul><ul><ul><li>Targets are multi-channel music distribution and movie sound tracks at broadband rates </li></ul></ul><ul><li>More efficient than existing technologies: </li></ul><ul><ul><li>Twice as good as Dolby Digital (AC-3) and DTS used in DVDs </li></ul></ul><ul><ul><li>Blind listening test shows WMA Pro at 768Kbps outperforms all existing codecs in the market </li></ul></ul>
  11. 12. WMA 9 Pro Codec demo <ul><li>192K WMA Pro 5.1 vs. 192K MP3 </li></ul>
  12. 13. WMA Voice 9 <ul><li>Unique “hybrid” voice and music coder for low data rates (<= 20Kbps). </li></ul><ul><ul><li>First codec to properly handle mixed mode content (e.g. news plus musical commercial) </li></ul></ul><ul><ul><li>Uses an auto/manual classifier to detect voice/music </li></ul></ul><ul><ul><li>Applies appropriate coding mode for each segment </li></ul></ul><ul><li>Voice mode: new proprietary voice codec </li></ul><ul><ul><li>20% better than ACELP shipping today (used by Real and WM) </li></ul></ul><ul><li>Music mode: WMA algorithms </li></ul>
  13. 14. WMA 9 Voice Codec demo <ul><li>WMA Voice vs. AMR (3G-GSM) </li></ul>
  14. 15. Windows Media Format <ul><li>Our Advantages </li></ul><ul><ul><li>Extensible file format </li></ul></ul><ul><ul><ul><li>Support advanced MS and 3rd party codecs </li></ul></ul></ul><ul><ul><ul><li>Support rich media </li></ul></ul></ul><ul><ul><li>Scalable </li></ul></ul><ul><ul><ul><li>Efficient local playback </li></ul></ul></ul><ul><ul><ul><li>Efficient Streaming (HTTP +) </li></ul></ul></ul><ul><ul><ul><li>High capacity Media Servers </li></ul></ul></ul><ul><ul><li>Author once, playback anywhere </li></ul></ul><ul><ul><ul><li>Streams 28.8Kbps  1Mbps broadband </li></ul></ul></ul><ul><ul><ul><li>Replay PC’s, PDA’s, Consumer Elec. </li></ul></ul></ul><ul><ul><ul><ul><li>Car stereos, Cellphones, In home devices, PD’s </li></ul></ul></ul></ul>
  15. 16. Windows Media Format File Container <ul><li>Supports files as large as 17 million terabytes </li></ul><ul><li>Supports multi-bitrate audio, video streams in a file </li></ul><ul><li>Stores media and metadata in one file </li></ul><ul><ul><li>Metadata </li></ul></ul><ul><ul><ul><li>Title, copyright, author, markers, script commands, etc. </li></ul></ul></ul><ul><ul><ul><li>ID3 v1, v2 music meta-information </li></ul></ul></ul><ul><ul><li>Media </li></ul></ul><ul><ul><ul><li>Audio, Video, rich media and Script Commands (URLs, CC) </li></ul></ul></ul>Video Stream #n AudioStream Video Stream #1 Script Stream Timeline Rich Stream
  16. 17. Windows Media Format File Container (Cont.) <ul><li>Able to select a stream, based on available bandwidth </li></ul><ul><li>Interleaved data is optimal for HTTP </li></ul><ul><li>Files can be read sequentially, avoiding expensive seeks </li></ul><ul><li>Timeline based synchronization </li></ul><ul><li>Bursty data can be smoothed </li></ul><ul><ul><li>Send Timestamp (milliseconds) </li></ul></ul><ul><ul><li>Presentation Timestamp (Rational time units) </li></ul></ul>Presentation Time Presentation Time Send Time
  17. 18. Rich Feature Set <ul><li>Time-code with Frame accurate seeking support </li></ul><ul><li>Live DRM </li></ul><ul><li>Video Smoothing (Frame Interpolation) </li></ul><ul><li>Rich Media Streaming </li></ul><ul><li>VBR streaming/progressive down-load optimizations </li></ul><ul><li>Bandwidth sharing </li></ul><ul><li>Enables fast stream </li></ul><ul><li>MBR audio and multiple resolution MBR Video </li></ul><ul><li>PhotoMotion </li></ul>
  18. 19. Photo Motion demo
  19. 20. Windows Media Format SDK <ul><li>Win32 only (Win98, WinMe,Win2000, WinXP) </li></ul><ul><li>COM-style interface </li></ul><ul><li>Support audio/video/script authoring and playback </li></ul><ul><li>Enhance metadata authoring and playback </li></ul><ul><li>DRM support (encryption and decryption) </li></ul><ul><li>Streaming support (“net-read”, “net-write”) </li></ul><ul><li>Ideal for applications that handle dataflow </li></ul><ul><li>Target solutions </li></ul><ul><ul><li>Jukebox, Live Encoder, Video Editor </li></ul></ul>Write Interface Read Interface .wma or .wmv file Raw or Compressed Audio Raw or Compressed Video Script Commands Header MetaData IP Network Raw or Compressed Audio Raw or Compressed Video Script Commands Header MetaData
  20. 21. Read with WM Format SDK <ul><li>IWMReader </li></ul><ul><ul><li>Read WM data. </li></ul></ul><ul><ul><li>WMCreateReader </li></ul></ul><ul><li>IWMReaderAdvanced </li></ul><ul><ul><li>User driven clock </li></ul></ul><ul><ul><li>Manual stream selection </li></ul></ul><ul><ul><li>Custom buffer allocation </li></ul></ul><ul><ul><li>QI from IWMReader </li></ul></ul><ul><li>IWMSyncReader </li></ul><ul><ul><li>Synchronous Read </li></ul></ul><ul><ul><li>No streaming support </li></ul></ul><ul><ul><li>Ideal for editing app </li></ul></ul><ul><ul><li>WMCreateSyncReader </li></ul></ul>
  21. 22. Encode with WM Format SDK <ul><li>IWMWriter </li></ul><ul><ul><li>Encode and write WM data </li></ul></ul><ul><ul><li>WMCreateWriter </li></ul></ul><ul><li>IWMWriterAdvanced </li></ul><ul><ul><li>Set output sink(s) </li></ul></ul><ul><ul><li>Directly write compressed data </li></ul></ul><ul><ul><li>QI from IWMWriter </li></ul></ul><ul><li>Output to different destinations </li></ul><ul><ul><li>Output to file (WMCreateWriterFileSink) </li></ul></ul><ul><ul><li>Output to port (WMCreateWriterNetworkSink) </li></ul></ul><ul><ul><li>Output to WM Server (WMCreateWriterPushSink) </li></ul></ul><ul><ul><li>Custom sink </li></ul></ul>
  22. 23. Encode with WM Format SDK (Cont.) <ul><li>Basic calls </li></ul><ul><ul><ul><li>hr = WMCreateWriter( NULL, &pWriter ); </li></ul></ul></ul><ul><ul><ul><li>hr = pWriter->QueryInterface( IID_IWMWriter, ( VOID ** )&pWriter ); </li></ul></ul></ul><ul><ul><ul><li>hr = pWriter->SetProfile( pProfile ); </li></ul></ul></ul><ul><ul><ul><li>hr = pWriter->SetOutputFilename( outfile ); </li></ul></ul></ul><ul><ul><ul><li>hr = pWriter->BeginWriting( ); </li></ul></ul></ul><ul><ul><ul><li>Hr = pWriter->WriteSample(); </li></ul></ul></ul><ul><ul><ul><li>… </li></ul></ul></ul><ul><ul><ul><li>Hr = pWriter/->EndWriting (); </li></ul></ul></ul>
  23. 24. Edit with WM Format SDK <ul><li>IWMMetadataEditor </li></ul><ul><ul><li>WMCreateEditor </li></ul></ul><ul><ul><li>Open </li></ul></ul><ul><ul><li>Close </li></ul></ul><ul><ul><li>QI for IWMHeaderInfo </li></ul></ul><ul><li>IWMHeaderInfo </li></ul><ul><ul><li>Read and edit header attributes </li></ul></ul>
  24. 25. 如果您有任何问题,请加入 微软中文新闻组 继续讨论 <ul><li>加入微软中文新闻组 </li></ul><ul><li>http://www.microsoft.com/china/community </li></ul>
  25. 26. © 2002 Microsoft Corporation. All rights reserved. This presentation is for informational purposes only. Microsoft makes no warranties, express or implied, in this summary.
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×