Stuttering Playback
Total Page:16
File Type:pdf, Size:1020Kb
Stuttering Playback Table Of Content 1 Introduction 1.1 Abbreviations 2 Display Adapters 2.1 Display Refresh Rate what and why ? 2.1.1 Dynamic Refresh Rate changer 2.2 Cleaning Drivers 2.2.1 Vista and Windows 7 2.2.2 XP 2.2.3 Choosing display driver 2.2.3.1 NVIDIA 2.2.3.2 Ati 2.3 VMR9 vs. EVR 2.4 External helper software 2.5 AERO 2.6 DXVA 2.7 Update Motherboard Bios 2.8 Check other source of interference 2.9 DPC Latency 2.10 DMA mode 3 Tuners 3.1 Bad signal 3.2 Drivers 3.3 Network Provider 3.4 Time shifting buffer 3.4.1 Page file 3.5 Temp folders 4 Codecs 4.1 DXVA is it needed? 4.2 DXVA capable codecs 4.3 Checking that DXVA really is used 4.4 DVD playback 5 System cleaning and keeping in shape 6 System requirements 6.1 DVD, SDTV and Video 6.2 1080p based Blu-ray, HD-DVD, HDTV and HD Video 6.3 1080i based Blu-ray, HD-DVD, HDTV and HD Video Introduction This guide is written to help users solve playback problems on their own. It is not possible to cover every system, however the guide provides an overview of what things might affect playback quality. There is also a very detailed and complete guide in AVS forum for building HTPC. http://www.avsforum.com /avs-vb/showthread.php?t=940972 Please remember that recommendations in that guide are slighly off for Mediaportal, because of the way Mediaportal handles Graphical User Interface. Mediaportal GUI requires more GPU power than for example DVBViewer. Abbreviations At first we should make ourselves familiar with some of the terms that are often used in Team MediaPortal forums. http://forum.team-MediaPortal.com IGP Integrated GPU, meaning display adapter is integrated into motherboard. Stuttering Means that video freezes for a short period of time. This can happen for a number of reasons. Tearing Means that there is thin line that cuts screen and upper and lower parts are drifted apart. In most cases this is because wrong refresh rate. This can also happen if AERO is disabled in Vista and Windows 7, or DirectX exclusive mode is Off in Windows XP, or VMR9 is used in Windows Vista and Windows 7. Corrupted Video frame / Pixellation VMR9 It’s an API built on top of Direct3D that gives application an easy way to draw video to screen. It is used mainly in Windows XP. It also exists in Windows Vista and Windows 7, but it is not recommended in Windows Vista and Windows 7 and it is not supported by the team in those Operating systems. EVR The enhanced video renderer (EVR) is a component that displays video on the user's monitor. It is used by Windows Vista and Windows 7. It can be installed into Windows XP by installing .NET framework 3.5, but it is not recommended to use it in Windows XP and it is not supported by the team in Windows XP. Using EVR in Windows XP is software mode only, so DXVA hardware acceleration is not possible. Refresh rate Refresh rate is: how often image is drawn to screen by Display itself. Common refresh rates are 50 Hz and 60 Hz that are used with TV set or Monitor. Also 100 and 75 Hz are used. It is quite common that FPS and refresh rate do not match and it produces some visible errors to picture. In Europe PAL is used, so Ine should set refresh rate to 50Hz. In America 60Hz is in use. And then there is movie files,dvd's and blu-ray's which could have almost any FPS as could be imagined. That is why MediaPortal supports Dynamic Refresh Rate, More of that later in this document. Fps Frames per second indicate how many images per second are in source material, like in video DVD or in LiveTv. SD Standard Definition video. 480p, 480i, 576i and 576p HD High Definition video. 1080p/50, 1080p/60, 720p/50 and 720p/60 DXVA, DXVA 2 Is a specification that allows video decoding to be hardware (GPU) accelerated. Display Adapters There are mainly two manufacturers that produce display adapters suitable for HTPC use. NVIDIA and ATI, Intel is also trying to push itself into market with i5 and i7 platforms. All modern graphics adapters are capable of playing SD content. HD content on the other hand requires powerful CPU if HD content is to be played without graphics adapters help. This can be done by using for example CoreAVC codec. Most enjoyable and recommended is to use good Graphics adapter and DXVA capable codec. MediaPortal requires more powerful graphics adapter than for example PowerDVD recommends. This because MediaPortal GUI is much more advanced than in PowerDVD and it requires some slice from the GPU power to GUI handling. NVIDIA: Some soft and hardware manufacturers suggest that NVIDIA card with VP1 PureVideo support is good for HD content. This not entirely true becuase of the GUI handling in Mp, and second thing is that marketing man wants to sell cheap product with HD capability, So it needs to be at least VP2, but recommended is VP3 or VP4 PureVideo capable Graphics adapter. You can check NVIDIA adapters and their HD capability from Wikipedia. //en.wikipedia. org/wiki/PureVideo ATI: With ATI’s terminology Hardware assisted decoding is UVD. UVD 2 revision at least is recommended. Check your adapter’s capability from Wikipedia: http: //en.wikipedia.org/wiki/Unified_Video_Decoder. INTEL With INTEL one should have at least G45 chipset. i5 and i7 platforms are also very good. http://www.intel.com/technology/graphics/ctv.htm http://www.intel.com/performance/desktop/dighome/index.htm?iid=tech_chipset+rhc_dighome In INTEL platform there is one flaw that should be mentioned. In 23.976 fps material there is lot of stuttering reported. Refer to this forum for more information: http://www.avsforum.com/avs-vb/showthread.php?t=1216914 Display Refresh Rate what and why ? At first we need to define the difference between Monitor and TV's refresh rate and frame rate of source material. There these standards that are used in TV and movie industry: 50i is interlaced 50 frames per second film, but it has only half of original vertical resolution. Resolution is then restored in de-interlace process. 60i is 59.94 (60000/1001) to be precise, but it has only half of original vertical resolution. Resolution is then restored in de-interlace process. 30p is progressive i.e. non-interlaced frame rate. It was introduced to bring clarity into high speed images like in sports. 23.976p (24000/1001) is frame rate used in Blu-ray systems. 29.97p (30000/1001) is NTSC film definition. 24p is also non-interlaced format. It is slowed down to 23.976 for NTSC and speed up for PAL/SECAMsystems. 25p is non-interlaced format derived from PAL 50i standard to gain some “Cine"-look and feel. 50i has better motion response in fast moving objects. 50p*and *60p are HDTV formats. Even they are not part of DVB or ATSC standards, they are commonly used by broadcasters. These can be also be marked as 1080p/50 , 1080p/60, 720p/50 and 720p/60 Also Blu-ray and HD-DVD uses these formats. So frame rate is actually frames per second, which is actually same as Hz (Hertz = 1/s). Frame rate and Refresh rate are two sides of same thing. When Frame rate represents the speed of how many images are filmed per second into source material(DVD, Video file, Live TV) and refresh rate defines how many images TV-set or monitor displays in second. Best quality is achieved when we can set these rates to match each other. It is not always possible to achieve this, because not all displays support all frame rates that source material can have. Dynamic Refresh Rate changer One way to ease MediaPortal’s job is to use refresh rate changer built-in into MediaPortal. That way your monitor/TV set and Display adapters refresh rate is changed to match source materials frame rate. This can be done in MediaPortal configuration: As of MediaPortal v1.3. Final, the default settings for refresh rate changer are optimized for Blu-ray, NTSC & ATSC. The table looks like this, if display can handle all these refresh rates: Name Frame rate(s) refresh rate CINEMA 23.976 23 CINEMA24 24 24 PAL 25 50 PALHD 50 50 NTSC 29.97 59 NTSCHD 59.94 59 ATSC 30 60 ATSCHD 60 60 If display cannot handle all these refresh rates, table should be modified so that refresh rate is as close as possible to the frame rate For example Philips 5532D supports only 24p,50p and 60p refresh rates, so table should look like this: Name Frame rate(s) refresh rate CINEMA 23.976 24 CINEMA24 24 24 PAL 25 50 PALHD 50 50 NTSC 29.97 60 NTSCHD 59.94 60 ATSC 30 60 ATSCHD 60 60 This of course applies only if your monitor or TV set is capable of using that refresh rate. Also Display adapters have some restrictions on refresh rates. At this point it is necessary to check both Display’s and graphic adapter’s manuals for options you have to use Dynamic refresh rate control. And moreover In PAL countries most safe setting is to set refresh rate for 50Hz and in NTSC countries to 60 Hz.