Skip to content

Record and Retrieve Videos

Chris Reeves edited this page Jul 1, 2024 · 4 revisions

Once a Raspberry Pi has been programmed with the scripts in this repository, recording videos over an SSH connection is a simple process.

Recording videos remotely requires:

Record a Video

  1. Connect to the Pi via SSH (with either Termius (easy SSH connection) or the ssh command (basic setup)).*
  2. Run a custom recording command by entering its name.
    • If a custom recording command has been set to run upon SSH connection, users can skip this step. If a user wants to run a command other than the one set to run upon SSH connection, they can cancel it by pressing ctrl + c and then run the desired command by entering its name.
    • All commands can be listed by entering sh RasPi-filming-code/listcommands.sh.
  3. For Subject:, enter a recognizable name for the video file. These scripts were originally created for filming behavioral subjects, hence the prompt "Subject".
  4. For Start? (Y/n), when ready, press enter to start recording. Enter n instead to cancel the recording script.
  5. Leave the SSH connection open until recording has finished and the script has output Recording Complete.

*Note, a custom recording command can also be run locally from the Pi if a keyboard and monitor are connected. Just open Terminal on the Pi and run the command as described in steps 2-5 above.

Retrieve Videos

Clone this wiki locally