直接不切视频了,后期自己处理
This commit is contained in:
parent
3e2c3d47be
commit
2fdfa43654
@ -27,12 +27,7 @@ def do_workflow(video_file, danmaku_base_file, *danmaku_files):
|
||||
continue
|
||||
print(result)
|
||||
file_need_split = multi_gpu_encode_video_with_subtitles(video_file, result, start_ts)
|
||||
for filename in file_need_split:
|
||||
quick_split_video(filename)
|
||||
# clean files
|
||||
for filename in file_need_split:
|
||||
if os.path.isfile(filename):
|
||||
os.remove(filename)
|
||||
for file in result:
|
||||
if os.path.isfile(file):
|
||||
os.remove(file)
|
||||
|
Loading…
x
Reference in New Issue
Block a user