MCPcopy Create free account
hub / github.com/OpenImagingLab/FlashVSR / read_video

Function read_video

diffsynth/extensions/FastBlend/data.py:6–13  ·  view source on GitHub ↗
(file_name)

Source from the content-addressed store, hash-verified

4
5
6def read_video(file_name):
7 reader = imageio.get_reader(file_name)
8 video = []
9 for frame in reader:
10 frame = np.array(frame)
11 video.append(frame)
12 reader.close()
13 return video
14
15
16def get_video_fps(file_name):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected