Ok, try this and post the log.
Nah, better off using OpenCL interop. (which you have already enabled anyway) because Win7 doesn't support Dx11 textures in NV12 format for what ever reason.
I get "Encoder initialization failed!" when I am trying to record with that.
https://gist.github.com/anonymous/3c30f9b756ade0b5c54c