Skip to content

Commit

Permalink
Changed codec to mp4v
Browse files Browse the repository at this point in the history
  • Loading branch information
dbolya committed Mar 30, 2019
1 parent c239148 commit 1481b72
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eval.py
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,7 @@ def savevideo(net:Yolact, in_path:str, out_path:str):
frame_height = round(vid.get(cv2.CAP_PROP_FRAME_HEIGHT))
num_frames = round(vid.get(cv2.CAP_PROP_FRAME_COUNT))

out = cv2.VideoWriter(out_path, cv2.VideoWriter_fourcc('X', '2', '6', '4'), target_fps, (frame_width, frame_height))
out = cv2.VideoWriter(out_path, cv2.VideoWriter_fourcc(*"mp4v"), target_fps, (frame_width, frame_height))

transform = FastBaseTransform()
frame_times = MovingAverage()
Expand Down

0 comments on commit 1481b72

Please sign in to comment.