Migrated from QTKit to AVFoundation.