Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 5032

Camera board • Re: Newbie alert! Help with Rpi5 and camera distance recording

$
0
0
Ok super dumb question but are these the only sizes the RPi camera supports or 'performs best' at?
It's just the sizes that my Camera 2 modules support.
Dumb question again...what does flush=True do?
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.
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?
It runs it on every frame.
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?
Yes. I believe it uses the same library functions as ffmpeg to generate the output file.
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?
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.

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



Viewing all articles
Browse latest Browse all 5032

Trending Articles