pyorc.Frames.to_video#

Frames.to_video(fn, video_format=1983148141, fps=None)[source]#

Write frames to a video file without any layout

Parameters:
  • fn (str) – Path to output file

  • video_format (cv2.VideoWriter_fourcc, optional) – A VideoWriter preference, default is cv2.VideoWriter_fourcc(*”mp4v”)

  • fps (float, optional) – Frames per second, if not provided, derived from original video

Return type:

None