rascam
rascam copied to clipboard
Feature Request - Video.
Are there any plans for video support?
Hi MechanicalPython. Thanks for your interest.
Originally it was something I considered but I didn't need it and didn't get around to implementing it.
I have more free time now 😂 so I could revisit this. What would you like it to do? What would you do with the video frames?
Hi pedrosland, thanks for the quick reply!
I'm planning on putting a pi zero with a camera and gps into a water rocket and recording video from the rocket with a pi camera module. So I guess I don't need anything too fancy, just being able to control basics like fps and resolution and then outputting an mp4 or h264 file at the end.
I'm thinking about implementing something like a "ring" doorbell, but for my home office. I'd like to grab a few seconds of video in response to some stimulus, either motion or a button press. I can ship the few second of video off to another server, but I'd like to have a take_video
function that just turns on video capture for some n
number of seconds.
Thanks for the nudge.
I actually implemented this a few weeks ago but extending the SeriousCamera API for video hasn't turned out great and I wasn't happy with it. I still don't like it but I haven't built a better one yet.
I fixed CI so I can put together the rest of an interface for SimpleCamera soon.
Both of your projects sound super fun.
There is a branch video I created in early April and it works but there are two problems:
- Sometimes (but not always) when dropping the camera and tidying up there can be a deadlock.
- If someone manually drops the mpsc::Sender after the camera object then it will deadlock or crash (can't remember which).
Realistically, I'm unlikely to fix these issues in the near future.