in video_processing/modules/frames.py [0:0]
def get_frames(path: Union[Path, str]) -> Iterator[av.VideoFrame]: container = av.open(str(path)) stream = container.streams.video[0] yield container.decode(stream)