TimeCode data structure.
Public Member Functions |
|
__init__ () | |
__init__ (int pHour, int pMinute=0, int pSecond=0, float pFrame=0, float pRate=0) | |
Constructor. |
|
str | GetTimeCodeString () |
Get time as a string. |
|
SetTimeCodeString (str pTime) | |
Set time from string. |
|
FBTime | GetTime () |
Return a Time corresponding to the timecode.
|
|
SetTime (FBTime pTime, float pFrameRate=0) | |
Set TimeCode according to the given time.
|
|
Public Attributes |
|
float | NTSC_DROP |
Rates. |
|
float | NTSC_FULL |
float | PAL25 |
float | MPAL_30 |
float | FILM_24 |
float | FILM_23976 |
__init__ | ( | ) |
Constructor.
pHour | Hour value. |
pMinute | Minute value. |
pSecond | Second value. |
pFrame | Frame value. |
pRate | Framerate value. |
str GetTimeCodeString | ( | ) |
SetTimeCodeString | ( | str | pTime | ) |
FBTime GetTime | ( | ) |
Return a Time corresponding to the timecode.
Set TimeCode according to the given time.
pTime | Time value to set. |
pFrameRate | Rate use in the pTime see Rates. |