Closed williamfzc closed 4 years ago
video_path = "../demo.mp4"
video = VideoObject(video_path)
hook = CompressHook(target_size=(600, 800))
save_hook = FrameSaveHook(target_dir="okokk")
video.add_preload_hook(hook)
video.add_preload_hook(save_hook)
video.load_frames()
actual size is correct. log is incorrect.
0.14.2
output:
reversed.