Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Hardware & Software > Software players

Reply
 
Thread Tools Display Modes
Old 14th November 2007, 09:53   #1  |  Link
Blue_MiSfit
Don't interlace me...
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 4,280
DXVA 2 and 8800gt + x264 generated H.264

Hey folks,

I'm wondering if it's possible to do hardware accelerated decoding of H.264 in an ordinary DirectShow media player. Specifically, I'm wondering can self generated content benefit from hardware acceleration?

I'm curious, because I know there were issues with this in the past. What's the current status?

I'm getting an 8800gt (and an HD-DVD drive) soon, and want to test its H.264 decoding muscle!

~MiSfit
__________________
Use x264. Seriously, use it right now.
Blue_MiSfit is offline   Reply With Quote
Old 14th November 2007, 10:56   #2  |  Link
Kado
Otaku
 
Kado's Avatar
 
Join Date: Sep 2006
Location: Portugal
Posts: 548
You need a directshow h264 decoder that supports hardware decoding of h264 like the cyberlink's one, and use evr for vista and vmr9 for xp. or something like it.
That card supports Purevideo HD and I think it can do both decoding and deblocking.
__________________
In the school, the three guys met. Their relation had been changed in the season, and turned into three love stories.
Kado is offline   Reply With Quote
Old 14th November 2007, 17:00   #3  |  Link
arfster
Registered User
 
Join Date: Jun 2006
Posts: 169
Quote:
Originally Posted by Blue_MiSfit View Post
I'm wondering if it's possible to do hardware accelerated decoding of H.264 in an ordinary DirectShow media player. Specifically, I'm wondering can self generated content benefit from hardware acceleration?
It's not so much h264 that's the problem, but h264 created by x264 (+using the cyberlink decoder, + a VLD acceleration card like your NVidia or the ATI 2400/2600). It's probably possible to get this to work if you fiddle with encode settings enough, but it might be a pain.

At some point in the future there will be other VLD-compatible h264 decoders and the problem will go away, but until then you're probably best experimenting with other h264 encoders.
arfster is offline   Reply With Quote
Old 14th November 2007, 23:31   #4  |  Link
arfster
Registered User
 
Join Date: Jun 2006
Posts: 169
Out of curiosity, just encoded some HD into h264 with latest nero recode. Using haali > cyberlink > EVR, it accelerates perfectly, with near zero CPU. I had to use perfmon to even notice any effect on the processor at all: 16mbit 1080p takes 0.5% of my 2.4ghz C2D+2600xt (Vista32, Catalyst7.7).
arfster is offline   Reply With Quote
Old 15th November 2007, 00:26   #5  |  Link
Blue_MiSfit
Don't interlace me...
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 4,280
w00t then

I will try it out when I get my new card!
__________________
Use x264. Seriously, use it right now.
Blue_MiSfit is offline   Reply With Quote
Old 23rd November 2007, 08:06   #6  |  Link
Scurra
Registered User
 
Join Date: May 2007
Posts: 25
Quote:
Originally Posted by arfster View Post
Out of curiosity, just encoded some HD into h264 with latest nero recode. Using haali > cyberlink > EVR, it accelerates perfectly, with near zero CPU. I had to use perfmon to even notice any effect on the processor at all: 16mbit 1080p takes 0.5% of my 2.4ghz C2D+2600xt (Vista32, Catalyst7.7).
Did you try some x264 encodes? On my 8800 GT none of them gets accellerated...
Scurra is offline   Reply With Quote
Old 29th November 2007, 16:09   #7  |  Link
aiyunyi
Registered User
 
Join Date: May 2006
Location: China
Posts: 27
For nearly all H264 Encoded Movie in Blueray or HDDVD, Cyberlink+HD2400+Catalyst 7.10 works fine for me. But when it goes to x264 encoded mkvs, some of them give you a green face on my screen. I think it is due to x264 is not well supported by Catalyst driver.
aiyunyi is offline   Reply With Quote
Old 29th November 2007, 19:35   #8  |  Link
kutjong
Registered User
 
kutjong's Avatar
 
Join Date: Nov 2007
Location: Finland
Posts: 86
Quote:
Originally Posted by aiyunyi View Post
For nearly all H264 Encoded Movie in Blueray or HDDVD, Cyberlink+HD2400+Catalyst 7.10 works fine for me. But when it goes to x264 encoded mkvs, some of them give you a green face on my screen. I think it is due to x264 is not well supported by Catalyst driver.
No, it's due to the mkv container. It's not compatible for HW acceleration at present. You can rip the material from mkv and put in an avi and it'll be HW accelerated.
I think the incompatibility is due to the mkv splitter...
kutjong is offline   Reply With Quote
Old 29th November 2007, 21:19   #9  |  Link
Kado
Otaku
 
Kado's Avatar
 
Join Date: Sep 2006
Location: Portugal
Posts: 548
Actually streams encoded by x264 don't get accelerated unless some specific settings are chosen in the encoder, or something like that.
__________________
In the school, the three guys met. Their relation had been changed in the season, and turned into three love stories.
Kado is offline   Reply With Quote
Old 29th November 2007, 21:28   #10  |  Link
Dark Shikari
x264 developer
 
