Refactored raspivid to allow user to pause and restart captures
to the same file using a timer, keyboard or signals.