i use avassetwriter to turn cvpixelbuffer to video and save to sandbox,the cvpixelbuffer is from arkit\'s arframe. i call finishWritingWithCompletionHandler at a new thread