SlideShare une entreprise Scribd logo
1  sur  37
Video Improvements In Windows 7 Dave Marsh Principal Program Manager Lead for Media in Windows Microsoft Corporation Rudolph Balaz Senior Program Manager Lead, DirectX team Microsoft Corporation
This Session:  GRA-T585 Windows 7 provides a rich platform for video. This session highlights the video improvement in Windows 7 and discusses how components plug into the Windows 7 video architecture  Topics covered will include playback and transcoding of different video formats, DirectX Video Acceleration-High Definition (DXVA-HD), and overlays
Agenda Video playback and transcode functionality Meeting ISV video rendering needs
Windows 7 Investments Optimized Playback Play all the common media formats Fast transcode Make the PC the center of an ecosystem of portable video player devices New camera support Webcams, Point and shoot, and AVCHD Developer Support Ways to access Media Foundation technology
Optimized Playback
Media Formats Containers and Codecs Tenuous relationship between Popular format name MP4, DivX, MJPEG File extension mappings .mp4, .m4a, .mp4v, .mov, .avi, .divx, … Characteristics of container used Streaming support, markers, … Video and audio codecs Proprietary DRM Makes the realization of “format X just plays”rather complex
Simplified Statement Many new popular media formats have emerged over the years, but the average computer user couldn’t care less   We've made mainstream media playback just work in Windows 7 Win7 can play these Containers MP4, AVI, MOV, 3GP, AVCHD, ADTS, M4A, DVR-MS, WTV Win7 can play these Codecs H.264, MPEG4-SP, ASP/Divx/Xvid, MJPEG, DV, AAC-LC, AAC-HE Efficient on power usage Efficient on low cost PCs Consistent metadata
New Inbox MF Decode DetailAdditions relative to Vista Inbox Decoders H.264:  Baseline, Main, and High Profiles @ all levels  IDCT, MoComp, and VLD DXVA  AAC:  LC multichannel, HE v1 (SBR), HE v2 (PS)  MJPEG and DV native MFT decoders added for AVI
Fast Transcode
PC Is Center Of The Devices Ecosystem PC is central media store Often you want to be able to watch the content when you're out and about Great examples of a Portable Media Players are          Sony Walkman and Creative Zen W People want simple ways of transferring contentto devices without having to be bothered with the underlying complexities We have integrated great transcode technologyinto the Windows 7 shell When you do a drag and drop on your device, the necessary conversions happen automatically
Different Formats Different portable video players need different video formats Format needed will not be format in which video is stored on PC Format on your PC will be whatever format contentwas delivered in Typically TV is MPEG2 More and more in the future it'll be HD resolution Typically, portable video devices need a lower resolutionformat to match their screens More and more in the future they'll use H.264 video and AAC audio Change format of video and audio content as part of the process of transferring content from PC store to device
Simple For User, Complex Underneath User doesn't even have to think about transcode The whole process just looks like a drag and drop file copy Topology of Media Foundation building blocks underneath that… Reads the source such as a recorded HDTV file Decodes using eg an MPEG2 decoder Processes it to get it into the resolution that the portable player needs Encodes it using the codec that the portable player supports, eg H.264/AAC in MP4 container Only problem is that it takes a while to do all this processing if doing it on the CPU But we have hardware encode support to solve this
New Inbox MF Encode DetailAdditions relative to Vista Inbox Encoders  H.264 Baseline profile level 3 with 1-pass CBR Bit rate up to 1.5Mbps Maximum size:  640 x 480, maximum frame rate: 30fps  AAC LC stereo with 44.1 or 48KHz sample rate 96, 128, 160, or 192KHz bit rate
Hardware Transcode Lots of processing needed to transcode a file Transcoding a whole movie using software based processing can take a couple of hours, even on a very fast processor Taking a long time to process is incompatible with the desire to hide all the transcode rigmarole from the user New class of chips coming along that provide hardware codecs These chips provide high speed transcoding, ie hardware decoding of the input format,and hardware scaling, and hardware encoding to a different output format Also additional features to allow ISVs to provide better Blu-ray player apps Various companies will be launching Hardware Codec chips These chips will be packaged as plugin modules Chips will also go onto motherboards Even better is to make it a standard motherboard chipset feature
IHV Supplied MFTs AV-Stream is the preferred way It’s the easiest way, but not the only way Or third parties can produce their own MFT and use a private interface to communicate with their hardware Conform to the MFT input/output interfaces so that it looks like a software decoder or encoder Expose decode and encode as separate MFTs Codec certification for hardware accelerated MFTs will provide mechanism for topology builder to choose them Provides robust way to know supplier and know it really is hardware Tied to new robust merit scheme Uses PVP-OPM-like embedded challenge certificate Best to store certificate in hardware, but can be obfuscated in driver 8
New Camera Support
Wide Variety Of Support Play and transcode whole range of formats that come from cameras Camcorders using AVCHD container H.264 in MP4 from next year’s ‘still’ cameras FlipVideo using Xvid In the past you would have had to install a special separate app Media Foundation video streaming capture Will open up a whole host of webcam capture app scenarios For webcams UVC1.1 class driver with driver extensibility Made it nice and simple for the user
Developer Support
Media Foundation Technology Ease of use enhancements Performance enhancements New components such as SourceReader and SinkWriter Many more containers and codecs Hardware pipeline support Intelligent proxies MF stream capture Trusted merit DirectShow and FSDK still supported, but all new investments are on Media Foundation
Pipeline Transcoding Source Resolver Topology & Loader Encoding Profile  Management Media Session Scheme Handler Video Scaling/Conversion, Audio Processing, Other Byte Stream Handler File, Network Pipeline Topology Proc File, Network Media Source MFT Decoder Media Sink MFT Encoder Byte Stream Byte Stream or or Custom Input Custom Output or Hardware Acceleration Webcam
New MF ComponentsSource Reader, Sink Writer Specify URL, Byte Stream, or Media Source Sync or Async Control and Status Sync or Async Control and Status Specify URL, Byte Stream, or Media Sink Sink Writer Source Reader Direct access to consume, modify, and create media samples Encoding Profile Mgmt. File, Network File, Network Media Source Media Sink Custom Input Custom Output Webcam Specific Conversions* MFT Decoder  * Processing MFT * MFT Encoder * * Optional Hardware Acceleration
Developer Interface layers Ways to access MF technology Media Foundation interfaces MF Play API and Transcode API WMP.OCX WPF Silverlight For specialized low level needs Raw Video Rendering interfaces Video is just a data type Video is just a 3D texture WPF XAML
Video Improvements In Windows7 Rudolph Balaz Senior Program Manager Lead,  Windows Graphics/DirectX Microsoft Corporation
Media Foundation+Infrastructure Media Foundation File, Network Source Reader Sink Writer File, Network Encoding Profile Mgmt. Custom Output Media Source Media Sink Custom Input Direct3D Webcam Desktop Window Manager Specific Conversions* MFT Decoder  * Processing MFT * MFT Encoder * COPP/OPM WDDM Video Memory Hardware Acceleration GPU Direct3D DirectX Video Acceleration (DXVA) Cable Windows Display Driver Model (WDDM) Display Driver / GPU Hardware  Display * Optional
Third Party ISV Needs World class applications Robust playback Existing playback applications Maybe not Media Foundation based Performance expectations Playback – low end hardware Power – battery life Contractual obligations
3rd Party ISV Pain points Existing code bases/Legacy Desktop composition turned disabled Unexpected glitching/scalability  On low end hardware Hard to meet content output rules Private App to Driver side channels Business requirements
Addressing 3rd Party RequirementsIn Windows 7
Publishing OPM Addressing Legacy issues OPM (Output Protection Management) Specification and headers Usable directly by applications DirectShow or Media Foundation or other… Updated base on new industry requirements Supports for  Display Clone, HDMI repeaters
Reducing Private Side Channels Preventing Screen Scraping D3D9Ex/DWM enhancements  Driver software protection IHV Implementation using public interfaces Hardware based protection AES 128 for Encryption between CPU/GPU Support for hardware crypto engines SHED scenarios
Use Of Overlays In playback The bad Desktop Composition disabled Video Memory Pinned Available only via Legacy API’s Hardware issues Hardware (Availability/features) Only one overlay The good Proven code in existing apps Assumed to be faster/more secure?
Embracing - Overlay Support Supported with Desktop Composition Improved user experience No flashes No per frame composition costs Available via D3D9 APIs Simplifies code paths in application Simplifies use with existing applications
Optimizations Playback Memory pressure reporting Many processes compete for Video Memory Video application typically use many buffers Enable applications to optimize playback by reducing buffering Can result in smoother playback
Optimizations Playback D3D9 Flip model Improves Composition Performance(similar to overlay) Reduces memory bandwidth needs Full screen exclusive with DWM Eliminates flash MCE can be full screen with composition
Optimizing Playback DXVA-HD - Extends DXVA HD video processing and composition models Examples BD, ISDB-T Standardized application Interfaces Drivers provide different private implementations Available via Windows 7 optimized drivers WDDM 1.1 optional driver features
Call To Action Use the new video format support Use the shell drag and drop Make use of the new camera support Make use of Media Foundation technology in your own apps Make use of playback optimizations DXVA-HD, D3D9 Flip, Overlays OPM, AES128, etc…
Additional Resources Media Foundation http://msdn.microsoft.com/en-us/library/ms694197(VS.85).aspx DirectShow http://msdn.microsoft.com/en-us/library/ms783323(VS.85).aspx DirectX http://msdn.microsoft.com/directx Whitepapers  http://www.microsoft.com/whdc/device/display/ Related Sessions GRA-T515:  DirectX – Core Graphics for Windows 7 GRA-T518:  WDDM v1.1 GRA-T634:  GPU Performance and GPU/CPU Interactions in Windows 7 MBL-T579:  Connecting Projectors and Using Docking Stations with Windows 7
© 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.

