Commit f0144d95 authored by mac's avatar mac

C

parent 2a8d80e0
Pipeline #353 canceled with stages
......@@ -151,7 +151,7 @@ def video2comix(args):
# MPEG can not play in web
fourcc = cv2.VideoWriter_fourcc(*"H264")
fourcc = cv2.VideoWriter_fourcc(*"MPEG")
wh = (frame_width, frame_height)
#宽高32位格式化,不知道是不是会提高效率?
if args.x32:
......@@ -192,8 +192,8 @@ def video2comix(args):
i = i + 1
if i > 3:
break
print('----------video saved.'+ outputmp4)
call(["ffmpeg", "-i", outputmp4, "-vcodec", "libx264", "-f", "mp4", outputh264])
print('----------video saved: '+ outputmp4)
#call(["ffmpeg", "-i", outputmp4, "-vcodec", "libx264", "-f", "mp4", outputh264])
print('finish')
flow_video.release()
vc.release()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment