My collection of short anime reviews

Contain spoilers that you may hate, but never biased in any way!

Home || Review Index || Subscribe to RSS || Facebook || @imouto.my e-mail [login][register] || Privacy Policy || About || Contact Me


Watching H.264 (and other) videos using Compute Unified Device Architecture (CUDA) or DXVA2 (DirectX Video Acceleration) native/renderless or Intel QuickSync Decoder or high performance software decoding

Shortlink of this post – http://wp.me/PrgSo-b1 (use this link in your forum/BBS/IRC/twitter/facebook etc. messages)

Alternative reading: same configuration with this page using PotPlayer – click here.

TABLE OF CONTENTS

CHANGELOG
INTRODUCTION
CHECKLIST
TUTORIAL
MISCELLANEOUS
 

CHANGELOG

15 May 2013 – Modified the installer so that users can keep their settings when upgrading.

Also included: A detailed QuickSync headless mode setup. You do not need this if you use Windows 8 and has installed the latest drivers.

 

INTRODUCTION

When this guide was first written nearly three years ago, it exclusively focused on making GPU-accelerated video playback. Today's update means that you can use MPC-HC to use a variety of GPU acceleration options, depending on the computer configuration that you have, and of course, your preferences. Not only that,you can use software decoding too if you wanted it.

Suggested hardware – with consideration of software decoding and usage of madVR.

Amazon referel links.

For software decoding methods, especially for Hi10p videos, a reasonably powerful CPU is needed. Below are some recommended CPUs for the said task.

AMD systems:-

CPU


AMD FX 6100 6-Core Processor, 3.3 6 Socket AM3+ - FD6100WMGUSBX

Motherboard


Gigabyte GA-970A-DS3 AM3+ AMD 970 SATA 6Gb/s USB 3.0 ATX AMD Motherboard

 

Intel systems:-

CPU


Intel Core i3-3225 Dual-Core Processor 3.3 GHz 3 MB Cache LGA 1155 - BX80637i33225

Motherboard


GA-Z77M-D3H LGA1155 M-ATX

These CPU + motherboard combinations should be enough for even the most demanding of Hi10p videos out there in TokyoTosho.

 

GPU

To fully utilize the capabilities of madVR, a reasonably powerful GPU is needed. Furthermore, they can also be used for hardware-accelerated video decoding for 8-bit H.264 videos, alongside MPEG-2, VC-1 and MPEG-4 ASP formats.

ATI


Gigabyte GV-R775OC-1GI AMD Radeon HD 7750 1GB GDDR5 DVI-I / D-SUB / HDMI PCI-Express 3.0 Graphic Card

This GPU should be able to handle all the madVR scaling algorithms, including Jinc. Can also be used for hardware-accelerated video decoding (native DXVA, DXVA renderless) for H.264 8-bit, VC-1 and MPEG2. Can also bitstream HD audio tracks (Dolby TrueHD and DTS-HD MA/HR).

 

nVidia

Low end:-


EVGA GeForce GTX 650 1024MB GDDR5 DVI mHDMI Graphics Card 01G-P4-2650-KR

High end:-


GIGABYTE GV-N670OC-2GD GeForce GTX 670 Windforce OC 2048MB GDDR5 256-bit PCI Express 3.0 x16 HDCP Ready SLI Support Graphics Card

Both cards can do hardware-accelerated video decoding (native DXVA, DXVA renderless and CUVID) for H.264 8-bit, VC-1, MPEG2 and MPEG4-ASP (CUVID only) videos. Both can also bitstream HD Audio tracks (Dolby TrueHD and DTS-HD MA/HR). The only difference between these two cards is that the GTX 650 cannot handle Jinc 8-tap while the GTX 670 can.

 

 

CHECKLIST

