0

My goal is to write an mp4 video using the cv2 Python library, which itself depends on ffmpeg. What code should I use as the fourcc parameter, i.e.,:

fourcc = cv2.VideoWriter_fourcc(*'????')
Jamie
  • 2,181
  • 1
  • 21
  • 35

1 Answers1

2

Use the code vp09 (case-sensitive):

fourcc = cv2.VideoWriter_fourcc(*'vp09')
Jamie
  • 2,181
  • 1
  • 21
  • 35