After hours looking for a solution, I found the problem with the new Nvidia drivers without the old folder in “programs files”. No more NvCameraConfiguration come with the driver
For others: You need to go to: “c:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_95bdb3a23d6478de” (the last part can be different)
Run these commands:
NvCameraEnable.exe whitelisting-everything
NvCameraEnable.exe on
If you use windows, you can use this “ansel.bat”:
@echo off
set NVIDIACAMERA_PATH=c:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_95bdb3a23d6478de\NvCamera
call "%NVIDIACAMERA_PATH%\NvCameraEnable.exe" whitelisting-everything
call "%NVIDIACAMERA_PATH%\NvCameraEnable.exe" on
And one BIG warning! If you try to use it in editor (or even another software like sourcetree) does not work! Because (I think) it tries to use the editor instead of the new window (standalone or other app), so, you need to close the editor (or other apps) and try with a compiled version!