Main Programs:-

  1. DirectX End-user Runtime June 2010offline installer (recommended) or stub installer.  A mandatory installation for the MPC-HC build above. If you already have this runtime installed (some games install this for you), there is no need to redownload this.
  2. Microsoft .NET Framework 4 – Download here. You probably won't need it if you already have Windows Vista or 7. You will need it with Windows XP.
  3. LAV Filters Megamix - Download here (Compile time: 26 May 2013 5:46am UTC+8. Build: 21af717a70d0). Contains MPC-HC 32-bit lite (and PotPlayer 32-bit), LAV Filters (32-bit version only), dtsdecoderdll.dll for decoding DTS-HD MA tracks, madVR, AC3Filter 2.5b, Reclock, Real Alternative Lite and DirectVobSub xy-vsfilter (disabled for now). Unlike vanilla LAV Filters, the version in this package needs SSE2-capable CPUs to operate. doom9 thread for LAV Filters. doom9 thread for madVR.
    Note: When playing your very first video, it may take up to 30 seconds for playback to start because Reclock is doing its initial initialization.

Troubleshooting:-

  1. DXVA Checker – Download here. Original website. Provides information about your GPU video decoding capabilities.
  2. GPU-Z – Download from here. Provides general information about your GPU.
  3. CPU-Z – Download from here. Provides general information about your CPU.
  4. Driver Sweeper – Download from here. Clean up remnants of device drivers installations for clean reinstall.
  5. nVidia RGB Full/Limited range toggler – If you have nVidia GPU and uses HDMI output, this program allows you to make the GPU output full-range RGB without making custom resolutions. Download it here.

Test files:-

  1. H.264 SD video clip with styled karaoke subtitles [MediaInfo] – The Melancholy of Haruhi Suzumiya NCED theme (Hare Hare Yukai) – download here.
  2. H.264 720p video clip with styled karaoke subtitles [MediaInfo] – Clannad NCED theme (Dango Daikazoku) – download here.
  3. H.264 1080p video clip with styled karaoke subtitles [MediaInfo] – AIR NCOP theme (Tori no Uta) – download here.
  4. H.264 1080p video clip with styled karaoke subtitles [MediaInfo] – Clannad After Story NCOP theme (Toki wo Kizamu Uta) – download here.
  5. H.264 1080p video clip with styled subtitles [MediaInfo] – Planet Earth: From Pole to Pole – download here.
     
  6. Optional test file for testing deinterlacing capabilities: H.264 1080i video clip [MediaInfo] – History Channel – Decoding the Past: Mysteries of the Freemasons – download here.
     
  7. Optional test file for testing splitter's segment linking capabilities: 3x H.264 anamorphic 1080p video clips with styled subtitles [MediaInfo] – K-On!! episode 6 – download here.
     
  8. Optional (animation) test file to test Hi10p decoding performance: H.264 1080p 10-bit video clip (no subtitles) [MediaInfo] Sentai Filmworks' Angel Beats trailer – download here.
    2-pass encode with 10000Kbps bit-rate, 16 reference frames and 8 b-frames. Visually lossless compared to the source Blu-ray, even with 50% size reduction. If you can play this file flawlessly, your system should be good enough to play 99.999% Hi10p videos that anime fansubs groups will encode in the future. Even Tenshi's encodes.
     
  9. Optional (real-life) test file to demonstrate Hi10p encoding efficiency: H.264 1080p 10-bit video clip (PGS subtitles) [MediaInfo] – Pirates of the Caribbean: At World's End blooper reel – download here.
    2-pass encode with saner settings: 3072Kbps bit-rate, 3 reference frames, 3 b-frames. Differences in visual quality between the encoded file and the source Blu-ray is pretty much negligible. This clip is more than 3 times longer than the Highschool of the Dead clip above, yet the differences in size is merely only 20MB. A massive 80% file reduction has been achieved from the source file, with no 80% quality reduction, or any need to downscale to lower resolutions either.

If you have any problems downloading the files, please make a comment below.

 

TUTORIAL

Jump to:-

Step 1 – Installation Stage
Step 2 – Choosing Your Preferred Decoding Method By Configuring LAV Video Decoder
Step 3 – Configuring LAV Splitter Source, LAV Audio Decoder and AC3Filter (optional)
Step 4 – Configuring madVR

 

Step 1 – Installation Stage

If you already have Haali Media Splitter, madFLAC, madVR and LAV Filters installed, uninstall them first. If you have previous versions of LAV Filter Megamix that has Haali in it from here before, use the uninstaller to uninstall it too. Uninstall your version of MPC-HC too if you have them installed.

