![]() |
|
|
#1 |
|
Doctor Moderator
Join Date: Oct 2004
Location: Bendigo, Australia (NOT THE USA)
Posts: 34,550 (10.97/day)
Thanks: 3,699
Thanked 8,689 Times in 6,389 Posts
|
How to get hardware accelerated H264 playback (DXVA)
General information before we begin:
Comparison screenshots for your own testing, and what to expect. 1080P movie (Blu ray rip i made myself, so yes its a legal backup) using windows 7's codec and DXVA mode (see bottom of MPC-HC for evidence of this) If it matters to anyone, its a 12.3GB file - so its not low bitrate, or heavily compressed. ![]() You'll notice it has very low CPU usage - FYI, i'm going from 3-5% CPU usage with the show paused, due to background tasks (antivirus and such). so its very, VERY low. Now we try again with the *same codec* with DXVA disabled. ![]() GPU usage: 10% dropped to 2% CPU usage: 6% raised to 40% (varying in different scenes, but 35-40% was a clear average - you can see spikes in the usage graph as i seeked back and forth numerous times trying to get a good screenshot) Here is a screenshot of it working in windows media player. It NEEDS to be noted that for me to achieve this, i had to install the "DivX Technology preview" from their website - otherwise, i merely got FFDSHOW playing the files thanks to the CCCP codec pack i have installed, and only got software mode working.
__________________
![]() Edumacational thread about PC Audio My external HDD's.5x samsung 1TB + 2x Seagate 1.5TB = 8 TB external storage 32 Bit OS vs 64 bit OS information How to get hardware accelerated H264 playback (DXVA) Netbook Owners United! Last edited by Mussels; Sep 5, 2009 at 12:58 PM. |
|
|
|
| The Following 11 Users Say Thank You to Mussels For This Useful Post: |
|
|
#2 |
|
Doctor Moderator
Join Date: Oct 2004
Location: Bendigo, Australia (NOT THE USA)
Posts: 34,550 (10.97/day)
Thanks: 3,699
Thanked 8,689 Times in 6,389 Posts
|
The old post is hidden behind here.
Spoiler
update: the new CCCP beta 2010-04-03.exe includes FFDSHOWs new DXVA support. Unlike 7's codec, this one falls back to software mode on incompatible files - giving you the best of both worlds. Simply set up the DXVA app in your start menu application as shown in these screenshots: ![]() ![]() ![]() Then so long as MPC-HC is using FFDSHOW (default) you're gunna get DXVA running
__________________
![]() Edumacational thread about PC Audio My external HDD's.5x samsung 1TB + 2x Seagate 1.5TB = 8 TB external storage 32 Bit OS vs 64 bit OS information How to get hardware accelerated H264 playback (DXVA) Netbook Owners United! Last edited by Mussels; Apr 5, 2010 at 11:23 AM. |
|
|
|
| The Following 3 Users Say Thank You to Mussels For This Useful Post: |
|
|
#3 |
|
Doctor Moderator
Join Date: Oct 2004
Location: Bendigo, Australia (NOT THE USA)
Posts: 34,550 (10.97/day)
Thanks: 3,699
Thanked 8,689 Times in 6,389 Posts
|
Placeholder post 3
list of known problems, and workarounds/solutions. people can post now, but no need - there aint much to see yet :P Nvidia: CoreAVC with Cuda support enabled doesnt support files with 16 reference frames (which is one method to get better file quality at the expense of encoding time) or greater. It also doesnt like interlaced streams (Such as from a TV tuner) - the current version of CoreAVC is 1.9.5 and it has these issues, they should be fixed in a later version. ATI: Some files corrupt/dont play. I dont know why, but i can link to an example file for others to diagnose. In order to disable DXVA yet use the same codec, all i'm doing is changing the rendering path to VMR9 instead of EVR custom. EVR custom doesnt corrupt when used with FFDSHOW or CoreAVC, so its the windows 7 codec or ATI's drivers at fault here. Example with DXVA off: ![]() Example with DXVA on: ![]() Pretty easy to tell which ones not working right ![]() Without an Nvidia card to test with, i cant tell if the problem is with windows 7 or ATI's drivers, but at this stage i beleive it to be ATI's drivers. edit: the files above turned out to just be DXVA incompatible. Nvidias solution (and now with some update ATI drivers) DXVA just disables and drops to software mode on those files. Edit: this no longer happens on ATI cards, they've updated the drivers so that it now plays corruption free, even on out of spec H264 files.
__________________
![]() Edumacational thread about PC Audio My external HDD's.5x samsung 1TB + 2x Seagate 1.5TB = 8 TB external storage 32 Bit OS vs 64 bit OS information How to get hardware accelerated H264 playback (DXVA) Netbook Owners United! Last edited by Mussels; Oct 5, 2010 at 06:13 AM. |
|
|
|
| The Following User Says Thank You to Mussels For This Useful Post: |
|
|
#4 | |
![]() Join Date: Oct 2006
Location: Hong Kong, China
Posts: 3,700 (1.53/day)
Thanks: 586
Thanked 451 Times in 387 Posts
|
Quote:
Decoding HD content is a walk in the park for both of our cards and that I was watching a 720p anime. (So the GPUs are in UVD state 1 which is 500Mhz) Given that Avivo post-processing only takes around 1~2% of GPU load, a constant 7% load on my 4850 should be an indication that I got DXVA in WMP, its around the same for MPC-HC.
__________________
ʃ( ◕ ‿‿ ◕ )ʅ “but oh ze noes! i can't convert my porn to iphone so i can watch in the bus .. it doesnt support cuda / badaboom.” -W1zzard
Last edited by Zubasa; Sep 5, 2009 at 07:00 AM. |
|
|
|
|
|
|
#5 |
|
Power User
Join Date: Oct 2006
Location: Western PA (Pittsburgh suburbs)
Posts: 18,129 (7.48/day)
Thanks: 450
Thanked 3,825 Times in 3,123 Posts
|
CCCP needs to update to support this out of the box in WMP and WMC. I tried Sharky's Win7 Codec pack as well at some point, but I didn't like it as much. It didn't work as well with ps3 Media Server.
__________________
![]() Visit Ashentech “What the hell did you expect? Leave Vista under the pillow and the OS fairy would make it Win7?” -El Fiendo
“And Bring Mailman back god damnit, he is the Eric Cartman of TPU” -MRCL
|
|
|
|
|
|
#6 | ||
|
Doctor Moderator
Join Date: Oct 2004
Location: Bendigo, Australia (NOT THE USA)
Posts: 34,550 (10.97/day)
Thanks: 3,699
Thanked 8,689 Times in 6,389 Posts
|
Quote:
![]() Note the "3D surfaces" Quote:
edit: done
__________________
![]() Edumacational thread about PC Audio My external HDD's.5x samsung 1TB + 2x Seagate 1.5TB = 8 TB external storage 32 Bit OS vs 64 bit OS information How to get hardware accelerated H264 playback (DXVA) Netbook Owners United! Last edited by Mussels; Sep 5, 2009 at 01:40 PM. |
||
|
|
|
|
|
#7 |
![]() Join Date: Sep 2004
Location: Norway
Posts: 1,681 (0.53/day)
Thanks: 15
Thanked 199 Times in 156 Posts
|
the encoded file must be level 4.1 to get DXVA to work on any card, its pointless to encode to level 5.1 when not even dedicated hardware can decode it, like Popcorn Hour etc
btw reference frames is a limitation of dxva, the higher the ref frames the non complaint dxva encode it will be just use the built in h264/dxva decoder in mpc-hc |
|
|
|
| The Following User Says Thank You to wiak For This Useful Post: |
|
|
#8 |
|
Doctor Moderator
Join Date: Oct 2004
Location: Bendigo, Australia (NOT THE USA)
Posts: 34,550 (10.97/day)
Thanks: 3,699
Thanked 8,689 Times in 6,389 Posts
|
i dont know the level stuff, but i've heard the 4.1 number bandied about - how can you tell what level a file was encoded with?
__________________
![]() Edumacational thread about PC Audio My external HDD's.5x samsung 1TB + 2x Seagate 1.5TB = 8 TB external storage 32 Bit OS vs 64 bit OS information How to get hardware accelerated H264 playback (DXVA) Netbook Owners United! |
|
|
|
|
|
#9 |
![]() Join Date: Sep 2004
Location: Norway
Posts: 1,681 (0.53/day)
Thanks: 15
Thanked 199 Times in 156 Posts
|
most of the files says it in the .nfo file, am not sure how to detect level, there is http://www.videohelp.com/tools/tsMuxeR to change level, but its still not recommended
find out what level 4.1 is at http://www.avsforum.com/avs-vb/showthread.php?t=972503 blu-ray h264 uses level 4.1 |
|
|
|
| The Following User Says Thank You to wiak For This Useful Post: |
|
|
#10 |
![]() Join Date: Sep 2004
Location: Norway
Posts: 1,681 (0.53/day)
Thanks: 15
Thanked 199 Times in 156 Posts
|
if your files displays corrupt just use software decode
![]() btw most 720p x264/h264 encodes are level 4.1 now |
|
|
|
|
|
#11 |
|
Doctor Moderator
Join Date: Oct 2004
Location: Bendigo, Australia (NOT THE USA)
Posts: 34,550 (10.97/day)
Thanks: 3,699
Thanked 8,689 Times in 6,389 Posts
|
indeed, the problem is that there is no automated way to do it - so i have to use two different players, or swap back and forth between the settings. (my media PC struggles on 1080P sometimes without DXVA)
__________________
![]() Edumacational thread about PC Audio My external HDD's.5x samsung 1TB + 2x Seagate 1.5TB = 8 TB external storage 32 Bit OS vs 64 bit OS information How to get hardware accelerated H264 playback (DXVA) Netbook Owners United! |
|
|
|
|
|
#12 | |
![]() Join Date: Sep 2004
Location: Norway
Posts: 1,681 (0.53/day)
Thanks: 15
Thanked 199 Times in 156 Posts
|
Quote:
i can play blu-ray at upto 1080p/40mbit, but i cant even play some 1080p files why? the guys that encode are not looking at the big picture, and dont care if it cant be decoded on slower pcs |
|
|
|
|
|
|
#13 |
![]() Join Date: Sep 2004
Location: Norway
Posts: 1,681 (0.53/day)
Thanks: 15
Thanked 199 Times in 156 Posts
|
btw have you tried CoreAVC? and check cpu usage?
sometimes CoreAVC will decode realy well |
|
|
|
|
|
#14 |
|
Doctor Moderator
Join Date: Oct 2004
Location: Bendigo, Australia (NOT THE USA)
Posts: 34,550 (10.97/day)
Thanks: 3,699
Thanked 8,689 Times in 6,389 Posts
|
the files that were corrupting on me are encoded to level 5.0, and did not work even when changed back to 4.1 via the tools linked by wiak.
It seems windows media player is smart enough to automatically change codecs for those files, but MPC-HC isnt. i mention coreAVC early on :P it just doesnt get hardware accel on ATI. on my media PC, FFDSHOW cant do 1080P smoothly, while CoreAVC can - (60-80% CPU) whereas 7's built in codec (on properly encoded files) gets that to <10% - being borderline for lag free aint good when you have housemates leeching files off the PC over the network, and so on.
__________________
![]() Edumacational thread about PC Audio My external HDD's.5x samsung 1TB + 2x Seagate 1.5TB = 8 TB external storage 32 Bit OS vs 64 bit OS information How to get hardware accelerated H264 playback (DXVA) Netbook Owners United! |
|
|
|
|
|
#15 |
![]() Join Date: Sep 2004
Location: Norway
Posts: 1,681 (0.53/day)
Thanks: 15
Thanked 199 Times in 156 Posts
|
CoreAVC CUDA is fake, it just uses DXVA hehe, i have heard
|
|
|
|
|
|
#16 |
|
Power User
Join Date: Oct 2006
Location: Western PA (Pittsburgh suburbs)
Posts: 18,129 (7.48/day)
Thanks: 450
Thanked 3,825 Times in 3,123 Posts
|
I can get it to work in both Zoom and MPC-HC, but I need it to work in Windows Media Player/Media Center, or I need a Media Center replacement that uses the necessary rendering paths. MPC doesn't cut it.
__________________
![]() Visit Ashentech “What the hell did you expect? Leave Vista under the pillow and the OS fairy would make it Win7?” -El Fiendo
“And Bring Mailman back god damnit, he is the Eric Cartman of TPU” -MRCL
|
|
|
|
|
|
#17 |
|
Doctor Moderator
Join Date: Oct 2004
Location: Bendigo, Australia (NOT THE USA)
Posts: 34,550 (10.97/day)
Thanks: 3,699
Thanked 8,689 Times in 6,389 Posts
|
it gets lower CPU usage than DXVA, support varied based on nvidia drivers (you needed a certain driver or up, in which nvidia stated in the release notes they added more CUDA support), and it has a different set of bugs than DXVA mode on nvidia cards.
Just because both modes are hardware accelerated, doesnt mean they're both DXVA.
__________________
![]() Edumacational thread about PC Audio My external HDD's.5x samsung 1TB + 2x Seagate 1.5TB = 8 TB external storage 32 Bit OS vs 64 bit OS information How to get hardware accelerated H264 playback (DXVA) Netbook Owners United! |
|
|
|
|
|
#18 |
|
Doctor Moderator
Join Date: Oct 2004
Location: Bendigo, Australia (NOT THE USA)
Posts: 34,550 (10.97/day)
Thanks: 3,699
Thanked 8,689 Times in 6,389 Posts
|
then you need the divX thing i linked to, which adds WMF MKV support into WMP.
__________________
![]() Edumacational thread about PC Audio My external HDD's.5x samsung 1TB + 2x Seagate 1.5TB = 8 TB external storage 32 Bit OS vs 64 bit OS information How to get hardware accelerated H264 playback (DXVA) Netbook Owners United! |
|
|
|
|
|
#19 |
|
Power User
Join Date: Oct 2006
Location: Western PA (Pittsburgh suburbs)
Posts: 18,129 (7.48/day)
Thanks: 450
Thanked 3,825 Times in 3,123 Posts
|
Does it screw with Haali subtitle settings? I might have to try it.
__________________
![]() Visit Ashentech “What the hell did you expect? Leave Vista under the pillow and the OS fairy would make it Win7?” -El Fiendo
“And Bring Mailman back god damnit, he is the Eric Cartman of TPU” -MRCL
|
|
|
|
|
|
#20 |
|
Doctor Moderator
Join Date: Oct 2004
Location: Bendigo, Australia (NOT THE USA)
Posts: 34,550 (10.97/day)
Thanks: 3,699
Thanked 8,689 Times in 6,389 Posts
|
dont beleive so. they have a heap of patch notes saying it only works with one audio track and 'doesnt support subtitles' but i watched anime with softsubs and it played fine (albeit, the anime only has one audio and one subtitle track)
__________________
![]() Edumacational thread about PC Audio My external HDD's.5x samsung 1TB + 2x Seagate 1.5TB = 8 TB external storage 32 Bit OS vs 64 bit OS information How to get hardware accelerated H264 playback (DXVA) Netbook Owners United! |
|
|
|
|
|
#21 | |
|
Guest
Posts: n/a (0/day)
|
Quote:
also, you don't need to use Core AVC for Nvidia cards, just check the matroska filter and H.264 DXVA in internal filters and DXVA should be good. |
|
|
|
|
#22 |
|
Power User
Join Date: Oct 2006
Location: Western PA (Pittsburgh suburbs)
Posts: 18,129 (7.48/day)
Thanks: 450
Thanked 3,825 Times in 3,123 Posts
|
I hate to be so picky, it's just that while I'm not hooked directly to the TV, I need my subs and audio tracks preconfigured by Haali so that I can stream to the ps3, but then I need this stuff to work in Media Center as well, for when I am hooked to the TV.
__________________
![]() Visit Ashentech “What the hell did you expect? Leave Vista under the pillow and the OS fairy would make it Win7?” -El Fiendo
“And Bring Mailman back god damnit, he is the Eric Cartman of TPU” -MRCL
|
|
|
|
|
|
#23 | |
|
Doctor Moderator
Join Date: Oct 2004
Location: Bendigo, Australia (NOT THE USA)
Posts: 34,550 (10.97/day)
Thanks: 3,699
Thanked 8,689 Times in 6,389 Posts
|
Quote:
MPC-HC's internal H264 decoder is terrible, and barely works on most files. If the files encoded with a high bitrate its software decode isnt going to work at all - its higher than FFDSHOW. At least the other codecs have a chance to play in software mode if hardware mode fails.
__________________
![]() Edumacational thread about PC Audio My external HDD's.5x samsung 1TB + 2x Seagate 1.5TB = 8 TB external storage 32 Bit OS vs 64 bit OS information How to get hardware accelerated H264 playback (DXVA) Netbook Owners United! |
|
|
|
|
|
|
#24 | |
|
Doctor Moderator
Join Date: Oct 2004
Location: Bendigo, Australia (NOT THE USA)
Posts: 34,550 (10.97/day)
Thanks: 3,699
Thanked 8,689 Times in 6,389 Posts
|
Quote:
Go to the link, signup, and post in their forum. They;re on beta 3 atm, and if you voice your concerns it may end up in beta 4. It aint ever gunna work any way except with DivX help, so you really should go nag them about it before its too late and they make it final.
__________________
![]() Edumacational thread about PC Audio My external HDD's.5x samsung 1TB + 2x Seagate 1.5TB = 8 TB external storage 32 Bit OS vs 64 bit OS information How to get hardware accelerated H264 playback (DXVA) Netbook Owners United! |
|
|
|
|
|
|
#25 | |
|
Power User
Join Date: Oct 2006
Location: Western PA (Pittsburgh suburbs)
Posts: 18,129 (7.48/day)
Thanks: 450
Thanked 3,825 Times in 3,123 Posts
|
Quote:
__________________
![]() Visit Ashentech “What the hell did you expect? Leave Vista under the pillow and the OS fairy would make it Win7?” -El Fiendo
“And Bring Mailman back god damnit, he is the Eric Cartman of TPU” -MRCL
|
|
|
|
|
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Dead hardware - How to get rid of it? | Maelstrom | General Hardware | 3 | Mar 7, 2009 01:28 AM |
| The future of Hardware Accelerated Physics. | DarkMatter | Games | 9 | Sep 29, 2008 08:31 PM |
| ASUS Provides Hardware Accelerated Audio For Windows Vista | Jimmy 2004 | News | 4 | Jan 26, 2008 09:34 AM |
| KillerNIC to Get Hardware-Accelerated VoIP | JacKz5o | News | 6 | Nov 23, 2007 10:40 AM |