Update run.py

This commit is contained in:
Somdev Sangwan 2023-05-31 20:52:43 +05:30 committed by GitHub
parent 92e26d0326
commit f9a2e1d17d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
run.py
View File

@ -204,7 +204,7 @@ def start():
return
video_name_full = target_path.split("/")[-1]
video_name = os.path.splitext(video_name_full)[0]
output_dir = os.path.join(os.path.dirname(target_path),video_name)
output_dir = os.path.dirname(target_path) + "/" + video_name
Path(output_dir).mkdir(exist_ok=True)
status("detecting video's FPS...")
fps, exact_fps = detect_fps(target_path)