Added initial support for the timestamp in the output video (still needs cleanup)