Contenu connexe

Tendances

Develop Smart Solutions with Raspberry Pi and EnableX Live Video API
Develop Smart Solutions with Raspberry Pi and EnableX Live Video APIDevelop Smart Solutions with Raspberry Pi and EnableX Live Video API
Develop Smart Solutions with Raspberry Pi and EnableX Live Video APIEnablex io
 
Embedded Linux Multimedia
Embedded Linux MultimediaEmbedded Linux Multimedia
Embedded Linux MultimediaCaglar Dursun
 
Project Paper
Project PaperProject Paper
Project PaperVideoguy
 
Operating System Windows CE 7.0 and Processor ARM Advantages and Disadvantages
Operating System Windows CE 7.0 and Processor ARM Advantages and DisadvantagesOperating System Windows CE 7.0 and Processor ARM Advantages and Disadvantages
Operating System Windows CE 7.0 and Processor ARM Advantages and DisadvantagesFatih Özlü
 
windows CE
windows CEwindows CE
windows CEbretorio
 
Video Streaming
Video StreamingVideo Streaming
Video StreamingVideoguy
 
Live Streaming from A-Z
Live Streaming from A-ZLive Streaming from A-Z
Live Streaming from A-ZBrightcove
 
Digital Video
Digital VideoDigital Video
Digital VideoVideoguy
 
