Editing Frames While Recording a Video with OpenCV
问题 Is it possible to get frames while recording a video and writing current time on those images at the same? I've been looking for this but I couldn't find anything. I want to write time on each frame and/or save those frames with that timestamp. I couldn't get the time information from a video for each frame, so I came up with this solution. I am open for any ideas. Thanks in advance. 回答1: Yes it is possible. The cap.get(0) flag, (where cap is a cv2.VideoCapture object), gives you the