Hi,
I’m trying to use mfvideosrc on my QT app but when I use “GstElement * source
= gst_element_factory_make("mfvideosrc", "source");” to create the element I receive the following errors
2020-11-04 08:34:17.966 50A4 [OutputProtectionManager] Error: ..\..\..\..\..\runtime\src\mft\mft-framework\MFTMerits.cpp(562):StartInitializationDX11() - D3D11CreateDevice failed with HRESULT(0x887A0002)
2020-11-04 08:34:18.926 50A4 [OutputProtectionManager] Error: ..\..\..\..\..\runtime\src\mft\mft-framework\MFTMerits.cpp(327):StartInitializationDXVA() - VideoDecoder Execute failed with HRESULT(0x80004005)
Looking at the Microsoft documentation the errors meaning are
- DXGI_ERROR_NOT_FOUND 0x887A0002
When calling IDXGIObject::GetPrivateData, the GUID passed in is not recognized as one previously passed to IDXGIObject::SetPrivateData or IDXGIObject::SetPrivateDataInterface. When calling IDXGIFactory::EnumAdapters
or IDXGIAdapter::EnumOutputs, the enumerated ordinal is out of range.
- E_FAIL (0x80004005)
Attempted to create a device with the debug layer enabled and the layer is not installed.
Pipeline is then linked with no errors but my appsink callbacks are never called.
I’ve been using this same app with ksvideosrc with no problem
I checked this plugin works with no errors from command line with the following command:
gst-launch-1.0.exe -v mfvideosrc ! queue ! autovideosink
Any idea what can be the reason of those errors?
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel