python_vali.SeekContext¶
- class python_vali.SeekContext¶
Context object for video frame seeking operations.
- __init__(*args, **kwargs)¶
Overloaded function.
__init__(self: python_vali._python_vali.SeekContext, seek_frame: int) -> None
Create a new seek context for frame-based seeking.
Initializes a seek context that will seek to a specific frame number in the video stream.
- param seek_frame:
Target frame number to seek to (0-based index)
- type seek_frame:
int
__init__(self: python_vali._python_vali.SeekContext, seek_ts: float) -> None
Create a new seek context for timestamp-based seeking.
Initializes a seek context that will seek to a specific timestamp in the video stream.
- param seek_ts:
Target timestamp in seconds to seek to
- type seek_ts:
float
Methods
__init__
(*args, **kwargs)Overloaded function.
Attributes
Target frame number for seeking.
Target timestamp for seeking.
- property seek_frame¶
Target frame number for seeking.
The frame number to seek to when using frame-based seeking. This is a 0-based index into the video stream.
- property seek_tssec¶
Target timestamp for seeking.
The timestamp in seconds to seek to when using timestamp-based seeking.