Security CAM Recorder

Hi, I want to use RZero as security cam recorder. For this purpose, I’m planning to install Motion as motion detection. As a camera, can I use webcam? Does RZero have hardware encoding support on official images? Is there any upper limit video resolution or bitrate? Thanks.