소스 검색

trial test

ming 3 년 전
부모
커밋
371ec0a56c
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 4 4
      OpenshotService/openshot_video_generator.py

+ 4 - 4
OpenshotService/openshot_video_generator.py

@@ -867,8 +867,8 @@ def anchor_video_v2(name_hash,name,text_content, image_urls,multiLang,avatar,fre
         print("THIS IS TRIAL")
         wm = openshot.QtImageReader(dir_video+"freeTrialWatermark.png")
         wm.Open()     
-        wm = video_photo_clip(wm,layer=6,position=0,end=int(head_duration+main_timer))
-        t.AddClip(wm)
+        wm_clip = video_photo_clip(wm,layer=6,position=0,end=int(head_duration+main_timer+ED_duration))
+        t.AddClip(wm_clip)
         
     else:
         print("THIS IS NOT TRIAL")
@@ -1016,8 +1016,8 @@ def anchor_video_eng(name_hash,name,text_content, image_urls,sub_titles,avatar,f
     if freeTrial==1:
         wm = openshot.QtImageReader(dir_video+"freeTrialWatermark.png")
         wm.Open()     
-        wm = video_photo_clip(wm,layer=6,position=0,end=int(head_duration+main_timer+ED_duration))
-        t.AddClip(wm)
+        wm_clip = video_photo_clip(wm,layer=6,position=0,end=int(head_duration+main_timer+ED_duration))
+        t.AddClip(wm_clip)
         print("THIS IS TRIAL")
     else:
         print("THIS IS NOT TRIAL")