• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

How to get hardware accelerated H264 playback (DXVA)

makes sense thanks man. ive had great luck re-encoding the files to have dxva support. seems the best route to me.
 
8800 Gtx

I've put the 8800 GTX in the PC of my daughter (Vista32) - before she had the 9800 GTX+ - she still can watch all her MKV H264 movies with just below 20% of CPU-usage with no stuttering and so on (DXVA is on via the Powerdvd 8 decoder) - so its working without problems there (AMD X2 4400 cpu). My HTPC with the 9800 GTX+ is working fine now.
 
was the movie 720p or 1080p?

when your playing a dxva video on mpc-hc with the 8800gtx, right click on the video, goto filter and click on mpc decoder. look and see if it says dxva or not using dxva. Im 99.9% positive that its not using dxva cause that card does not support it. thats the reason I got rid of my 8800gts 320mb.
 
Last edited:
CoreAVC + mpc-hc are good choice for mkv on NVIDIA cards. After CoreAVC + Haali installation --> Configure CoreAVC --> enable Prefer CUDA acceleration. It will then use CUDA for decoding. Go to mpc-hc --> options --> select Haali Renderer in output --> then disable the following Transform filter: H264/AVC (DXVA), H264/AVC (FFmpeg), VC1 (DXVA), VC1 (FFmpeg), Xvid/MPEG-4, MS MPEG-4, and source filters: Matroska, MP4/MOV.
Restart MPC-HC. It should work fine with every mkv, mp4 and other file with negligible cpu usage. Haali Renderer isn't bad for mkv. It works for me like charm under Windows 7 x64 RTM. I love the quality of mkv with 1/3 size of the original. Subtitles also work fine. In case CoreAVC isn't able to decode the stream, mpc-hc will automatically use internal filters with low priority.
 
For CUDA, any Directshow player will work. Don't need MPC-HC. I use Zoom. (I personally hate MPC-HC).

And mkv doesn't make anything 1/3 the size. Mkv is just a container, it has nothing to do with the size of the file.
 
Hallo,
my pc:
Athlon X2
2GB memory
AMD 785G with ATI HD 4200 onboard
Windows 7 64bit HP
CAT 9.10
no SW player installed !

Ich want to play GPU accelerated (DXVA) hd videos 720P/1080P in VC-1/ h264 im mkv / mov / mts format that is coming from documentary and my several hd camcorders.


Windows Media Player only is capable with 720p. VLC Lan client 1.03 stotters particulary (especially with stark moving pictures) when playing 1080p content.

I found this guide:
http://nunnally.ahmygoddess.net/watching-h264-videos-using-dxva/

when using the latest mpc 1.31 the errors came
"d3d.dll not found".

I installed the lastest dx 9.4 package.

Now no error is displayed but no video shows up instead the player in not reacting and has to be forced to close that will take some time.

even your recommendation to add the external filter "MS dtv-dvd.. decoder" does not help.

Does anybody know how to enable DXVA ?
 
Not sure how you guys feel about "codec packs" but just an FYI.
Normally I hate codec packs with a passion as they tend to have all sorts of garbage and putting all that together in a single MSI isn't exactly a genius task BUT...

Recently when trying to get some 1280x720 H264 MKV files to work in Windows Media Player 12 (including thumbnails in Explorer) I came across Shark's codec pack. He made one for regular 32-bit Windows and an add-on pack for 64-bit Windows (optional - only if you want to watch videos in 64-bit WMP).

