There's a library called PyAV that wraps FFmpeg in Python, and allows to manipulate video data at the level of frames, packets, data streams and complete files. This way, I also avoid saving thousands of still images to flash only to throw them away after encoding. hold a circular loop of video data in RAM, overwriting it at a constant rate, and package it into a video file on request. What makes it not entirely obvious is that the site should show the last 30 minutes at any time, i.e. I wanted to use a Raspberry Pi with its integrated camera to record a timelapse of the last N minutes and serve it on a website. (or maybe I'm so out of the loop that I can't even understand where it is. What holds me back the most, at the moment, is the lack of documentation for libraries that promise to do all sorts of wonderful things, but don't explain how. I have some programming experience I've not been using for many years, and I am trying to get back into "modern" programming by doing some small projects.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |