1 / 18

Enabling Media Playback On Windows CE 5.0

Enabling Media Playback On Windows CE 5.0. Li-Ming Fan Escalation Engineer Microsoft GCR GTSC. Agenda. Multimedia Overview and Architecture Windows Media Playback Pipeline Streaming features on CE 5.0. CE Multimedia Goals.

bunme
Télécharger la présentation

Enabling Media Playback On Windows CE 5.0

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. EnablingMedia Playback On Windows CE 5.0 Li-Ming Fan Escalation Engineer Microsoft GCR GTSC

  2. Agenda • Multimedia Overview and Architecture • Windows Media Playback Pipeline • Streaming features on CE 5.0

  3. CE Multimedia Goals • Provide a rich set of multimedia technologies that enable customers to rapidly build a variety of consumer devices • Small, Fast, Hardware Assisted • Compatibility with desktop Windowswhen possible • Optimized support for multiple CPUs and Systems on Chip

  4. Increasing Stability and Performance Current MM Technologies • CE v5.0 • Windows Media v9 improvements/new codecs • Direct3D Mobile • CE v4.2 • Windows Media v9 • CE v 4.0 • Windows Media Player Application • Windows Media v8 • DVD • CE v 3.0 • DirectShow, DirectDraw • Windows Media Player OCX v6.4

  5. Technologies Audio Video 2D and 3D Graphics Codecs Streaming DVD-Video Digital Rights Management Products MSTV MSNTV Windows for Automotive Portable Media Center SmartPhone PocketPC VOIP Phone IP Set-Top-Box PVR DMR Windows CE Multimedia

  6. DirectDraw Drawing surfaces, blting, flipping, overlays, alpha blend, video ports Direct3D Mobile 3D polygon rendering Direct3D Mobile usesthe same API signaturesas Direct3D Lightweight, integer based Waveform Audio Playback, capture, mixing, sample rate conversion, gain classes DirectShow Media playback DVD-Video DVD navigationand playback DVD Player app Windows Media Audio/video codecs Streaming/Local File WM Player OCX WM Player app Technology Breakdown

  7. Streaming HTTP, MMS, local file ASX play list parser and handler ASF parser and splitter DRM/decryption Software Codecs WMV 9 Advanced Profile (new in 5.0) WMV WMA WMA lossless(new in 5.0) WMA Pro(new in 5.0) DirectShow standard renderer filters Windows Media Components

  8. CE Multimedia Architecture WMP Sample App, IE 6 DirectShow App D3D Mobile, DVD, DDraw Apps WM Player ActiveX Control DVD-Video DirectShow Filter Graph Manager Filter Graph Codecs Source Renderers WMV D3DM Network/ File System DirectDraw/GDI WaveDev WMA MPEG Network, File system, Graphics, Audio, DVD Drivers Hardware

  9. Encoding For Local Playback • Variable bit rate is good for conserving disk space • CE 5.0 supports high content bit rates • Make sure indexing is turned on • The playback pipeline uses the index to rapidly seek for trick modes • Trick mode performance is degraded without an index

  10. New Streaming Features • FastStart • Enables stream to buffer at speeds higher than the bit rate of the requested content • Buffer fill rate governed by bandwidth of the pipe and limits set on the Windows Media server • Supported for live broadcast and on demand • Only supported on unicast streams • Startup profile • Improves stream start time over FastStart • Important for IPTV channel change latency • Only for the HTTP unicast protocol

  11. How Startup Profile Works • Windows CE will look at the content and calculates an acceleration duration based on the content preroll, bit rate, and the FSAccBandwitdth • The Windows Media Server (WMS) uses this acceleration duration value as the length of time to scan the content for the startup buffering requirements • WMS then determines a minimal buffer (essentially a preroll) that the client decoder requires to play the acceleration duration without starving the decoder

  12. Streaming Protocols • Multicast • Each packet is broadcast to multiple clients • Microsoft Media Stream (MMS) • TCP connection for commands between client and server • UDP connection for commands between client and server • Automatic protocol roll-over (UDP, TCP) • HTTP • Will automatically come through corporate firewalls • Will use Internet Explorer’s proxy-settings, or configure its own settings • RTSP • Not supported on Windows CE • File-based (local or network redirector)

  13. Protocol Comparison On CE • MMS is good for up to 2Mb/s • No fast start and startup profile • Lighter network load (no ack’s) • Requires more reliable hardware and well dimensioned networks • MMS is getting deprecated in servers in favor of RTSP and HTTP • HTTP is better at high bit rates – internally tested up to 10Mb/s on CE 5.0 • Fast start and startup profile

  14. Encoding For Streaming • Preroll • We use 5 seconds for HTTP unicast • MMS as low as 1 second for a quiet network • No startup profile • Multicast as low as 1 second for a quiet network • No fast start and startup profile • Bit rate • Highest for your pipe • Key frame distance • 5 seconds for HTTP/MMS unicast • 1 second for Multicast (faster startup)

  15. Tools & Resources Build Develop Websites msdn.microsoft.com/embedded msdn.microsoft.com/mobility Newsgroups microsoft.public.pocketpc.developer smartphone.developer dotnet.framework.compactframework microsoft.public.windowsxp.embedded windowsce.platbuilder windowsce.embedded.vc Blogs blogs.msdn.com/mikehall blogs.msdn.com/windowsmobilevsdteamnetcfteam Tools Windows CE 5.0 Eval KitWindows XP Embedded Eval Kit Windows Mobile 5.0 Eval Kit

  16. 大会注意事项 请在课程结束后填写课程培训反馈表,参加抽奖。 请填写资料袋内的蓝色大会满意度反馈表,到大会接待台领取 《Windows Mobile手机应用开发》工具书。 您还可以: 参加Windows Mobile动手实验室; 参观微软及合作伙伴展区; 体验基于 Windows Mobile平台开发的最新硬件产品及解决方案。

More Related