Gary Littlemore wrote:
I'd like to be able to configure the runtime and frames per millisecond/second and shutdown, to connect back up to a power bank and it boot to the settings I configured and shut down after its completed. Have little knowledge of linux I don't know how/what bash is.
I suspect you are going to have learn at least some simple coding or scripting and configuration to achieve this. You can use one of several camera applications including RPiCam Web to achieve the basic functionality of performing a sequence of time lapse or slow fps video recording.
The extra parts you will need are setting up a simple program or script to do the basic work and inserting it into the boot sequence.
None of this is particularly complex once you get to learn a few basics.
bash is one of the scripting shells a bit like a bat file in Windows. There are lots of tutorials on the web and for what we are talking about here it is very straightforward.
For example something like this (untested)
Code: Select all
#!/bin/bash
# Set up duration here- 20 minutes
LAPSETIME=20m
#make sure everything is going by waiting 20 seconds
sleep 20
#Start the time lapse
echo -n 'tl 1' >/var/www/FIFO
sleep $LAPSETIME
#stop the time lapse
echo -n 'tl 0' >/var/www/FIFO
#and close down, wait for a bit to make sure all is finished.
sleep 10
sudo shutdown -h now