The least expensive and most future proof or future flexible solution is to use a cheap computer or laptop and a Logitech C920 HD Pro Webcam ($50). Download the free recording software Open Broadcaster Software (OBS) as Matt suggested.
The webcam will record 1080p and your recording limit time...