Download the .NET Framework above and install it, if you didn't have it installed already.

Then download the LAV Filters Megamix above and install it. Make sure you do not forgot to select MPC-HC in the screen below.

Click the 'Next' button a bunch of times until you arrived at the last step of the installation process as shown in the picture below.

For first-time installation, the first option in the picture above MUST BE SELECTED. Then click the 'Finish' button to finish the installation process.

When upgrading, you do not need to select the first option in the picture above if you want to keep your previous settings. But once in a while, you should reset the settings especially if a new version of LAV Filters and/or MPC-HC has been released. Or better, uninstall your current instalation first before using a newer version of the installer.

A note for everyone, if you use Windows 64-bit, you do not have to use MPC-HC 64-bit too. MPC-HC 32-bit works just fine.

 

MPC-HC can now be started via 'All Programs —> LAV Filters —> Media Player Classic HomeCinema'. Using Windows 8? It should be available somewhere in the Start Screen.

 

Step 2 – Choosing Your Preferred Decoding Method By Configuring LAV Video Decoder

It will be here where you will have to decide which decoding method from the list below that you want to use:-

  1. High performance software decoding mode.
  2. DXVA renderless decoding mode.
  3. CUDA decoding mode.
  4. Intel QuickSync decoding mode.
  5. Native DXVA decoding mode.

Go to 'Start Menu —> All Programs —> LAV Filters —> LAV Video Configuration' to bring up LAV Video Decoder property page. For Windows 8 users, the shortcut should be somewhere in the Metro Start page. LAV Video Decoder property page will appear and ready to be configured according to your preferred decoding method.

Method #1 – High performance software decoding mode.

Mainly used for Hi10p videos, and other video codecs if your GPU doesn't support it. For best results, you need a fast dual-core CPU with minimum speed of 3Ghz. A quad-core CPU should at least have 2.5Ghz of speed at least.

 

Method #2 – DXVA renderless decoding mode.

Works only in Windows Vista and later. Works best with nVidia GPUs, and also ATI GPU series that has UVD3. ATI UVD2.x users may have to switch to EVR custom presenter. Doesn't work on Hi10p videos and other unsupported video formats, and will fall into high performance software decoding mode when such files are played.

 

Method #3 – CUDA decoding mode (nVidia GPUs only).

note: For PureVideo 4 and 5 users, do not use 28x.xx, 29x.xx and 300.xx drivers, else MPEG4-ASP acceleration will fail. Use 27x.xx or older drivers, or use 301.42 drivers or newer.

Doesn't work on Hi10p videos and other unsupported video formats, and will fall into high performance software decoding mode when such files are played.

Click here for the goodies!

 

Method #4 – Intel QuickSync Decoding Mode.

You need an Intel SandyBridge/IvyBridge CPU that use the LGA1155 socket and a motherboard that did not use the P67 chipset. Therefore only motherboards with the B65, H61, Q67, H67, and Z68 chipsets can be used. All Series 7 motherboard chipsets will work. Windows 7 and later is recommended. Windows Vista is discouraged (no heterogenous GPU support), and Windows XP isn't supported at all.

If you want to use QuickSync ASIC for decoding while using a discrete videocard for madVR, you will need Windows 7 or later. If you only have Windows 7, you need to enable the QuickSync headless mode by following the steps in this link. If you have Windows 8, you do not have to do so.

Always make sure that you are using the latest drivers available from Intel's website, not the ones that comes from the motherboard manufacturer' websites, or the CD. Older driver versions may cause the decoder to fail.

 

Method #5 – native DXVA decoding mode.

Works only in Windows Vista and later. Should only be used by owners of Intel G45 chipset, Clarkdale and Arrandale CPUs, ATI HD3xxx, HD4xxx and HD5xxx GPUs. But all other GPUs/iGPUs that can use QuickSync/CUVID/DXVA renderless decoding methods should also be able to use this mode. Doesn't work on Hi10p videos and other unsupported video formats, and will fall into high performance software decoding mode when such files are played.

Click 'Apply' button to save your settings, then click the 'OK' button to close the property page.

 

Step 3 – Configuring LAV Splitter Source, LAV Audio Decoder and AC3Filter (optional)

