-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add new webcam driver. #19015
Add new webcam driver. #19015
Conversation
What's the impact of size (Flash) and RAM of the new driver compared to the actual one? |
@Jason2866 so a small reduction in RAM (until aspects are in use...) But the webcam build is actually still fairly small. I've been running the driver for weeks, and it's quite stable, but have just setup my garden cam with timelapse and motion recording using the mentioned berry script. So far, so good. Combined with directly serving the SD card content, it provides a very sweet solution. |
I've been away for a week, and left motion detect and timelapse running using the new driver and my Berry code. |
This PR has been automatically marked as stale because it hasn't any activity in last few weeks. It will be closed if no further activity occurs. Thank you for your contributions. |
Please keep this open. |
finally, I checked my cam:
This is running timelapse hourly pictures stored to SD card, plus motion images stored to SD, all controlled via Berry. Example timelpase output, roughly 1.5 days per second: ffmpeg cmd on windows to convert images to video:
I guess it needs to be rebased on top of latest dev? |
Not sure if needed but pls do and once complete I'll merge. |
closing as replaced by #19280 |
Description:
To use the old one, define USE_WEBCAM_LEGACY
This is a re-submisison of the webcam PR, with the implementation of it changed to by default replace the old one, making this PR generate a directly testable and usable binary.
Runs all camera stuff from a task.
Never fails at startup on my (very bad) esp32cam board.
Enables motion detect, Timelapse, direct image saving etc. from Berry scripts and as TAS commands.
Increased reliability. Increased flexibility.
Documented here: https://github.com/btsimonh/TasmotaBerryPLay/blob/master/tasdocs/esp32cam.md
Example Timelapse and Motion here (needs more description, but works very well. Can use staticfileserving from the other PR to provide direct viewing and download of complete image sets.
Should work with Scripts, but not tested for a while (@gemu2015 ?).
Checklist:
Checklist:
NOTE: The code change must pass CI tests. Your PR cannot be merged unless tests pass