What video API / formats are supported by openCV-python

I would like to know what video API / formats are supported by openCV?

As i know have avi,mp4,what else?

just enter in python

import cv2

if some api are not available (with answer NO) you can try to build python binding yourself

  Video I/O:
    DC1394:                      NO
    FFMPEG:                      YES (prebuilt binaries)
      avcodec:                   YES (58.134.100)
      avformat:                  YES (58.76.100)
      avutil:                    YES (56.70.100)
      swscale:                   YES (5.9.100)
      avresample:                YES (4.0.0)
    GStreamer:                   NO
    DirectShow:                  YES
    Media Foundation:            YES
      DXVA:                      YES

this mean all video format?

on windows, ffmpeg is used to read / write video files

have a look here for the supported formats
however, the prebuilt version does not come with gpl’d codecs,
so e.g. you can read but you cant write h265