Skip to content

Instantly share code, notes, and snippets.

@prateekjoshi565
Created April 20, 2020 09:48
Show Gist options
  • Save prateekjoshi565/48fb0943bb7dac68200014f4af7ec19f to your computer and use it in GitHub Desktop.
Save prateekjoshi565/48fb0943bb7dac68200014f4af7ec19f to your computer and use it in GitHub Desktop.
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