浏览代码

add image tst

ming 3 年之前
父节点
当前提交
617f0a20b1
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      OpenshotService/openshot_video_generator.py

+ 2 - 0
OpenshotService/openshot_video_generator.py

@@ -663,6 +663,8 @@ def video_gen(name_hash,name,text_content, image_urls,multiLang,avatar):
     #    t.AddClip(img_clip_list[p_idx])
     #    img_list[p_idx].Close()
     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)):
         img_list[img_idx] = openshot.FFmpegReader(dir_photo+name_hash+'/'+img_file_ls[img_idx])
         img_list[img_idx].Open()