|
@@ -557,8 +557,8 @@ def anchor_video_v2(name,text_content, image_urls):
|
|
|
|
|
|
LOGO_ED = openshot.FFmpegReader(dir_video+"LOGO_ED.avi")
|
|
|
LOGO_ED.Open()
|
|
|
- LOGO_ED_clip = video_photo_clip(vid=LOGO_ED,layer=4,position=main_timer,end=LOGO_ED.info.duration
|
|
|
- ,location_y=-0.03,scale_x=0.8,scale_y=0.7)
|
|
|
+ LOGO_ED_clip = video_photo_clip(vid=LOGO_ED,layer=4,position=main_timer,end=LOGO_ED.info.duration+2
|
|
|
+ ,location_y=-0.03,scale_x=0.8,scale_y=0.69)
|
|
|
t.AddClip(LOGO_ED_clip)
|
|
|
ED_duration = LOGO_ED.info.duration
|
|
|
LOGO_ED.Close()
|
|
@@ -605,10 +605,11 @@ def anchor_video_v2(name,text_content, image_urls):
|
|
|
|
|
|
t.Close()
|
|
|
w.Close()
|
|
|
- print("Raw Video done")
|
|
|
- print("video at : www.choozmo.com:8168/"+name_hash+".mp4")
|
|
|
progress = 100
|
|
|
ws.send(str(progress))
|
|
|
ws.close()
|
|
|
+ print("Raw Video done")
|
|
|
+ print("video at : www.choozmo.com:8168/"+name_hash+".mp4")
|
|
|
+
|
|
|
#line notifs
|
|
|
#notify_group(name+"的影片已經產生完成囉! www.choozmo.com:8168/"+name_hash+".mp4")
|