ksseverson57 / campy

Python package for streaming video from multiple cameras to disk. Features real-time compression and debayering using FFmpeg.
MIT License
37 stars 18 forks source link

Adjusting configurator and adding chunking while writing #11

Closed Wolfffff closed 11 months ago

Wolfffff commented 2 years ago

Code formatting using black for consistency. Added sphinx documentation -- easy to build from docstrings and serving from gh-pages. See https://wolfffff.github.io/campy/. Simply point the gh-pages setup to /docs and everything should work. Ideally updating with docstrings and using sphinx-apidoc should help clean things up!

ksseverson57 commented 11 months ago

Seamless chunking is now available in version 2.1 (AV1 branch). The writer now counts frames to determine when to close and open video files. In the future, I may edit this function to inspect frame numbers (rather than count frames) to account for possible dropped frames. I also intend to add option to chunk after timeout to account for variable trial lengths with consistent inter-trial delays