Converting IP Network CCTV Security Camera to Solar Power

One of my IP security cameras uses separate 5v and 12v mains power bricks for the camera and heater/fan. But with loads of 12v car batteries nearby, it seemed logical to use them instead. With the addition of a cheap switched mode voltage regulator, the whole unit is now solar powered.