-
Notifications
You must be signed in to change notification settings - Fork 180
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
Timelapse creation very very slow #255
Comments
I have same camera. The issue is is that avconv/ffmpeg is running out of memory because that camera has too high of resolution for the amount of memory available on the Pi3 for ffmpeg to process it. You'll need to scale the image in the timelapse.sh file on the ffmpeg line. I had to add This will reduce the resolution of the video file but I still find it acceptable. Increasing swap file is probably not good idea since you would be thrashing the sd card every morning. Other option would be to get RPi 4 with 4 or 8 GB of memory. |
That worked! The creation of a timelapse is working now. |
Thanks @dbainbridge for this solution !! |
I've made the scale option configurable by configs. That way you don't have to edit the scripts and will be able to update with git more easy. Now waiting for @thomasjacquin to accept the new code ;-) |
@svego's scale option is now available. |
Closing issue - it's been resolved. |
Hello,
I have build an AllSky camera and it is working fine, exept for one thing.
The timelapse is not being created.
If I run the timelapse.sh script by hand it stops after 43 frames.
I found in this thread: #141 increasing the swap file might help.
I increased the swap file to 1024mb and if I run the timelapse.sh script by hand the script continues, but very very slow and there is no timelapse created or uploaded.
I have a Raspberry Pi 3B and a ZWO ASI178MC camera
Am I doing something wrong?
Thanks in advance.
Kind regards,
Emiel Kempen.
The text was updated successfully, but these errors were encountered: