Wall's Corners Wall's Corners Author
Title: Creature Capture | Stopping Raspivid After a Non-Predetermined Time
Author: Wall's Corners
Rating 5 of 5 Des:
One of the biggest problems with the built in commands for using the  Raspberry Pi Camera module  is that you can’t stop a recording after a...

One of the biggest problems with the built in commands for using the Raspberry Pi Camera module is that you can’t stop a recording after an unknown time. You can record for a given number of seconds and that’s it. I have attempted to solve this problem by backgrounding the initial record process with a time of 27777.8 hours (99999999 seconds) when it’s time to stop recording, the process is manually killed using pkill.

Here is a test of my code, which I’ve called CameraModulePlus (written in python) which takes two videos, one for five seconds, and one for ten seconds, with a 10 second delay in between.

Here is a result of the 5 second duration test:

 

Here is a result of the 10 second duration test:

 

Share This:

View more at: http://yoursmart.mobi

About Author

Advertisement

Post a Comment

 
Top