It's just the sizes that my Camera 2 modules support.Ok super dumb question but are these the only sizes the RPi camera supports or 'performs best' at?
It forces the output to be sent immediately. Otherwise the message would be buffer and only appear when the script ended or the output buffer filled up.Dumb question again...what does flush=True do?
It runs it on every frame.I have this too in my borrowed code, I'm assuming its basically telling the program to run this method at the start of recording?
Yes. I believe it uses the same library functions as ffmpeg to generate the output file.I like this! you are basically telling it to record as an mp4 just by telling the filename? The system is smart enough to record in mp4 format and not others just by doing this?
Long gone. The files were taking far to long to go through by hand every day, so I switched to using motion to capture short videos when motion was detected.What kind of file sizes are you getting for this program in a minute or hour? Or is this code just long gone and the project is no more?
I may switch back one day. I prefer the date/time done this way to the ones done by motion and I have some other data I might add, like temperature. But I need motion detection which will record short files, plus a live stream that can be viewed in a web browser (mjpeg would be sufficient for that). I couldn't work out how to get the mjpeg streamer and motion capture to file to work together.
Statistics: Posted by rpdom — Sat Dec 28, 2024 9:39 pm