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 a94df95 commit 41dc02eCopy full SHA for 41dc02e
src/burn/render_then_merge.py
@@ -89,10 +89,10 @@ def render_then_merge(video_path_list):
89
srt_path = original_video_path[:-4] + ".srt"
90
jsonl_path = original_video_path[:-4] + ".jsonl"
91
# Recoginze the resolution of video
92
- video_resolution = get_resolution(original_video_path)
+ resolution_x, resolution_y = get_resolution(original_video_path)
93
# Process the danmakus to ass and remove emojis
94
subtitle_font_size, subtitle_margin_v = process_danmakus(
95
- xml_path, video_resolution
+ xml_path, resolution_x, resolution_y
96
)
97
# Generate the srt file via whisper model
98
generate_subtitle(original_video_path)
0 commit comments