Replies: 6 comments 9 replies
-
@dchamb55 Dale, Unfortunately I don't have an answer. Someone else reported this about a year ago. You can try searching the Issues and Discussions, and asking on the Allsky Facebook group. We plan to release the next version of Allsky on May 1; I doubt this will resolve the problem since it's not with Allsky - it's with |
Beta Was this translation helpful? Give feedback.
-
Thanks Eric,
I have tried some of the steps on that page. I've also posted the issue on
the Allsky Facebook page.
I am wondering if the micro SD card could be the problem. Although it has
been running spectacularly well for close to a year now without having to
reboot.
Dale
…On April 26, 2023 7:59:36 PM EricClaeys ***@***.***> wrote:
@dchamb55 Dale, Unfortunately I don't have an answer. Someone else reported
this about a year ago. You can try searching the Issues and Discussions,
and asking on the Allsky Facebook group.
This problem is listed in the troubleshooting page, but as you see in red,
I don't have an answer.
We plan to release the next version of Allsky on May 1; I doubt this will
resolve the problem since it's not with Allsky - it's with ffmpeg. I should
have some time after that to help you look into it.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.
|
Beta Was this translation helpful? Give feedback.
-
Long ago I had a similar problem and found the file sometimes ended in JPEG, JPG, jpg or jpeg (I don’t recall the exact details) but its easy to check the video generator script to see what file type it uses for input.
|
Beta Was this translation helpful? Give feedback.
-
I believe I have found the root cause of the problem with why the ffmpeg is failing to complete the mp4 file. It seems that at times during the night, images are captured with a zero file size. I removed the zero-length jpeg files and reran the timelapse script and the full mp4 file was generated. Apparently, ffmpeg chokes when it encounters one of these files and stops. Now I don't know why there are zero-length jpeg files. Going back to 4/13, I found only two other nights where this happened, but the number of times it happens is increasing. The log files did not shed any light on this. Except the kern.log shows multiple times the RPi is rebooting. Here are the occurrences I've seen: The kern.log repeatedly shows "usb 1-1.1.3: reset high-speed USB device number 4 using dwc_otg" before the reboot occurs. Now the reboot times do not correlate with the creation times of the zero-length jpeg files, but I have to think there is a relationship. Questions are 1.) Can the script delete the zero-length jpeg files before ffmpeg runs? and 2.) What could cause the frequent rebooting: a USB cable or camera issue? Dale |
Beta Was this translation helpful? Give feedback.
-
Closing discussion. Problem should be solved in v2023.05.01. |
Beta Was this translation helpful? Give feedback.
-
With version v2023.05.01 and newer, REMOVE_BAD_IMAGES should ALWAYS be enabled since it removes 0-length files that cause the timelapse creation to stop. |
Beta Was this translation helpful? Give feedback.
-
I have been running Allsky for nearly a year without fail. I haven't changed any software versions during that time. Starting on April 23, 2023, my timelapse videos have been cut short. Sometimes, only a second is showing. I am running on an RPi 3 B+ 1GB with 64GB SD card. The system is showing no throttling and has 37GB of remaining space left on the SD card, and the memory used is 10%.
Checking the images stored for each night shows they are all present so I know they were created properly. I rebooted the RPi and tried to recreate the video file with no success. The FTP is not the problem either since the file on the RPi is the same as on my website where they are transferred to.
Any ideas of how to solve this?
Thanks
Dale
Beta Was this translation helpful? Give feedback.
All reactions