Utf 8'en'ibm sametime 9 - voice and video deployment
Utf 8'en'ibm sametime 9 - voice and video deployment Utf 8'en'ibm sametime 9 - voice and video deployment
Utf 8'en'ibm sametime 9 - voice and video deployment a8us
 
Windows 7 uudistuksia
Windows 7 uudistuksiaWindows 7 uudistuksia
Windows 7 uudistuksiaVaihde 7
 
Android media framework overview
Android media framework overviewAndroid media framework overview
Android media framework overviewJerrin George
 
Richard Bronson Full Resume 2015
Richard Bronson Full Resume 2015Richard Bronson Full Resume 2015
Richard Bronson Full Resume 2015Richard Bronson
 
RemoteFX - Rich End User Experience for VDI and Remote Desktops
RemoteFX - Rich End User Experience for VDI and Remote DesktopsRemoteFX - Rich End User Experience for VDI and Remote Desktops
RemoteFX - Rich End User Experience for VDI and Remote DesktopsAmit Gatenyo
 
Blu-Ray Final2
Blu-Ray   Final2Blu-Ray   Final2
Blu-Ray Final2Schoonts
 
VMworld 2013: How Good is PCoIP - A Remoting Protocol Shootout
VMworld 2013: How Good is PCoIP - A Remoting Protocol ShootoutVMworld 2013: How Good is PCoIP - A Remoting Protocol Shootout
VMworld 2013: How Good is PCoIP - A Remoting Protocol ShootoutVMworld
 

Tendances (20)

V Point8.1 Ds
V Point8.1 DsV Point8.1 Ds
V Point8.1 Ds
 
Develop Smart Solutions with Raspberry Pi and EnableX Live Video API
Develop Smart Solutions with Raspberry Pi and EnableX Live Video APIDevelop Smart Solutions with Raspberry Pi and EnableX Live Video API
Develop Smart Solutions with Raspberry Pi and EnableX Live Video API
 
