Can the motion code be changed to open a temporary output file "in
advance", only writing frames to it once the event starts? Once the event
is complete it is closed and renamed to the appropriate filename. This
would reduce the flurry of disk thrashing when a file is opened at the
start of the event and hopefully reduce or prevent initial dropped frames.
Just an idea. Possible?