We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2256d8 commit 512024aCopy full SHA for 512024a
src/burn/only_render.py
@@ -22,6 +22,10 @@ def normalize_video_path(filepath):
22
return filepath.rsplit('/', 1)[0] + '/' + parts[0] + '_' + new_date_time + '-.mp4'
23
24
def render_video_only(video_path):
25
+ if not os.path.exists(video_path):
26
+ print(f"File {video_path} does not exist.")
27
+ return
28
+
29
original_video_path = str(video_path)
30
format_video_path = normalize_video_path(original_video_path)
31
xml_path = original_video_path[:-4] + '.xml'
0 commit comments