Update run.py
This commit is contained in:
parent
92e26d0326
commit
f9a2e1d17d
2
run.py
2
run.py
@ -204,7 +204,7 @@ def start():
|
|||||||
return
|
return
|
||||||
video_name_full = target_path.split("/")[-1]
|
video_name_full = target_path.split("/")[-1]
|
||||||
video_name = os.path.splitext(video_name_full)[0]
|
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)
|
Path(output_dir).mkdir(exist_ok=True)
|
||||||
status("detecting video's FPS...")
|
status("detecting video's FPS...")
|
||||||
fps, exact_fps = detect_fps(target_path)
|
fps, exact_fps = detect_fps(target_path)
|
||||||
|
Loading…
Reference in New Issue
Block a user