Embedded Linux Multimedia
Embedded Linux MultimediaEmbedded Linux Multimedia
Embedded Linux Multimedia
 
Unit 3 Lesson 11
Unit 3 Lesson 11Unit 3 Lesson 11
Unit 3 Lesson 11
 
Streaming Video Techniques
Streaming Video TechniquesStreaming Video Techniques
Streaming Video Techniques
 
Project Paper
Project PaperProject Paper
Project Paper
 
Operating System Windows CE 7.0 and Processor ARM Advantages and Disadvantages
Operating System Windows CE 7.0 and Processor ARM Advantages and DisadvantagesOperating System Windows CE 7.0 and Processor ARM Advantages and Disadvantages
Operating System Windows CE 7.0 and Processor ARM Advantages and Disadvantages
 
windows CE
windows CEwindows CE
windows CE
 
Video Streaming
Video StreamingVideo Streaming
Video Streaming
 
Live Streaming from A-Z
Live Streaming from A-ZLive Streaming from A-Z
Live Streaming from A-Z
 
11 streaming
11 streaming11 streaming
11 streaming
 
Digital Video
Digital VideoDigital Video
Digital Video
 
Utf 8'en'ibm sametime 9 - voice and video deployment
Utf 8'en'ibm sametime 9 - voice and video deployment Utf 8'en'ibm sametime 9 - voice and video deployment
Utf 8'en'ibm sametime 9 - voice and video deployment
 
Windows 7 uudistuksia
Windows 7 uudistuksiaWindows 7 uudistuksia
Windows 7 uudistuksia
 
Android media framework overview
Android media framework overviewAndroid media framework overview
Android media framework overview
 
Richard Bronson Full Resume 2015
Richard Bronson Full Resume 2015Richard Bronson Full Resume 2015
Richard Bronson Full Resume 2015
 
RemoteFX - Rich End User Experience for VDI and Remote Desktops
RemoteFX - Rich End User Experience for VDI and Remote DesktopsRemoteFX - Rich End User Experience for VDI and Remote Desktops
RemoteFX - Rich End User Experience for VDI and Remote Desktops
 
Blu-Ray Final2
Blu-Ray   Final2Blu-Ray   Final2
Blu-Ray Final2
 
Dvbshop
DvbshopDvbshop
Dvbshop
 
VMworld 2013: How Good is PCoIP - A Remoting Protocol Shootout
VMworld 2013: How Good is PCoIP - A Remoting Protocol ShootoutVMworld 2013: How Good is PCoIP - A Remoting Protocol Shootout
VMworld 2013: How Good is PCoIP - A Remoting Protocol Shootout
 

Similaire à Windows7: Video Improvements

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
 
Video Transcoding Terms Explained
Video Transcoding Terms Explained Video Transcoding Terms Explained
Video Transcoding Terms Explained nerodude
 
Encoding Video for Microsoft Silverlight
Encoding Video for Microsoft SilverlightEncoding Video for Microsoft Silverlight
Encoding Video for Microsoft Silverlightgoodfriday
 
Flash and HTML5 Video
Flash and HTML5 VideoFlash and HTML5 Video
Flash and HTML5 VideoYoss Cohen
 
Windows Media: Evolving Content, Powering Amazing User Experiences, Enabling …
Windows Media: Evolving Content, Powering Amazing User Experiences, Enabling …Windows Media: Evolving Content, Powering Amazing User Experiences, Enabling …
Windows Media: Evolving Content, Powering Amazing User Experiences, Enabling …goodfriday
 
Understanding PCoIP and Zero Clients
Understanding PCoIP and Zero ClientsUnderstanding PCoIP and Zero Clients
Understanding PCoIP and Zero ClientsJennifer Phillips
 
Video Streaming - 4.ppt
Video Streaming - 4.pptVideo Streaming - 4.ppt
Video Streaming - 4.pptVideoguy
 
Ott Streaming Protocols and DRM
Ott Streaming Protocols and DRMOtt Streaming Protocols and DRM
Ott Streaming Protocols and DRMASIMYILDIZ
 
Streaming Media over the Internet
Streaming Media over the InternetStreaming Media over the Internet
Streaming Media over the InternetVideoguy
 
12.m3 cms content-updating-pt2
12.m3 cms content-updating-pt212.m3 cms content-updating-pt2
12.m3 cms content-updating-pt2tarensi
 
