Part of this answer references GPT, GPT_Pro better solution
To successfully sign up for Hikvision's DirectShow plugin, The first thing you need to do is make sure you have the correct DirectShow plug-in installed. If it is not installed, you can download the installation from the official website. After the installation is complete, you need to restart the computer for it to take effect.
Next, open "Programs and Features" in the Control Panel, then locate "Hikvision DirectShow Plug-ins", right-click it and select "Changes", then go to the Installer, check "Register DirectShow plug-ins" in the screen, click "Next" to begin the registration process.
The registration process takes a certain amount of time. When the registration is complete, a dialog box is displayed indicating that the registration is successful. After registration, if you can see the images using graphedttb, but you cannot enumerate the resolutions using other software(which supports DirectShow), try restarting your computer and try again; If it still does not work, the DirectShow plug-in may have failed to be registered, or the DirectShow version is incorrect. Either Hikvision's DirectShow plugin was not installed correctly or an incorrect version was installed. In this case, you can download and install the DirectShow plug-in again, and re-register it.
If the answer is helpful, please accept it.