I was quite pleasantly surprised/impressed! He went to the trouble of coding a "configuration front end" in VB or VC++ or something, which gives the user full control over all the codecs which his pack installs. What's really nice for 64-bit users is the single-button flipover from 32-bit WMP to 64-bit WMP. In case you want to see if there's a difference in CPU usage in decoding a 1920x1080 file with DXVA disabled, between 32-bit and 64-bit (which I haven't tested but would be interesting).

But anyways with the default settings of his codec pack I was getting DXVA enabled for all of my files (xvid, divx, and 720p h264 in MKV) in WMP 12.
Windows 7 64-bit with GTX 275/forceware 191.07 here.

His stuff is at http://shark007.net/
 
Great codec pack for sure. I can't use it tho. It won't play nice with AVIsynth decoding and PS3MediaServer for me. :( I have enough cpu that DXVA doesn't matter, so I just stick with the CCCP, as it has no conflicts for me, and is a hell of a lot less time consuming than installing the individual filters.
 
sharks stuff is good for performance, but its not quite there for compatibility as Wile E said - last time i tried it conflicted with something on my system and trashed my OS. i had to format to remove it (from what i hear that was fairly unique as i've seen no other reports, but since i dont change what software i use often, i'm not willing to retest yet)
 
I don't know if it's answered yet, so forgive if it was...

In Media Player Classic HC or standard, I've noticed that if you use Haali Renderer or VRM9 you got to use the Direct X 3D interface for the card, but also high processor usage. On the other hand, if I use EVR custom setting, I've got lower CPU usage, but also a little bit lower quality of HD movies. Personally I like Haali Renderer, since you can adjust the sharpening and also you can use 3rd party codecs, but with EVR I've noticed you cannot...
 
I don't know if it's answered yet, so forgive if it was...

In Media Player Classic HC or standard, I've noticed that if you use Haali Renderer or VRM9 you got to use the Direct X 3D interface for the card, but also high processor usage. On the other hand, if I use EVR custom setting, I've got lower CPU usage, but also a little bit lower quality of HD movies. Personally I like Haali Renderer, since you can adjust the sharpening and also you can use 3rd party codecs, but with EVR I've noticed you cannot...

this guide was purely about getting hardware accel of MKV files (and other HD material WMP cant run) in windows 7.

all that fancy stuff, i dont have all the details on (and arent really related to the thread)
 
I pieced together your guide plus a few extra codecs and got my acceleration to work and the GPU upscalling option to work better.
 
I pieced together your guide plus a few extra codecs and got my acceleration to work and the GPU upscalling option to work better.

awesome. Feel free to post what you did, and what benefits you got.

My guide was deliberately left simple.
 
I used the CCCP to configure the codecs since shark didn't allow for it, used the codecs from my Adobe software, and Pixela as well as a mixture of others to get low CPU use during DVD, streaming, M2TS and other high def file play. I can use the CCC to adjust the edge sharpening and smoothing, plus the effects in Media Player. WMC uses hardware acceleration for netflicks, but I don't know what format that is.

I can't tell all the steps i used as I tried so many. Just editing the profiles file for ATI didn't do jack.
 
this guide was purely about getting hardware accel of MKV files (and other HD material WMP cant run) in windows 7.

all that fancy stuff, i dont have all the details on (and arent really related to the thread)


I have a ATI HD3450, and this is all I did to get DXVA running on windows 7.

Download Sharks007 codec pack
Download Divx tech preview(not avialiable as standalone download anymore but is in Divx Download)

Install Shark007
Install Divx (make sure you install divx tech preivew component)

Turn off subtitles in Shark007 and use the MKV tab and use the default MPC codec not FFDshow

After this ALL my mkv use DXVA other then higher then 4 reference frame material. For this I just enable FFDshow in Shark007. I only have a 4300+ 4GB DDR ram and while the cpu usage is high with FFDshow enabled it still is 100% smooth. Hope this helps some, I have also played with MPC-HC and while it works I need a better interface that is useable with a MCE remote. Any questions, please feel free to ask. If anyone does find a way to have >4 reference frames material automatically switch back and forth please let me know!



Something new that I have found just recently is XBMC and Boxee both allow DXVA and subtitles to be turned on and off in the native apps, this is huge for me, now if I could just find a way to turn off fddshow as easily.
 
Your method doesnt work for me, as i require subtitles.
 
i know its an old thread, but i wanted to say that shark007 and divx preview worked for me too...

ilike getting really old machines do work for madern needs...and i want an all-in-one media player like media center in windows 7...

so i tried this method...also it plays all my hd vid's perfectly on my xbox 360 media extender as well!

my pc right now is an old work station (dell Precision 650) so it has two single core cpu's with HT, 3.06 ghz but man they feel slow sometimes...and 2gb of ram (although this method even worked for just 1gb of ram) and an agp hd2400pro...it does the job i need it for


i'm getting ready to build my second SFF dell gx280 with a 2.8ghz p4 and a 8400gs video card, plan to use the same method, but at least with this video card i can also decode flash hd video

and i have another old ass pc given to me that has a 2.2ghz celeron and i'll add 2gb of ram to it and get a 8400gs pci card

but yes, shark007 has subtitles and it works through media center, i hate them but to each their own i guess...

its great that even a hd2400pro can take cpu usage down to 10%
 
well, with my method (and no DXVA, just coreAVC) i've got a 1.6Ghz atom netbook playing 720p HD files at 50-60% CPU usage :) owner is damned pleased - it doesnt take all that much to play HD content these days.
 
well that is impressive, guess i've been too hung up on hardware decoding :)
 
well, with my method (and no DXVA, just coreAVC) i've got a 1.6Ghz atom netbook playing 720p HD files at 50-60% CPU usage :) owner is damned pleased - it doesnt take all that much to play HD content these days.

coreavc w/cuda is my new favorite hd decoder.

I got an aspire revo 1600, its an intel atom 230 (single core 1.6ghz) and nvidia ION Le(crippled 9400gt) and this thing plays all my hd content. 1080p or 720p mkv's. I all did is install mpc-hc and coreavc 2.0. Its such a beautiful thing that I put a 9400gt in the bedroom media server thats hooked up to my standard tv and one in my wifes workstation. Coreavc is installed on all them now. before I had hd stuff that wouldnt run in dxva mode with my on board hd4200 and I would have to re-encode them to have dxva support. I dont think they make a h264/x264 movie that isnt supported by coreavc using cuda of course.
 
coreAVC is great now, but its limited to nvidia 8 series and above cards - so its not perfect. for example, you can use DXVA with a Geforce 6100 onboard - well below cudas requirements.


coreAVC did have lots of incompatibilities, but most of them are ironed out in the new 2.0 version
 
see post 2, CCCP has been updated and now you can get DXVA easily on any windows OS, with far less compatibility issues.
 
I prefer FFdShow compiled on Free Codecs: http://www.free-codecs.com/download/FFDShow.htm
Seems to work the best and they also constantly update it. Unlike CCCP which seems quite outdated already...

the betas get updated rather frequently, actually. hence the bump/edit.

The point of the package is not just to include the codec, but also include a lightweight problem free player guaranteed to work with the bundled codecs.
 
Back
Top