|
@@ -558,7 +558,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+2
|
|
|
- ,location_y=-0.03,scale_x=0.79,scale_y=0.65)
|
|
|
+ ,location_x=0.03,location_y=-0.03
|
|
|
+ ,scale_x=0.79,scale_y=0.69)
|
|
|
t.AddClip(LOGO_ED_clip)
|
|
|
ED_duration = LOGO_ED.info.duration
|
|
|
LOGO_ED.Close()
|
|
@@ -602,12 +603,12 @@ def anchor_video_v2(name,text_content, image_urls):
|
|
|
for n in range(int(t.info.fps)*int(head_duration+main_timer+ED_duration)):
|
|
|
f=t.GetFrame(n)
|
|
|
w.WriteFrame(f)
|
|
|
-
|
|
|
- t.Close()
|
|
|
- w.Close()
|
|
|
- progress = 100
|
|
|
+ progress = 99
|
|
|
ws.send(str(progress))
|
|
|
ws.close()
|
|
|
+ t.Close()
|
|
|
+ w.Close()
|
|
|
+
|
|
|
print("Raw Video done")
|
|
|
print("video at : www.choozmo.com:8168/"+name_hash+".mp4")
|
|
|
|