How to seek a frame in video using `imageio`?
How to seek a frame in video using `imageio`? Question: I have a video and I would like to extract only specific frames from the video. Currently what I do is: index = [1,2,3,4,5,6,7,8] img_list = [] for i, frame in enumerate(iio.imiter("imageio:cockatoo.mp4")): if i in index: img_list.append(frame) img_array = np.asarray(img_list) Is there a way to …