If you are doing this only for 2 PoE Cameras, you can opt for this solution: https://www.amazon.com/gp/product/B0B63DDC8C
I have a similar product in another spot and it works great. (I have it plugged into a PoE switch and not the NVR directly)