m3u.WriteString(fmt.Sprintf("#EXT-X-TARGETDURATION:%d\n", maxDuration)) m3u.WriteString("#EXT-X-VERSION:3\n") m3u.WriteString("#EXT-X-MEDIA-SEQUENCE:0\n") ...
see https://pypi.org/project/opencv-python/ for more information. In this example 200 images will be saved to a video file called video.mp4 - see NUMBER_OF_IMAGES and ...