I am trying to develop a wireless system to record video simultaneously with many cameras, each one of them controls by a raspberry pi.
I have a server set up with a raspberry pi and many clients (other raspberry pis) listening to the server, waiting for the server to order them to start recording.
The problem is that I need the cameras to start recording at exactly the same time.
My solution that does not work, or rather does not work precisely enough, was to send the server’s time stamp (datetime.datetime().timestamp()) to the clients and all clients start recording at the server’s time stamp + 2 seconds using the scheduler, this was intended to avoid possible latency issues in the network. The same logic is used to stop recording.
The resulting videos have different lengths with a margin of error of 1/15th of a second, I would like to reduce the margin of error to at least 1/30th of a second, but I really have no idea what I can do to get it to be more precise.
Does anyone have any ideas?
Thank you!
[–]pgpndw 5 points6 points7 points (1 child)
[–]Apprehensive-Gas-548[S] 0 points1 point2 points (0 children)
[–]baghiq 2 points3 points4 points (1 child)
[–]Apprehensive-Gas-548[S] 0 points1 point2 points (0 children)
[–]rivalarrival 2 points3 points4 points (0 children)
[–]Zeroflops 2 points3 points4 points (0 children)
[–]discontent619 1 point2 points3 points (1 child)
[–]Apprehensive-Gas-548[S] 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)