# 获取视频属性width = video_reader[0].shape[1]
height = video_reader[0].shape[0]
# 初始化 VideoWriter
fourcc = cv2.VideoWriter_fourcc(*'mp4v')
video_writer =… See the full description on the dataset page: https://huggingface.co/datasets/svjack/Genshin_Impact_Yumemizuki_Mizuki_Video_Captioned_ZH_EN.