0

I am currently working on a project where I need to have a live stream video and a motion detection that when a motion is detected, records a 10 second video. I have put each functionality in different python files. I am using a single Pi camera. When I tried to run both programs at the same time, the second python file does not run. I just wanted to know if it is possible to run two programs simultaneously using a single pi camera. If it is possible, how? Any help would be appreciated. Thank you in advance.

4
  • what does this mean? ... I got an error
    – jsotola
    Mar 10 at 6:28
  • Sorry, I meant the second python file does not execute Mar 10 at 8:01
  • You can only have one instance of the camera stack running, so you will have to combine the two functions.
    – Dirk
    Mar 10 at 8:04
  • @Dirk thanks for your reply. Yes, I'll do that. Mar 10 at 8:30

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.