|
@@ -583,6 +583,8 @@ def anchor_video_v2(name,text_content, image_urls):
|
|
|
anchor_list = [None] * len(text_content)
|
|
|
audio_clip_list = [None] * len(text_content)
|
|
|
audio_list = [None] * len(text_content)
|
|
|
+ sub_clip_list = [None] * len(text_content)
|
|
|
+ sub_list = [None] * len(text_content)
|
|
|
idx = 0
|
|
|
#mp4 also
|
|
|
for p in listdir(dir_photo+name_hash):
|
|
@@ -612,6 +614,7 @@ def anchor_video_v2(name,text_content, image_urls):
|
|
|
anchor_list[idx].Close()
|
|
|
audio_list[idx].Close()
|
|
|
|
|
|
+ sub_list = [None] * len(text_content)
|
|
|
for sub_idx in range(len(sub_list[idx])):
|
|
|
sub = openshot.QtImageReader(sub_list[idx][sub_idx]['path'])
|
|
|
sub.Open()
|