A sample for recoding 120 fps slow-motion videos using AVFoundation.  Available on the iPhone5s.