Parallelize Youtube video frame download using yt-dlp and cv2

First of all thanks for replying

You mean, that before actually read the wanted frame it has to decode all the others from the start up to the n-th frame (with n the frame that precede the first frame that I want to download)?

Moreover if I able to implement the download_range hopefully if will cut the video using the start_time ad end_time parameters, and then I can use my extract_frames function to download continuous frames. Are you suggesting this? Or I’ve misunderstood?