Dark Shikari's Avatar
 
Join Date: Sep 2005
Location: Claremont, CA
Posts: 7,934
Quote:
Originally Posted by Kado View Post
Actually streams encoded by x264 don't get accelerated unless some specific settings are chosen in the encoder, or something like that.
I assume what you mean is that the correct --level flag needs to be applied.
Dark Shikari is offline   Reply With Quote
Old 30th November 2007, 03:31   #11  |  Link
NanoBot
Registered User
 
Join Date: Sep 2003
Posts: 127
Hi,

I am using a 8600gts and I am able to play back h.264/ac3 streams in mkv, which I recorded from DVB-C, with full GPU decoding without problems. Nevertheless I got one x264 encoded stream in mkv which causes the framerate to drop, when I play it with dxva on. This does not happen when dxva is disabled in the cyberlink decoder.

I think that I can remember that the use of "b-pyramids" when encoding with x264 is responsible for this behavior. I will check this out within the next days if I find time for it.

C.U. NanoBot
NanoBot is offline   Reply With Quote
Old 30th November 2007, 18:58   #12  |  Link
arfster
Registered User
 
Join Date: Jun 2006
Posts: 169
Seems to be 2 different issues: 720p content running at 20fps (approx) when accelerated, and 1080p stuff not starting at all. One can be fixed by not using mkv as the container, one can't.
arfster is offline   Reply With Quote
Old 1st December 2007, 02:26   #13  |  Link
TheShadowRunner
Registered User
 
TheShadowRunner's Avatar
 
Join Date: Feb 2004
Posts: 156
not exactly.
The 20fps bug problem can be avoided by using a specific version of cl264dec.ax and certain nvidia drivers.
720p accelerated MKV work now perfectly here.
1080p still give a black screen though.
Please see my post on another forum:
http://www.avsforum.com/avs-vb/showt...php?p=12291586
(i hope it's not a problem linking there)
See you,

TSR
TheShadowRunner is offline   Reply With Quote
Old 3rd December 2007, 07:25   #14  |  Link
Blue_MiSfit
Don't interlace me...
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 4,280
Interesting.

I had everything working PERFECTLY with a Radeon 2400 pro that I bought in the interim of getting my eVGA step-up processed. I switched to the 8800gt and now my HD-DVDs still play perfectly accelerated (XP Pro, latest Beta drivers for Crysis, and latest PowerDVD).

However, re-encoded content doesn't play with any acceleration in media player classic, where it did before perfectly with the Radeon. I'm guessing its a driver specific thing... Man oh man - hopefully I can get this sorted soon, because software decoding HD-DVD quality x264 on a 3800+ X2 is a no-go!

~MiSfit
__________________
Use x264. Seriously, use it right now.
Blue_MiSfit is offline   Reply With Quote
Old 3rd December 2007, 14:08   #15  |  Link
arfster
Registered User
 
Join Date: Jun 2006
Posts: 169
Quote:
Originally Posted by TheShadowRunner View Post
not exactly.
The 20fps bug problem can be avoided by using a specific version of cl264dec.ax and certain nvidia drivers.
Yeah, that seems to work too - but not very practical if you want to run hddvd/Bluray, which need up to date versions of PDVD.

I found remuxxing to .avi worked OK for some files btw. The problem doesn't really bother me enough to experiment though - my main machine can run them in software easily, and it only really affects my thoughts of making a low power silent HTPC with no moving parts.
arfster is offline   Reply With Quote
Old 3rd December 2007, 23:12   #16  |  Link
Blue_MiSfit
Don't interlace me...
 
Blue_MiSfit's Avatar
 
Join Date: Nov 2003
Location: Los Angeles
Posts: 4,280
Yeah my CPU isn't good enough!

Any ideas?
__________________
Use x264. Seriously, use it right now.
Blue_MiSfit is offline   Reply With Quote
Old 4th December 2007, 02:49   #17  |  Link
metalmania
Registered User
 
Join Date: Feb 2002
Posts: 26
Quote:
Originally Posted by TheShadowRunner View Post
not exactly.
The 20fps bug problem can be avoided by using a specific version of cl264dec.ax and certain nvidia drivers.
720p accelerated MKV work now perfectly here.
1080p still give a black screen though.
Please see my post on another forum:
http://www.avsforum.com/avs-vb/showt...php?p=12291586
(i hope it's not a problem linking there)
See you,

TSR
Thanks man. I tried 163.75 +1.99.1405 on my eVGA 8500GT, it did work! The only problem now is the output screen resolution. For example if I play a 1280x540 video, the output will be 1194x480. The CPU load is always below 5% though. What is this "vertical downgrade" then, I wondered.
metalmania is offline   Reply With Quote
Old 5th December 2007, 13:51   #18  |  Link
arfster
Registered User
 
Join Date: Jun 2006
Posts: 169
Over on avsforum someone's saying >4 ref frames is the problem, and acceleration works fine with less:

http://www.avsforum.com/avs-vb/showt...5#post12402455


Haven't tested myself yet.
arfster is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:19.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.