Closed huanyi00 closed 1 year ago
Not a binding issue or bug, firstly you are using precompiled ffmpeg binaries from repo which might be assembled with some flags musing or other call need done before initializing HW context. It how to setup environment as it based on tom old version of MFX. Just out of curiosity - why do you need outdated HW support for DXVA aka MFX?
I don't have Intel CPU with integrated GPU at reach so can help you much here, but the rest of options seems to be working fine - it same code for all codecs it not binding defiantly - besides you are using ffmpeg native binaries from repo it simply might be build without this feature or environment problem.
I need use Intel GPU decode,chosse AV_HWDEVICE_TYPE_QSV,but initializing error .show API version error .I install intel media sdk,but still error.
Current directory: D:\FFMPEG\FFmpeg.AutoGen-6.0.0.2\FFmpeg.AutoGen.Example\bin\Debug\net6.0 Running in 64-bit mode. FFmpeg binaries found in: D:\FFMPEG\FFmpeg.AutoGen-6.0.0.2\FFmpeg\bin\x64 FFmpeg version info: 6.0 Use hardware acceleration for decoding?[n] y Select hardware decoder:
[rtsp @ 000002257bd26500] setting jitter buffer size to 500 [h264 @ 000002257bd27a80] Reinit context to 1920x1088, pix_fmt: yuvj420p WARNING: defaulting child_device_type to AV_HWDEVICE_TYPE_DXVA2 for compatibility with old commandlines. This behaviour will be removed in the future. Please explicitly set device type via "-init_hw_device" option. [AVHWDeviceContext @ 000002257c9a5e00] Using D3D9Ex device. [AVHWDeviceContext @ 000002257c9a5f80] Use Intel(R) Media SDK to create MFX session, API version is 1.35, the required implementation version is 1.3 [AVHWDeviceContext @ 000002257c9a5f80] Error initializing an MFX session: -3.