Page 1 of 1

Writing mjpeg to SD

Posted: Fri May 07, 2021 8:54 pm
by upython_noob
Hi all,

I'm trying to create a motion activated camera using micropython. I've managed to trigger the external wake up and save a 30 sec video to the SD card but only with a specified name. This means that every time it gets an EXTI, it overwrites the previous video.

upython is completely new to me so struggling with how to make it save with a new file name for each recording.

at present all the code is doing is writing the file with the name specified as below.

m = mjpeg.Mjpeg("Rec1.mjpeg")

Re: Writing mjpeg to SD

Posted: Mon Mar 07, 2022 8:33 pm
by erkman
Hi,
I'm also looking for such thin, but I would like to use the PIR for such purpose. Does your script already working?
Could you share your source code?

Thank you very much.

BR
Erkman