How to build and install opencv on windows 10 to recognize your custom ffmpeg

The easiest way is to use a CMake script, see

note you may need to update the script used in the post for the latest version of FFMpeg.