Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@prateekjoshi565
Created May 11, 2020 11:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save prateekjoshi565/df2b3f9d82047c1ec91373ba246cad37 to your computer and use it in GitHub Desktop.
Save prateekjoshi565/df2b3f9d82047c1ec91373ba246cad37 to your computer and use it in GitHub Desktop.
# write the video
out = cv2.VideoWriter(pathOut,cv2.VideoWriter_fourcc(*'DIVX'), fps, size)
for i in range(len(frame_array)):
# writing to a image array
out.write(frame_array[i])
out.release()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment