Explorar el Código

add image tst

ming hace 3 años
padre
commit
617f0a20b1
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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()