python_vali.SeekContext

class python_vali.SeekContext

Incapsulates information required by decoder to seek for a particular video frame.

__init__(*args, **kwargs)

Overloaded function.

  1. __init__(self: python_vali._python_vali.SeekContext, seek_frame: int) -> None

    Constructor method.

    param seek_frame:

    number of frame to seek for, starts from 0

  2. __init__(self: python_vali._python_vali.SeekContext, seek_ts: float) -> None

    Constructor method. Will initialize context for seek by frame timestamp.

    param seek_frame:

    timestamp (s) of frame to seek for.

Methods

__init__(*args, **kwargs)

Overloaded function.

Attributes

seek_frame

Number of frame we want to seek.

seek_tssec

Timestamp we want to seek.

property seek_frame

Number of frame we want to seek.

property seek_tssec

Timestamp we want to seek.