Go to 'Start Menu —> All Programs —> LAV Filters —> LAV Splitter Configuration' to bring up LAV Splitter property page. For Windows 8 users, the shortcut should be somewhere in the Metro Start page. 'LAV Splitter' property page will appear below.

 

Leave everything here exactly as shown above. You're welcome to play around with automatic audio/subtitles track selection routine though to suit your needs. Verify that everything is in order, click 'Apply' and then click 'OK' to close the property page.

 

Go to 'Start Menu —> All Programs —> LAV Filters —> LAV Audio Configuration' to bring up LAV Audio Decoder property page. For Windows 8 users, the shortcut should be somewhere in the Metro Start page. 'LAV Audio Decoder' property page will appear below.

Enable any audio codec you want to bitstream here. If bitstreaming DTS-HD MA, do not enable 'Use DTS-HD Framing for all DTS types' unless your receiver needs it. Verify that everything is in order, click 'Apply' and then click 'OK' to close the property page.

 

By default, AC3Filter is set to mix all audio tracks to stereo. If you have other speaker configurations, start up AC3Filter by going to 'Start Menu —> AC3Filter —> AC3Filter Config' to bring up its property page, as shown below.

For example, if you have a 5.1 speaker system, change the 'Output Format' drop-down menu to use '5.1 surround'. Verify that everything is in order, click 'Apply' and then click 'OK' to close the property page.

 

Step 4 – Configuring madVR

Click here to read how to configure madVR.

 

If you have any problems, make a comment below with the screenshots of your DXVA Checker, GPU-Z and CPU-Z results like in the example below.

 

MISCELLANEOUS

  • With the removal of ffdshow raw video filter, if you want to deband your videos, you have to use JanWillem32 deband pixel shader script, which is included in the LAV Filters package above. His pixel shader script need a reasonably powerful GPU to run effectively though. No iGPU like Intel HD4000 and AMD/nVidia solutions can handle it, and some models of low-end discrete GPU may have problems too.

Reviews only full season(s) of anime series, and movies. Maybe a little bit of OVAs. Will put a two-point handicap on titles within the romance and sport genres.

Google+ 

Incoming search terms:

Written by on Feb 23,2009 in: |
Creative Commons License
Unless stated otherwise, this work by ranpha (text only) is licensed under a Creative Commons Attribution 3.0 Unported License.
All comments belongs to their respective Posters. Screenshots of all anime titles here belongs to their respective authors and/or companies.

2,519 Comments »

RSS feed for comments on this post. TrackBack URL


Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <img src="" alt=""> <q cite=""> <strike> <strong>

Leave a Reply

If you have any problems with the comment form, you can contact me using the contact form.
User's homepage links are nofollow-free.

If you want to insert images or screenshots, please use the likes of imgur.com or min.us and not imageshack because this blog domain is not (and will not be) registered with them. You can use the HTML img tag to insert the image, but not with BBCODE [img] tag that are used in forums.

Please click the 'Post Comment' button only once. It will take up to 30 seconds for your comment to be inserted into the database. Your comment will appear immediately unless it was flagged as spam by Akismet, which will then be reviewed manually later as fast as humanely possible.

Powered by WordPress and DNS Made Easy. Theme: TheBuckmaker. CopyPaste, Bauanleitung, BLOGbal.

This blog is best viewed in high definition, using Mozilla Firefox, Internet Explorer 7+, Opera 10.x+ or any Webkit-based browsers.
My collection of short anime reviewsSubmit my blog Comicsblog directoryFree web directory, click hereBlogged.mydowntime
Blog Directory & Search engineBlog DirectoryListed in LS Blogs the Blog Directory and Blog Search EngineReadABlog.com Blog Search Engineipv6 ready
Blogs lists and reviewsblog search directoryStop Spam Harvesters, Join Project Honey PotGeo Visitors MapMy Ping in TotalPing.comMy Ping in TotalPing.comPuppyURL - Free Directory
Get listed in a premiere web site directory for free This site is listed under Anime Directory
Blog Directory | Quick Link Submission Approval in 24 Hours - Submit your Website Today | This website is listed in Craig's Directory