|
@@ -463,7 +463,6 @@ def generate_subtitle_image(name_hash,text_content):
|
|
|
|
|
|
|
|
|
|
|
|
|
|
-
|
|
|
|
def anchor_video_v2(name,text_content, image_urls,avatar):
|
|
def anchor_video_v2(name,text_content, image_urls,avatar):
|
|
#ws = create_connection("ws://www.choozmo.com:8888/progress")
|
|
#ws = create_connection("ws://www.choozmo.com:8888/progress")
|
|
progress = 0
|
|
progress = 0
|
|
@@ -497,7 +496,7 @@ def anchor_video_v2(name,text_content, image_urls,avatar):
|
|
LOGO_OP = openshot.FFmpegReader(dir_video+"LOGO_OP.mp4")
|
|
LOGO_OP = openshot.FFmpegReader(dir_video+"LOGO_OP.mp4")
|
|
LOGO_OP.Open() # Open the reader
|
|
LOGO_OP.Open() # Open the reader
|
|
LOGO_OP_clip = video_photo_clip(vid=LOGO_OP,layer=4,position=0,end=LOGO_OP.info.duration
|
|
LOGO_OP_clip = video_photo_clip(vid=LOGO_OP,layer=4,position=0,end=LOGO_OP.info.duration
|
|
- ,location_y=-0.03,scale_x=0.8,scale_y=0.71)
|
|
|
|
|
|
+ ,location_y=-0.03,scale_x=0.8,scale_y=0.705)
|
|
t.AddClip(LOGO_OP_clip)
|
|
t.AddClip(LOGO_OP_clip)
|
|
bg_head = openshot.FFmpegReader(dir_video+"bg_head.avi")
|
|
bg_head = openshot.FFmpegReader(dir_video+"bg_head.avi")
|
|
bg_head.Open()
|
|
bg_head.Open()
|