Clone/playground for http://www.gdcl.co.uk/2013/02/20/iOS-Video-Encoding.html