Skip to content

Video

Source code in docs_src/capo_ivs_realtime/types/video.py
class Video(TypedDict, closed=True):
    width: NotRequired["capo_ivs_realtime.types.width.Width"]
    """<p>Video-resolution width. This must be an even number. Note that the maximum value is determined by <code>width</code> times <code>height</code>, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 1280.</p>"""
    height: NotRequired["capo_ivs_realtime.types.height.Height"]
    """<p>Video-resolution height. This must be an even number. Note that the maximum value is determined by <code>width</code> times <code>height</code>, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 720.</p>"""
    framerate: NotRequired["capo_ivs_realtime.types.framerate.Framerate"]
    """<p>Video frame rate, in fps. Default: 30.</p>"""
    bitrate: NotRequired["capo_ivs_realtime.types.bitrate.Bitrate"]
    """<p>Bitrate for generated output, in bps. Default: 2500000.</p>"""

bitrate instance-attribute

bitrate: NotRequired[Bitrate]

Bitrate for generated output, in bps. Default: 2500000.

framerate instance-attribute

framerate: NotRequired[Framerate]

Video frame rate, in fps. Default: 30.

height instance-attribute

height: NotRequired[Height]

Video-resolution height. This must be an even number. Note that the maximum value is determined by width times height, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 720.

width instance-attribute

width: NotRequired[Width]

Video-resolution width. This must be an even number. Note that the maximum value is determined by width times height, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 1280.