Web 2.0 Media
Web 2.0 MediaWeb 2.0 Media
Web 2.0 Mediajrappold
 
7496_Hall 070204 Research Faculty Summit
7496_Hall 070204 Research Faculty Summit7496_Hall 070204 Research Faculty Summit
7496_Hall 070204 Research Faculty Summitwebuploader
 

Similaire à Windows7: Video Improvements (20)

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
 
Slide
SlideSlide
Slide
 
Video Transcoding Terms Explained
Video Transcoding Terms Explained Video Transcoding Terms Explained
Video Transcoding Terms Explained
 
Encoding Video for Microsoft Silverlight
Encoding Video for Microsoft SilverlightEncoding Video for Microsoft Silverlight
Encoding Video for Microsoft Silverlight
 
Flash and HTML5 Video
Flash and HTML5 VideoFlash and HTML5 Video
Flash and HTML5 Video
 
Windows Media: Evolving Content, Powering Amazing User Experiences, Enabling …
Windows Media: Evolving Content, Powering Amazing User Experiences, Enabling …Windows Media: Evolving Content, Powering Amazing User Experiences, Enabling …
Windows Media: Evolving Content, Powering Amazing User Experiences, Enabling …
 
Understanding PCoIP and Zero Clients
Understanding PCoIP and Zero ClientsUnderstanding PCoIP and Zero Clients
Understanding PCoIP and Zero Clients
 
Video Streaming - 4.ppt
Video Streaming - 4.pptVideo Streaming - 4.ppt
Video Streaming - 4.ppt
 
WEEK 1
WEEK 1WEEK 1
WEEK 1
 
Ott Streaming Protocols and DRM
Ott Streaming Protocols and DRMOtt Streaming Protocols and DRM
Ott Streaming Protocols and DRM
 
FMS 3.5
FMS 3.5FMS 3.5
FMS 3.5
 
Performance Analysis of Various Video Compression Techniques
Performance Analysis of Various Video Compression TechniquesPerformance Analysis of Various Video Compression Techniques
Performance Analysis of Various Video Compression Techniques
 
Streaming Media over the Internet
Streaming Media over the InternetStreaming Media over the Internet
Streaming Media over the Internet
 
Google tv
Google tvGoogle tv
Google tv
 
12.m3 cms content-updating-pt2
12.m3 cms content-updating-pt212.m3 cms content-updating-pt2
12.m3 cms content-updating-pt2
 
Codecs
CodecsCodecs
Codecs
 
Web 2.0 Media
Web 2.0 MediaWeb 2.0 Media
Web 2.0 Media
 
7496_Hall 070204 Research Faculty Summit
7496_Hall 070204 Research Faculty Summit7496_Hall 070204 Research Faculty Summit
7496_Hall 070204 Research Faculty Summit
 

Dernier

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 

Dernier (20)

08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 

