GstVideo.VideoTimeCodeInterval¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
frames |
r/w |
the frames field of |
|
hours |
r/w |
the hours field of |
|
minutes |
r/w |
the minutes field of |
|
seconds |
r/w |
the seconds field of |
Methods¶
class |
|
class |
|
|
|
|
|
|
|
|
Details¶
- class GstVideo.VideoTimeCodeInterval¶
A representation of a difference between two
GstVideo.VideoTimeCode
instances. Will not necessarily correspond to a real timecode (e.g. 00:00:10;00)New in version 1.12.
- classmethod new(hours, minutes, seconds, frames)[source]¶
- Parameters:
hours (
int
) – the hours field ofGstVideo.VideoTimeCodeInterval
minutes (
int
) – the minutes field ofGstVideo.VideoTimeCodeInterval
seconds (
int
) – the seconds field ofGstVideo.VideoTimeCodeInterval
frames (
int
) – the frames field ofGstVideo.VideoTimeCodeInterval
- Returns:
a new
GstVideo.VideoTimeCodeInterval
with the given values.- Return type:
New in version 1.12.
- classmethod new_from_string(tc_inter_str)[source]¶
- Parameters:
tc_inter_str (
str
) – The string that represents theGstVideo.VideoTimeCodeInterval
- Returns:
a new
GstVideo.VideoTimeCodeInterval
from the given string orNone
if the string could not be passed.- Return type:
tc_inter_str must only have “:” as separators.
New in version 1.12.
- copy()[source]¶
- Returns:
a new
GstVideo.VideoTimeCodeInterval
with the same values as self.- Return type:
New in version 1.12.
- init(hours, minutes, seconds, frames)[source]¶
- Parameters:
hours (
int
) – the hours field ofGstVideo.VideoTimeCodeInterval
minutes (
int
) – the minutes field ofGstVideo.VideoTimeCodeInterval
seconds (
int
) – the seconds field ofGstVideo.VideoTimeCodeInterval
frames (
int
) – the frames field ofGstVideo.VideoTimeCodeInterval
Initializes self with the given values.
New in version 1.12.