Commit 46f0ec13 authored by mac's avatar mac

c

parent 14a7cd75
Pipeline #347 canceled with stages
...@@ -126,7 +126,7 @@ def video2comix(args): ...@@ -126,7 +126,7 @@ def video2comix(args):
fourcc = cv2.VideoWriter_fourcc(*"H264") fourcc = cv2.VideoWriter_fourcc(*"H264")
wh = (frame_width, frame_height) wh = (frame_width, frame_height)
#宽高32位格式化,不知道是不是会提高效率? #宽高32位格式化,不知道是不是会提高效率?
if x32: if args.x32:
wh = (to_32s(frame_width), to_32s(frame_height)) wh = (to_32s(frame_width), to_32s(frame_height))
flow_video = cv2.VideoWriter(outputmp4, fourcc, fps_flow, wh) flow_video = cv2.VideoWriter(outputmp4, fourcc, fps_flow, wh)
i = 0 i = 0
......
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