Commit 68709fb7 authored by mac's avatar mac

no message

parent 3ecf0c26
Pipeline #383 canceled with stages
......@@ -173,7 +173,7 @@ def video2comix(args):
if args.x32:
wh = (to_32s(frame_width), to_32s(frame_height))
print('video output w,h:', str(wh))
flow_video = cv2.VideoWriter(outputmp4, fourcc, fps_flow, wh)
flow_video = cv2.VideoWriter(outputmp4, fourcc, fps_flow, wh, 0)
i = 0
step = fps / fps_flow #根据fps算要跳几帧,比如:24fpx/5fpx=4,即每4帧读取下,1秒大概读取4~5帧
n = 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