Selaa lähdekoodia

add image tst

ming 3 vuotta sitten
vanhempi
commit
617f0a20b1
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  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()