This is the first revision.Make sure to change the "Up/Down" video capture for the camera which is held upside down.
feel free to modify or suggest improvements on the comments.