bluerobotics / cockpit

An intuitive and customizable cross-platform ground control station for remote vehicles of all types.
https://docs.bluerobotics.com/ardusub-zola/software/control-station/Cockpit-1.0/overview/
Other
42 stars 18 forks source link

Warn user when video recording starts to fail #994

Closed rafaellehmkuhl closed 3 weeks ago

rafaellehmkuhl commented 3 weeks ago

With this patch we start to warn the user if a chunk fails to be written to disk, as well as if the chunk recording takes more than 5 seconds. The warning says that the system is having trouble saving the record, that parts of the video can be lost, and therefore it's suggested to start a new recording.

The warning is emitted at most once per recording.

This patch also allows the video processing to proceed when the duration-fix fails, delivering a video without the duration fixed.

Fix #977 Fix #993