The project involves using a Raspberry Pi computer board to record video with a webcam and then back it up automatically on a remote FTP server with an Internet connection, at the time that such a connection is available. It is intended that the video file has a unique extension defined and remains constant as it extends the recording, eliminating sections of the oldest parts of the video as the system add the latest at the final of the video.
This is the second part of the CAMBerry project, you can see the first part here. The purpose of this continuation is to create a code that automates the video recording using the video4linux2 API to get the best performance on the Raspberry Pi and the transferring of the video file to a FTP server, when an internet connection is available on the Raspberry Pi. This will have a video buffer of finite size, which will be commensurate with the size of the memory card of the Raspberry Pi.