def METHOD_NAME(video_path, min_side=None):
    frame_list = []
    # ToDo To AP-kai: 是不是轻松干掉了m.video_path？
    cap = cv2.VideoCapture(video_path)
    # ToDo To AP-kai: while (cap.isOpened()): -> 不必多写个括号哈
    while cap.isOpened():
        _, frame = cap.read()
        if frame is None:
            break
        frame = cv2.cvtColor(frame, cv2.COLOR_BGR2RGB)
        if min_side:
            h, w = frame.shape[:2]
            new_w = (w * min_side // min(w, h))
            new_h = (h * min_side // min(w, h))
            frame = cv2.resize(frame, (new_w, new_h),
                               interpolation=cv2.INTER_CUBIC)
            # .transpose([2, 0, 1])
        frame_list.append(frame)
    frames = np.stack(frame_list, axis=0)
    return frames, frame_list