New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to use the encoder when i CreateComponent, it return AMF_NOT_SUPPORTED #184
Comments
|
@MikhailAMD |
Driver for virtualized GPU doesn't support encoder. You would have to put the GPU in passthrough mode. |
@MikhailAMD how can i get the gpu output ,because i find the dxgi can't screenshots in exclusive mode |
Not sure I understand the question. Do you need to capture screen and have problems? If so, there are two APIs: DesktopDuplication API from Microsoft https://docs.microsoft.com/en-us/windows/win32/direct3ddxgi/desktop-dup-api. I would start with it. AMF has a sample how to use it. Check VideoCapture component. Also there is AMD DOPP API connected to OpenGL. Works only with Pro GPUs and drivers. https://github.com/GPUOpen-LibrariesAndSDKs/DOPP |
@MikhailAMD such as game play in full screen mode ,dxgi only capture the black image. NVIDIA have a solution(NvFBC), it can capture image from GPU output buffer |
Did you try on regular, not VM setup? You can use OBS studio and enable DD mode. |
@MikhailAMD I will try it ,thanks for your help |
BTW: for AMD the solution is DOPP |
ok thanks |
When will it be supported? |
Realy sorry but I cannot comment on non-released features. |
Thanks Mikhail. This is critical for our use case. Seems like cloud gaming and Citrix-type products would use this too. Hopefully it comes through soon. |
If you like you can send me a private info about your project. I will show it to the people involved. Email: |
i test the code in Win10
Environment:
Windows10 1809
Adapter: Radeon Pro S7150v AMD MxGPU
Driver: Adrenalin-Edition-17.12.2 (17.50.07)
i use the AMF-1.4.6
`
int _tmain(int argc, _TCHAR* argv[])
{
AMF_RESULT res = AMF_OK; // error checking can be added later
res = g_AMFFactory.Init();
if(res != AMF_OK)
{
wprintf(L"AMF Failed to initialize");
return 1;
}
it return AMF_NOT_SUPPORTED and AMFComponentPtr encoder is NULL ptr
how can i run this simple
The text was updated successfully, but these errors were encountered: