Log in

View Full Version : avisynth x64 DirectShowSource - using ffdshow dxva


pokazene_maslo
12th May 2010, 16:13
I'm trying to open a media file (h264 DXVA compatible) in 64 bit avisynth, as long as i know dgavcdec is not available in x64 version, so I must use DirectShowSource. ffdshow software decoding is running fine but If possible I want to use DXVA accelerated decoding.
New versions of ffdshow have dxva accelerated filter, but I have trouble adding it in graphedit. When i try to insert ffdshow DXVA Video decoder a get error message "The filter could not be created. Resources used by this filter may already be in use. No such interface supported (Return code: 0x80004002)"

Please help. Thanks in advance.

Inspector.Gadget
12th May 2010, 16:47
You can't use DXVA in an application without a renderer. Therefore, DirectShowSource() can't use it.

pokazene_maslo
12th May 2010, 17:09
What about constructing graph like this:
splitter -> ffdshow dxva decoder -> renderer -> ffdshow software decoder

Can it be done?

Inspector.Gadget
12th May 2010, 17:32
Not as far as I know. Renderers do not have output pins.