GstVideo.VideoTimeCodeInterval

Fields

Name

Type

Access

Description

frames

int

r/w

the frames field of GstVideo.VideoTimeCodeInterval

hours

int

r/w

the hours field of GstVideo.VideoTimeCodeInterval

minutes

int

r/w

the minutes field of GstVideo.VideoTimeCodeInterval

seconds

int

r/w

the seconds field of GstVideo.VideoTimeCodeInterval

Methods

class

new (hours, minutes, seconds, frames)

class

new_from_string (tc_inter_str)

clear ()

copy ()

free ()

init (hours, minutes, seconds, frames)

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:
Returns:

a new GstVideo.VideoTimeCodeInterval with the given values.

Return type:

GstVideo.VideoTimeCodeInterval

New in version 1.12.

classmethod new_from_string(tc_inter_str)[source]
Parameters:

tc_inter_str (str) – The string that represents the GstVideo.VideoTimeCodeInterval

Returns:

a new GstVideo.VideoTimeCodeInterval from the given string or None if the string could not be passed.

Return type:

GstVideo.VideoTimeCodeInterval or None

tc_inter_str must only have “:” as separators.

New in version 1.12.

clear()[source]

Initializes self with empty/zero/None values.

New in version 1.12.

copy()[source]
Returns:

a new GstVideo.VideoTimeCodeInterval with the same values as self.

Return type:

GstVideo.VideoTimeCodeInterval

New in version 1.12.

free()[source]

Frees self.

New in version 1.12.

init(hours, minutes, seconds, frames)[source]
Parameters:

Initializes self with the given values.

New in version 1.12.