Playback recorded video, but noise occurs over time

I am experiencing the following phenomena.

  • Recording using AVCaptureSession and AVAssetWriter on an iOS device.

  • When playing back the above recorded video, the display of the first frame of the entire video is fine, but after a certain frame, the image is displayed with noise.

  • The same display is observed when the video file is extracted from an iOS device and playback is confirmed using Quick Time.

  • CPU usage during recording is around 10%.

What could be the cause of the above phenomenon?

OK : Clipping of the first part of time

Noise.: Clipping after a certain amount of time