|
@@ -663,6 +663,8 @@ def video_gen(name_hash,name,text_content, image_urls,multiLang,avatar):
|
|
# t.AddClip(img_clip_list[p_idx])
|
|
# t.AddClip(img_clip_list[p_idx])
|
|
# img_list[p_idx].Close()
|
|
# img_list[p_idx].Close()
|
|
img_file_ls = listdir(dir_photo+name_hash)
|
|
img_file_ls = listdir(dir_photo+name_hash)
|
|
|
|
+ print(img_file_ls)
|
|
|
|
+ print(img_dict_ls)
|
|
for img_idx in range(len(img_file_ls)):
|
|
for img_idx in range(len(img_file_ls)):
|
|
img_list[img_idx] = openshot.FFmpegReader(dir_photo+name_hash+'/'+img_file_ls[img_idx])
|
|
img_list[img_idx] = openshot.FFmpegReader(dir_photo+name_hash+'/'+img_file_ls[img_idx])
|
|
img_list[img_idx].Open()
|
|
img_list[img_idx].Open()
|