Ultra compact size camera called a black box for bicycles and motorbikes.
This should be one of the smallest in its kinds.
You can simply attach it at a bike mount or a head-gear mount for filming and detach to stop filming.
After filming, you will just attach the camera to a Magconned smart device to view what have been recorded for the last 2 hours.