rpdom wrote: ↑Thu Nov 14, 2019 11:56 am
You don't need to do any programming as such, just one command line to start the recording software.
This command will record
[email protected] video for 5h (time in milliseconds):
https://www.raspberrypi.org/documentati ... /camera.md
Code: Select all
raspivid -md 1 -w 1920 -h 1080 -p 22,50,960,540 -pts tst.pts -o tst.h264 -t 18000000
You can use file tst.pts to verify that indeed 30fps got recorded, or to determine the number of frame drops.
With storing .h264 video on SD card there should not be any frame drops, even on Pi Zero.
https://github.com/Hermann-SW/userland/ ... ptsanalyze
chernobyl_choky wrote: ↑Thu Nov 14, 2019 11:40 am
wow it looks amazing !
ok i think i'll go on and get pi zero
You might spend a little more money and buy a Pi ZeroW.
That is same as Pi Zero, but has Wifi and Bluetooth:
https://www.raspberrypi.org/products/ra ... pi-zero-w/
In case you want to do surveillance, that typically means that you need to record in the dark as well.
You need a NoIR camera in that case (camera misses IR filter, but does cost more).
To be future proof you can buy 8MP v2 NoIR camera:
https://www.raspberrypi.org/products/pi-noir-camera-v2/
Or 10$ incl shipping "ZERO Night Vision" camera:
https://de.aliexpress.com/item/33034095425.html
You need external infrared light source as well, don't try to connect IR lights to any v1 camera.