|
@@ -868,6 +868,10 @@ def anchor_video_v2(name_hash,name,text_content, image_urls,multiLang,avatar,fre
|
|
|
wm.Open()
|
|
|
wm = video_photo_clip(wm,layer=6,position=int(head_duration+main_timer+ED_duration),end=left_time)
|
|
|
t.AddClip(wm)
|
|
|
+ print("THIS IS TRIAL")
|
|
|
+ else:
|
|
|
+ print("THIS IS NOT TRIAL")
|
|
|
+ print(freeTrial)
|
|
|
|
|
|
####start building
|
|
|
w = openshot.FFmpegWriter(tmp_video_dir+name_hash+".mp4")
|
|
@@ -1011,8 +1015,12 @@ def anchor_video_eng(name_hash,name,text_content, image_urls,sub_titles,avatar,f
|
|
|
if freeTrial:
|
|
|
wm = openshot.QtImageReader(dir_video+"freeTrialWatermark.png")
|
|
|
wm.Open()
|
|
|
- wm = video_photo_clip(wm,layer=6,position=int(head_duration+main_timer+ED_duration),end=left_time)
|
|
|
+ wm = video_photo_clip(wm,layer=6,position=0,end=int(head_duration+main_timer+ED_duration))
|
|
|
t.AddClip(wm)
|
|
|
+ print("THIS IS TRIAL")
|
|
|
+ else:
|
|
|
+ print("THIS IS NOT TRIAL")
|
|
|
+ print(freeTrial)
|
|
|
|
|
|
####start building
|
|
|
w = openshot.FFmpegWriter(tmp_video_dir+name_hash+".mp4")
|