Windows7: Video Improvements

  • 1. Video Improvements In Windows 7 Dave Marsh Principal Program Manager Lead for Media in Windows Microsoft Corporation Rudolph Balaz Senior Program Manager Lead, DirectX team Microsoft Corporation
  • 2. This Session: GRA-T585 Windows 7 provides a rich platform for video. This session highlights the video improvement in Windows 7 and discusses how components plug into the Windows 7 video architecture Topics covered will include playback and transcoding of different video formats, DirectX Video Acceleration-High Definition (DXVA-HD), and overlays
  • 3. Agenda Video playback and transcode functionality Meeting ISV video rendering needs
  • 4. Windows 7 Investments Optimized Playback Play all the common media formats Fast transcode Make the PC the center of an ecosystem of portable video player devices New camera support Webcams, Point and shoot, and AVCHD Developer Support Ways to access Media Foundation technology
  • 6. Media Formats Containers and Codecs Tenuous relationship between Popular format name MP4, DivX, MJPEG File extension mappings .mp4, .m4a, .mp4v, .mov, .avi, .divx, … Characteristics of container used Streaming support, markers, … Video and audio codecs Proprietary DRM Makes the realization of “format X just plays”rather complex
  • 7. Simplified Statement Many new popular media formats have emerged over the years, but the average computer user couldn’t care less We've made mainstream media playback just work in Windows 7 Win7 can play these Containers MP4, AVI, MOV, 3GP, AVCHD, ADTS, M4A, DVR-MS, WTV Win7 can play these Codecs H.264, MPEG4-SP, ASP/Divx/Xvid, MJPEG, DV, AAC-LC, AAC-HE Efficient on power usage Efficient on low cost PCs Consistent metadata
  • 8. New Inbox MF Decode DetailAdditions relative to Vista Inbox Decoders H.264: Baseline, Main, and High Profiles @ all levels IDCT, MoComp, and VLD DXVA AAC: LC multichannel, HE v1 (SBR), HE v2 (PS) MJPEG and DV native MFT decoders added for AVI
  • 10. PC Is Center Of The Devices Ecosystem PC is central media store Often you want to be able to watch the content when you're out and about Great examples of a Portable Media Players are Sony Walkman and Creative Zen W People want simple ways of transferring contentto devices without having to be bothered with the underlying complexities We have integrated great transcode technologyinto the Windows 7 shell When you do a drag and drop on your device, the necessary conversions happen automatically
  • 11. Different Formats Different portable video players need different video formats Format needed will not be format in which video is stored on PC Format on your PC will be whatever format contentwas delivered in Typically TV is MPEG2 More and more in the future it'll be HD resolution Typically, portable video devices need a lower resolutionformat to match their screens More and more in the future they'll use H.264 video and AAC audio Change format of video and audio content as part of the process of transferring content from PC store to device
  • 12. Simple For User, Complex Underneath User doesn't even have to think about transcode The whole process just looks like a drag and drop file copy Topology of Media Foundation building blocks underneath that… Reads the source such as a recorded HDTV file Decodes using eg an MPEG2 decoder Processes it to get it into the resolution that the portable player needs Encodes it using the codec that the portable player supports, eg H.264/AAC in MP4 container Only problem is that it takes a while to do all this processing if doing it on the CPU But we have hardware encode support to solve this
  • 13. New Inbox MF Encode DetailAdditions relative to Vista Inbox Encoders H.264 Baseline profile level 3 with 1-pass CBR Bit rate up to 1.5Mbps Maximum size: 640 x 480, maximum frame rate: 30fps AAC LC stereo with 44.1 or 48KHz sample rate 96, 128, 160, or 192KHz bit rate
  • 14. Hardware Transcode Lots of processing needed to transcode a file Transcoding a whole movie using software based processing can take a couple of hours, even on a very fast processor Taking a long time to process is incompatible with the desire to hide all the transcode rigmarole from the user New class of chips coming along that provide hardware codecs These chips provide high speed transcoding, ie hardware decoding of the input format,and hardware scaling, and hardware encoding to a different output format Also additional features to allow ISVs to provide better Blu-ray player apps Various companies will be launching Hardware Codec chips These chips will be packaged as plugin modules Chips will also go onto motherboards Even better is to make it a standard motherboard chipset feature
  • 15. IHV Supplied MFTs AV-Stream is the preferred way It’s the easiest way, but not the only way Or third parties can produce their own MFT and use a private interface to communicate with their hardware Conform to the MFT input/output interfaces so that it looks like a software decoder or encoder Expose decode and encode as separate MFTs Codec certification for hardware accelerated MFTs will provide mechanism for topology builder to choose them Provides robust way to know supplier and know it really is hardware Tied to new robust merit scheme Uses PVP-OPM-like embedded challenge certificate Best to store certificate in hardware, but can be obfuscated in driver 8
  • 17. Wide Variety Of Support Play and transcode whole range of formats that come from cameras Camcorders using AVCHD container H.264 in MP4 from next year’s ‘still’ cameras FlipVideo using Xvid In the past you would have had to install a special separate app Media Foundation video streaming capture Will open up a whole host of webcam capture app scenarios For webcams UVC1.1 class driver with driver extensibility Made it nice and simple for the user
  • 19. Media Foundation Technology Ease of use enhancements Performance enhancements New components such as SourceReader and SinkWriter Many more containers and codecs Hardware pipeline support Intelligent proxies MF stream capture Trusted merit DirectShow and FSDK still supported, but all new investments are on Media Foundation
  • 20. Pipeline Transcoding Source Resolver Topology & Loader Encoding Profile Management Media Session Scheme Handler Video Scaling/Conversion, Audio Processing, Other Byte Stream Handler File, Network Pipeline Topology Proc File, Network Media Source MFT Decoder Media Sink MFT Encoder Byte Stream Byte Stream or or Custom Input Custom Output or Hardware Acceleration Webcam
  • 21. New MF ComponentsSource Reader, Sink Writer Specify URL, Byte Stream, or Media Source Sync or Async Control and Status Sync or Async Control and Status Specify URL, Byte Stream, or Media Sink Sink Writer Source Reader Direct access to consume, modify, and create media samples Encoding Profile Mgmt. File, Network File, Network Media Source Media Sink Custom Input Custom Output Webcam Specific Conversions* MFT Decoder * Processing MFT * MFT Encoder * * Optional Hardware Acceleration
  • 22. Developer Interface layers Ways to access MF technology Media Foundation interfaces MF Play API and Transcode API WMP.OCX WPF Silverlight For specialized low level needs Raw Video Rendering interfaces Video is just a data type Video is just a 3D texture WPF XAML
  • 23. Video Improvements In Windows7 Rudolph Balaz Senior Program Manager Lead, Windows Graphics/DirectX Microsoft Corporation
  • 24. Media Foundation+Infrastructure Media Foundation File, Network Source Reader Sink Writer File, Network Encoding Profile Mgmt. Custom Output Media Source Media Sink Custom Input Direct3D Webcam Desktop Window Manager Specific Conversions* MFT Decoder * Processing MFT * MFT Encoder * COPP/OPM WDDM Video Memory Hardware Acceleration GPU Direct3D DirectX Video Acceleration (DXVA) Cable Windows Display Driver Model (WDDM) Display Driver / GPU Hardware Display * Optional
  • 25. Third Party ISV Needs World class applications Robust playback Existing playback applications Maybe not Media Foundation based Performance expectations Playback – low end hardware Power – battery life Contractual obligations
  • 26. 3rd Party ISV Pain points Existing code bases/Legacy Desktop composition turned disabled Unexpected glitching/scalability On low end hardware Hard to meet content output rules Private App to Driver side channels Business requirements
  • 27. Addressing 3rd Party RequirementsIn Windows 7
  • 28. Publishing OPM Addressing Legacy issues OPM (Output Protection Management) Specification and headers Usable directly by applications DirectShow or Media Foundation or other… Updated base on new industry requirements Supports for Display Clone, HDMI repeaters
  • 29. Reducing Private Side Channels Preventing Screen Scraping D3D9Ex/DWM enhancements Driver software protection IHV Implementation using public interfaces Hardware based protection AES 128 for Encryption between CPU/GPU Support for hardware crypto engines SHED scenarios
  • 30. Use Of Overlays In playback The bad Desktop Composition disabled Video Memory Pinned Available only via Legacy API’s Hardware issues Hardware (Availability/features) Only one overlay The good Proven code in existing apps Assumed to be faster/more secure?
  • 31. Embracing - Overlay Support Supported with Desktop Composition Improved user experience No flashes No per frame composition costs Available via D3D9 APIs Simplifies code paths in application Simplifies use with existing applications
  • 32. Optimizations Playback Memory pressure reporting Many processes compete for Video Memory Video application typically use many buffers Enable applications to optimize playback by reducing buffering Can result in smoother playback
  • 33. Optimizations Playback D3D9 Flip model Improves Composition Performance(similar to overlay) Reduces memory bandwidth needs Full screen exclusive with DWM Eliminates flash MCE can be full screen with composition
  • 34. Optimizing Playback DXVA-HD - Extends DXVA HD video processing and composition models Examples BD, ISDB-T Standardized application Interfaces Drivers provide different private implementations Available via Windows 7 optimized drivers WDDM 1.1 optional driver features
  • 35. Call To Action Use the new video format support Use the shell drag and drop Make use of the new camera support Make use of Media Foundation technology in your own apps Make use of playback optimizations DXVA-HD, D3D9 Flip, Overlays OPM, AES128, etc…
  • 36. Additional Resources Media Foundation http://msdn.microsoft.com/en-us/library/ms694197(VS.85).aspx DirectShow http://msdn.microsoft.com/en-us/library/ms783323(VS.85).aspx DirectX http://msdn.microsoft.com/directx Whitepapers http://www.microsoft.com/whdc/device/display/ Related Sessions GRA-T515: DirectX – Core Graphics for Windows 7 GRA-T518: WDDM v1.1 GRA-T634: GPU Performance and GPU/CPU Interactions in Windows 7 MBL-T579: Connecting Projectors and Using Docking Stations with Windows 7
  • 37. © 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.