Formatting the SD card manually via the web interface of the camera
Open the web interface of the camera.
Proceed to Setup → Storage → Destination → Local tab.
Choose the card and click on the Format button. After this, it should automatically reboot, and the formatting should be finished as soon as it reboots.
Hikvision Cameras - World's Leading CCTV Manufacturer