Best Practices For Best Practices For Implementing TV Implementing TV On Windows Vista On Windows Vista Bernhard Kotzenberg Bernhard Kotzenberg Chris Matichuk Chris Matichuk Windows eHome Division Windows eHome Division Microsoft Corporation Microsoft Corporation
35
Embed
Best Practices For Implementing TV On Windows Vista Bernhard Kotzenberg Chris Matichuk Windows eHome Division Microsoft Corporation.
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Best Practices For Best Practices For Implementing TV Implementing TV On Windows VistaOn Windows Vista
Windows Vista TV featuresWindows Vista TV features
Developing high quality TV tuner solutionsDeveloping high quality TV tuner solutions
TV tuner testing and logo programsTV tuner testing and logo programs
TV tuner driver distributionTV tuner driver distribution
Premium TV – U.S. Digital Cable Premium TV – U.S. Digital Cable
Exhaustive scanningExhaustive scanning
Call to actionCall to action
Media Center Edition GrowthMedia Center Edition Growth
~10 million MCE PCs sold~10 million MCE PCs soldApproximately 1 million/monthApproximately 1 million/month
Analysts are bullish on the future: Analysts are bullish on the future: ~25M units in 2009~25M units in 2009~50% of consumer PC sales WW in 2009*~50% of consumer PC sales WW in 2009*Analysts revising upAnalysts revising up
MCE accounted for 60% of U.S. Retail PC MCE accounted for 60% of U.S. Retail PC sales in Feb 06sales in Feb 06
When MCE sales increase, sub-$500 PCs dropWhen MCE sales increase, sub-$500 PCs drop
What’s driving growth?What’s driving growth?OEM Support and increased investmentOEM Support and increased investmentBroad appeal of MCE featuresBroad appeal of MCE features
MCE In Windows VistaMCE In Windows Vista
Not a separate SKU!Not a separate SKU!Huge win for us all – well done!Huge win for us all – well done!
MCE is in these Windows Vista SKUsMCE is in these Windows Vista SKUsWindows Vista Home PremiumWindows Vista Home Premium
Windows Vista UltimateWindows Vista Ultimate
Tuner attach rate is still an issueTuner attach rate is still an issueNeed to work together to increase Need to work together to increase attach ratesattach rates
Windows Vista TV FeaturesWindows Vista TV Features
Optimized for widescreenOptimized for widescreen
Channel BrowserChannel Browser
Guide Filter for Favorite ChannelsGuide Filter for Favorite Channels
Postal Code validationPostal Code validation
Updates to TV setting defaults from WMISUpdates to TV setting defaults from WMIS
Preview Channel LineupsPreview Channel Lineups
Recorded TV Gallery View with thumbnailsRecorded TV Gallery View with thumbnails
Support automatic input selectionSupport automatic input selection
Support selectable stereo and secondary/tertiary audioSupport selectable stereo and secondary/tertiary audio32 KHz audio is OK but 48 KHz is strongly recommended32 KHz audio is OK but 48 KHz is strongly recommended
Audio and video capture must be on the same deviceAudio and video capture must be on the same device
Hardwired audio connection to sound cards is not supportedHardwired audio connection to sound cards is not supported
Support automatic format detection for PAL/SECAM Support automatic format detection for PAL/SECAM
Provide unsliced 4.5x and 5x oversampled data for VBI LinesProvide unsliced 4.5x and 5x oversampled data for VBI LinesMake sure data run-in is correct and data is not truncatedMake sure data run-in is correct and data is not truncated
Provide data for lines 6-23 even and odd fieldsProvide data for lines 6-23 even and odd fields
USB tuners should support USB 2.0USB tuners should support USB 2.0
Designing High Quality EncodersDesigning High Quality Encoders
PC TV quality must be equivalent to, PC TV quality must be equivalent to, or better than consumer electronics or better than consumer electronics
Use hardware based encoders Use hardware based encoders to insure scalability to multi-tuner to insure scalability to multi-tuner and slower CPU PCsand slower CPU PCs
Provide at least 9 MBs VBR encodingProvide at least 9 MBs VBR encoding
Limit max VBR burst rate to 9.5 MBs over any 500 mSec periodLimit max VBR burst rate to 9.5 MBs over any 500 mSec period
Allow bit rate to be changed without stopping streamingAllow bit rate to be changed without stopping streaming
Limit Audio/Video interleave jitter to 30 mSecLimit Audio/Video interleave jitter to 30 mSec
Use a common accurate clock to timestamp audio and videoUse a common accurate clock to timestamp audio and video
Make sure there are no gaps or overlaps in the PTS timelineMake sure there are no gaps or overlaps in the PTS timeline
Multiplexers must support Mpeg2 Program Stream (single program)Multiplexers must support Mpeg2 Program Stream (single program)
EncoderEncoder
Building High Quality Analog DriversBuilding High Quality Analog Drivers
Filters should complete transition to Filters should complete transition to and from running state within 10 mSecand from running state within 10 mSec
Deliver samples at source frame rate Deliver samples at source frame rate or every 15 mSec if source frame rate isn’t knownor every 15 mSec if source frame rate isn’t known
Samples that are too large will result in longer channel change times Samples that are too large will result in longer channel change times and glitches due to decoder starvationand glitches due to decoder starvation
Samples that are too small consume too much CPUSamples that are too small consume too much CPU
Keep VBI and Audio/Video sample timestamps in syncKeep VBI and Audio/Video sample timestamps in sync
Support all channel change events and discontinuity indicatorsSupport all channel change events and discontinuity indicators
Do not expose unneeded or unused pinsDo not expose unneeded or unused pins
Provide a unique pin medium for each hardware connectionProvide a unique pin medium for each hardware connectionGraphs build faster when output pin mediums match only one filterGraphs build faster when output pin mediums match only one filter
Make pin mediums static and register them at driver install timeMake pin mediums static and register them at driver install time
Ensure that the capture filter dictates picture resolution Ensure that the capture filter dictates picture resolution to the encoder filterto the encoder filter
DriverDriver
Potential Issues Caused Potential Issues Caused By Poor Analog DriversBy Poor Analog Drivers
TV startup is too slowTV startup is too slow
Channel changes are too slow or glitchChannel changes are too slow or glitch
Lip sync is badLip sync is bad
Closed captions do not appearClosed captions do not appear
Closed captions out of sync with the audio and videoClosed captions out of sync with the audio and video
Picture loses detailPicture loses detail
TV just stops after long periods of viewingTV just stops after long periods of viewing
Seeking and trick mode playback do not work wellSeeking and trick mode playback do not work well
PC does not wake up and record showsPC does not wake up and record shows
DriverDriver
Recommendations For Digital TunersRecommendations For Digital Tuners
Capture chips must support full transport stream bitrates Capture chips must support full transport stream bitrates for the desired medium (HD up to 19 MBs)for the desired medium (HD up to 19 MBs)Automatically fine-tune digital signal if signal is Automatically fine-tune digital signal if signal is within +/- 100 KHzwithin +/- 100 KHzDetect and report signal presence and strength even if Detect and report signal presence and strength even if signal is not yet lockedsignal is not yet locked
Allows for quicker signal scanningAllows for quicker signal scanning
Do not wait for signal lock before returning a result from a Do not wait for signal lock before returning a result from a request to tunerequest to tune
Network provider will query signal strength to determine whether Network provider will query signal strength to determine whether and when signal is lockedand when signal is locked
Capture samples should be delivered at least Capture samples should be delivered at least every 15 mSecevery 15 mSec
Timestamps should represent a continuous timelineTimestamps should represent a continuous timelineIndicate discontinuities if data is not received or if data errors Indicate discontinuities if data is not received or if data errors cannot be correctedcannot be corrected
Each tuner should be a different device instanceEach tuner should be a different device instance
A separate graph will be built for each tuner instanceA separate graph will be built for each tuner instance
Each instance should maintain its state independently Each instance should maintain its state independently from other instancesfrom other instances
Each instance must function fully and independently Each instance must function fully and independently from other instancesfrom other instances
There should be separate DirectShow filter entries There should be separate DirectShow filter entries for each instance (Tuner, Crossbar, Capture, etc.)for each instance (Tuner, Crossbar, Capture, etc.)
Each instance must have its own unique hardware Each instance must have its own unique hardware pin mediumspin mediums
Instances that share physical connectors must be able Instances that share physical connectors must be able to independently select their input via the crossbar filterto independently select their input via the crossbar filter
Tuner Testing And Logo Tuner Testing And Logo ProgramsPrograms
TV Tuner TestingTV Tuner Testing
Test your tuner in with the latest build of Windows VistaTest your tuner in with the latest build of Windows VistaSet up your tuners in First RunSet up your tuners in First Run
Test with multiple tuners installedTest with multiple tuners installed
Test sharing with a third party applicationTest sharing with a third party application
Test channel changeTest channel changeLook for loss of lip syncLook for loss of lip sync
Look for video or audio glitchesLook for video or audio glitches
Test video compressionTest video compressionRun with high motion contentRun with high motion content
Test long duration useTest long duration use
Test automatic recording after suspendTest automatic recording after suspend
Compare performance and quality with that of a good TVCompare performance and quality with that of a good TV
You can test all of this on Windows XP Media Center Edition too!You can test all of this on Windows XP Media Center Edition too!
Self-host Windows Vista with your tuners at homeSelf-host Windows Vista with your tuners at home
Look for future release of MCE Partner Test Kit with tuner Look for future release of MCE Partner Test Kit with tuner tests from Microsofttests from Microsoft
Windows Logo Programs Windows Logo Programs For TV TunersFor TV Tuners
Media Center will no longer have an independent hardware Media Center will no longer have an independent hardware requirements documentrequirements document
Media Center in Windows Vista's hardware requirements and the Media Center in Windows Vista's hardware requirements and the “Designed for Media Center Edition” requirements will now be part “Designed for Media Center Edition” requirements will now be part of the new Windows Vista Windows Logo Program (WLP)of the new Windows Vista Windows Logo Program (WLP)
Windows Vista Media Center requirements roughly align Windows Vista Media Center requirements roughly align with the Premium level logo with the Premium level logo
Hardware meet WLP + updated Media Center requirementsHardware meet WLP + updated Media Center requirements
Windows Vista Media Center Hardware Summary chart available Windows Vista Media Center Hardware Summary chart available in the FAQ on Microsoft Connectin the FAQ on Microsoft Connect
All Windows Vista WLP hardware requirements are verified using their All Windows Vista WLP hardware requirements are verified using their corresponding tests found in the Microsoft Windows Development corresponding tests found in the Microsoft Windows Development Kit (WDK)Kit (WDK)
Vista Test Tools In WDKVista Test Tools In WDK
Each hardware requirement for Media Center Each hardware requirement for Media Center in Windows Vista will have a corresponding test in Windows Vista will have a corresponding test in the Windows Driver Kit (WDK) to verify in the Windows Driver Kit (WDK) to verify compliance with the WLPcompliance with the WLP
No separate “test kit” specifically for Windows No separate “test kit” specifically for Windows Vista Media CenterVista Media Center
Diagnostic tests in the WDK will log info from Diagnostic tests in the WDK will log info from the Windows Vista computer running Media the Windows Vista computer running Media Center and verifies the hardware meets the logo Center and verifies the hardware meets the logo requirementsrequirements
WDK beta available with Windows Vista Beta 2WDK beta available with Windows Vista Beta 2
Final tests available soon!Final tests available soon!
Driver DistributionDriver Distribution
IHV/OEM WebsiteIHV/OEM WebsiteManual Search Manual Search for Updatesfor Updates
ChallengesChallenges
Manual processManual process
Multiple drivers in Multiple drivers in multiple locationsmultiple locations
Customer confusion Customer confusion as to which driver as to which driver to installto install
Support for CableCARDSupport for CableCARD™™ Provides premium content to the PC (HBO HD and more!) Provides premium content to the PC (HBO HD and more!)
Nationwide coverage Nationwide coverage
Supports non-CableCARD™ contentSupports non-CableCARD™ contentIncludes local HD channelsIncludes local HD channels
Hybrid tuner Hybrid tuner Also provides legacy support for NTSC and ATSCAlso provides legacy support for NTSC and ATSC
OCUR – User BenefitsOCUR – User Benefits
Great digital TV experience Great digital TV experience High definition video (cable and terrestrial)High definition video (cable and terrestrial)
Dolby Digital Surround SoundDolby Digital Surround Sound
Simplified configuration experienceSimplified configuration experienceEasier configuration with direct CableCARD instead Easier configuration with direct CableCARD instead of connecting settop box to PCof connecting settop box to PC
Increased reliability (no IR blaster)Increased reliability (no IR blaster)
Easy connectivity and Setup (First Run)Easy connectivity and Setup (First Run)
Built-in support for CableCARD pairing and diagnosticsBuilt-in support for CableCARD pairing and diagnostics
Scanning for free to air HD broadcastsScanning for free to air HD broadcasts
Single tuner designSingle tuner designLimited by single stream capability of CableCARDLimited by single stream capability of CableCARD
Two modes of operation for SD and HD contentTwo modes of operation for SD and HD contentCable: Analog or Digital (NTSC or QAM64/256)Cable: Analog or Digital (NTSC or QAM64/256)
Terrestrial: Analog or ATSC (NTSC or 8VSB)Terrestrial: Analog or ATSC (NTSC or 8VSB)
MCE InterfaceMCE InterfaceIP over USBIP over USB
Content Protection: Windows Media DRMContent Protection: Windows Media DRM
Windows SupportWindows SupportInbox Class driver, all features accessible through Media CenterInbox Class driver, all features accessible through Media Center
CertificationCertificationPre-certified by CableLabs Pre-certified by CableLabs
Exhaustive Scanning Exhaustive Scanning
Automated mechanism to do a complete Automated mechanism to do a complete scanning of broadcast frequenciesscanning of broadcast frequencies
Ensures discovery of all channelsEnsures discovery of all channels
Brings parity with CE devicesBrings parity with CE devices
Works on current hardware, 60% coverageWorks on current hardware, 60% coverage
Worldwide solutionWorldwide solutionInitial release targeted at European analog TVInitial release targeted at European analog TV
Exhaustive Scanning Exhaustive Scanning
Tested in EuropeTested in EuropeU.K., France, Germany, Finland and NetherlandsU.K., France, Germany, Finland and Netherlands
Great partner support Great partner support Hardware and driversHardware and drivers
Scanning timeScanning time
13min13min
Total foundTotal found
4343
Valid channelsValid channels
4343
NoiseNoise
0 0
DuplicatesDuplicates
0 0
Exhaustive ScanningExhaustive Scanning
versusversus
Scanning in Netherlands (results)Scanning in Netherlands (results)
Legacy ScanningLegacy Scanning
Scanning timeScanning time
21min 21min
Total foundTotal found
120120
Valid channelsValid channels
43 43
NoiseNoise
47 47
DuplicatesDuplicates
30 30
Call To ActionCall To Action
Follow analog tuner design guidelinesFollow analog tuner design guidelines
Design and use high quality encodersDesign and use high quality encoders
Develop high quality driversDevelop high quality drivers
Use BDA for digital tuner supportUse BDA for digital tuner support
Make sure your drivers support multiple Make sure your drivers support multiple hardware instanceshardware instances
Use ISF to certify video qualityUse ISF to certify video quality
Use the tuner test tools in the WDKUse the tuner test tools in the WDK
Use Windows Update for driver distributionUse Windows Update for driver distribution
Support exhaustive channel scanningSupport exhaustive channel scanning
Review the analog tuner whitepaperReview the analog tuner whitepaper
Additional ResourcesAdditional Resources
Web ResourcesWeb ResourcesAnalog tuner whitepaper Analog tuner whitepaper http://www.microsoft.com/whdc/system/platform/mediahttp://www.microsoft.com/whdc/system/platform/mediacenter/MCPCvidcap.mspxcenter/MCPCvidcap.mspx
Microsoft TV technologies on MSDNMicrosoft TV technologies on MSDNhttp://msdn.microsoft.com/library/default.asp?url=/library/en-ushttp://msdn.microsoft.com/library/default.asp?url=/library/en-us/directshow/htm/introductiontodirectshow.asp/directshow/htm/introductiontodirectshow.asp
Related sessionsRelated sessionsMED076 – Preparing to TV Beyond Windows VistaMED076 – Preparing to TV Beyond Windows Vista
MED114 – Windows Media DRM Device Ecosystem MED114 – Windows Media DRM Device Ecosystem for Windows Vistafor Windows Vista
MED035 – Hardware Implementations MED035 – Hardware Implementations of Media Center Upgrade Scenariosof Media Center Upgrade Scenarios
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.