* add video2video * fix bugs of pre-commit * update some files * fix video write module * fix max_frames