I recorded and saved a 20-second video in a folder and then played it back. I don't know why, but it cuts off one second every two seconds. Even writing the simplest program, using low resolution and 15 frames the problem continues. Do you have any ideas what I could change to eliminate this problem? I have a Raspberry PI Zero 2W
import picamera
camera = picamera.PiCamera(resolution=(352,240), framerate=15)
camera.start_recording('timestamped.mp4')
camera.wait_recording(20)
camera.stop_recording()
print("stop")