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. |
9th June 2012, 11:10 | #1 | Link |
Registered User
Join Date: Jun 2011
Location: RO
Posts: 14
|
ffdshow's DXVA video decoder problem
Hi guys,
I'm using Avisynth v2.5.8 (official build), AvsP v2.0.2, GraphStudio and the latest build of ffdshow tryouts (2012-04-09). This is the graph made by me: The problem is that when I try to open this graph in AvsP I get this error: I am sure this decoder doesn't start when I open the graph in AvsP because I can't see its icon in the notifications area. What can I do in this case? Thank you very much! PS: |
9th June 2012, 14:43 | #2 | Link |
*****
Join Date: Feb 2005
Posts: 5,647
|
You can't use a native DXVA decoder with AviSynth.
__________________
MPC-HC 2.2.1 |
9th June 2012, 14:56 | #3 | Link |
Registered User
Join Date: Jun 2011
Location: RO
Posts: 14
|
Oh, I didn't know this... In fact this was the first time I tried to use this decoder (DXVA)...
So there's nothing to do about this? I really want to use a DXVA decoder from now on, but I don't know what should I do in order to get it working... Thanks! Last edited by RazvanuZu; 9th June 2012 at 15:01. |
13th June 2012, 15:41 | #7 | Link |
Registered User
Join Date: Jun 2011
Location: RO
Posts: 14
|
After some research I found that I need a video renderer and because of this I have switched to CoreAVC 3.0.1.
Now I have a problem with CoreAVC: when I try to use DXVA decoding I get this error -> If I select CUDA decoding or CPU-only decoding, this error doesn't appear, but MeGUI crashes after 1-2 minutes of work. Please help me to get this DXVA decoder (@CoreAVC) or ffdshow's DXVA decoder working. Thanks in advance! |
27th September 2013, 12:28 | #12 | Link |
Registered User
Join Date: May 2009
Location: Belgium
Posts: 1,744
|
Great, I believed it was only possible for Nvidia cards, not ATI's
I didn't know LAV. Do we need to set anything in ffdshow and GraphStudio as explained in the first post, or just LAV is enough ? |
27th September 2013, 17:08 | #15 | Link |
Registered User
Join Date: May 2009
Location: Belgium
Posts: 1,744
|
Tested ; seems to work but the CPU works as much as with FFVideoSource() while it should use less CPU if GPU is used (I chose well DXVA-Copyback in LAV's options).
Actually the CPU works even a little bit more with DirectShowSource() and LAV (1 or 2 %) than with FFVideoSource(). I also verified with AVSMeter, same result. Everything was disabled in ffdshow and the command DirectShowSource() didn't work before to install LAV, so LAV was clearly used thus I don't understand this result. Last edited by Music Fan; 27th September 2013 at 17:14. |
27th September 2013, 19:07 | #16 | Link |
Registered User
Join Date: Aug 2009
Posts: 463
|
I just tried with Nvidia 9500GT and CPU usage is 0-1% with DXVA Copyback. Are you sure that LAV Video decoder is used and that it uses UVD chip? Download and start GPU-Z to check GPU and UVD usage. Also, open LAV decoder during test and see if it uses DXVA-Copyback or fails to avcodec.
|
28th September 2013, 11:32 | #17 | Link | ||
Registered User
Join Date: May 2009
Location: Belgium
Posts: 1,744
|
Quote:
My card is an Asus EAH5450 (clone of ATI HD 5450). The DXVA works with MPC-HC (when I choose system default in output, directshowvideo), the CPU usage is 0-1% with h264 HD files. I downloaded it but as the CPU usage is around 20 % when I open my script in Virtual Dub, I guess the GPU is not used. Quote:
But as I said above, my script couldn't be opened in Virtual Dub before to install LAV, so I guess LAV brought something because now my script is opened, while ffdshow is not used. Even when I choose none instead of DXVA as video decoder in LAV, I see the video in Virtual Dub, so I don't understand how h264 is decoded. My script is very simple, one line ; directshowsource("H:\my video.mp4", audio=false) also tested with a TS, both including h264, same result (CPU around 20 %). Thanks for your help |
||
28th September 2013, 13:42 | #18 | Link |
Registered User
Join Date: Aug 2009
Posts: 463
|
What OS do you have? LAV Video needs Windows 7/8 or at least Windows Vista. It only supports DXVA2.
If you open LAV Video decoder during script playback you can see what mode is used by LAV video. If you see dxva2cb that DXVA-Copyback is used. If you see avcodec that LAV Video decoder falls back to software decoding. |
29th September 2013, 10:30 | #19 | Link | ||
Registered User
Join Date: May 2009
Location: Belgium
Posts: 1,744
|
Quote:
Quote:
It would mean that LAV partially works also on XP. Last edited by Music Fan; 29th September 2013 at 10:33. |
||
29th September 2013, 13:31 | #20 | Link |
Registered User
Join Date: Aug 2009
Posts: 463
|
AFAIK, nev does not plan to add support for DXVA1 decoding as official support for Windows XP ends in spring 2014.
So, your only options for hardware accelerated video decoding while using Avisynth are: - buy Nvidia card and use CoreAVC with CUDA or - upgrade OS to Windows 7 or Windows 8 and use LAV Video decoder in Copyback mod. |
Thread Tools | Search this Thread |
Display Modes | |
|
|