Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

VISUAL C++ for DXVA

May 31, 2007 11:53AM PDT

Anyone know of a C++ coding which can tell you if your machine can support DXVA(DirectX Video Acceleration) like a Query?
Thanks. Planning to make a simple video player which supports DXVA in Visual C++. Would help if the second problem could be solved too. Stuck here. Thanks in advance.

Discussion is locked

- Collapse -
Link only.
May 31, 2007 12:06PM PDT
- Collapse -
Reply
May 31, 2007 12:10PM PDT

It's DXVA
directX video accelerator
not DirectDraw

- Collapse -
Sorry.
May 31, 2007 12:19PM PDT

That call is all I ever needed to test if DirectX was good to go.

You may be asking something else than getting your DX app off the ground. If so, tell more.

Bob

- Collapse -
Looking it up I see it's primarily for Vista, DX10 so..
May 31, 2007 12:23PM PDT

I will be of no help here. Our apps have to run on Windows 2000 and up. No reason to lock out customers.

-> Find a WINHEC seminar where they teach this or ask google.

Bob

- Collapse -
ok
May 31, 2007 12:29PM PDT

Its part of direct X
in fact its part of direct X in direct show but being able to run direct X doesn't mean you can run directX VA
i serached all over for a week now. Nothing on it

- Collapse -
Remember that where I am...
May 31, 2007 12:44PM PDT

We need it to work everywhere. There is the seminar I noted, books by Microsoft, MSDN and more. When someone claims they can't find something it usually means they didn't look very hard.

I found the WINHEC presentation in my first (actually second) try. My first try was for the note about getting DX up on it's feet that we use.

Why would we need this?

Bob

- Collapse -
...
May 31, 2007 12:51PM PDT

trying to see if DXVA works on several computers.
Yes it does offer courses but i have even went through the documentation of direct show. Don't understand any technical terms there. I am a newbie into all these anyway

- Collapse -
Let's see if we can find a DXVA "tester" or "test"
May 31, 2007 1:03PM PDT

"BTW, in case you ever want to check DXVA capabilities of your video card, here's how you do it:

1. Run dxdiag.exe
2. Choose "Save All Information".
3. Open the exported dxdiag.txt file.
4. Search for text "Video Accel".

You should find a line that says something like:
ModeMPEG2_C ModeMPEG2_D ModeWMV9_B ModeWMV8_A ModeWMV9_A"
From http://72.14.209.104/search?q=cache:pdCgP1FTKI4J:forum.doom9.org/showthread.php%3Ft%3D110449%26page%3D2+test+DXVA+capability&hl=en&ct=clnk&cd=1&gl=us

So it appears that old DirectX capability calls work here to uncover DXVA. That first link has more chapters and API calls to discover "capabilities."

http://www.microsoft.com/whdc/hwtest/search/expired.aspx?Type=Err&ID=1206 finds a test.exe

You should order the Winhec 2007 DVD if you want to go deeper.


Bob

- Collapse -
VISTA?NO it's windows
May 31, 2007 12:32PM PDT

there are 2 versions of DXVA
DXVA 1.0 = windows(outdated-the one i am looking for)
DXVA 2.0 = Something i don't need because i don't use vista either