Capture frames with CaptureThread