Cannot find the created video, how to change path to final video?
#14
by
lostbodhi
- opened
Hi, I want to change
video_path = export_to_video(video_frames)
how can i put in my own path?
the default video path is "video_path = /tmp/xxxx.mp4", and you can change the path as "export_to_video(video_frames, f'your/output/videopath.mp4')"
video_path = export_to_video(video_frames)
!mkdir /content/videos
import shutil
file_name=video_path.split("/")[-1]
new_path=f"/content/videos/{file_name}"
shutil.copy(video_path,new_path)