TimeCode data structure.
More...
#include <pyfbsdk.h>
◆ FBTimeCode()
◆ GetRawFrame()
Get the raw value for the frame.
- Returns
- raw value for the frame.
◆ GetRawRate()
Get the raw value for the rate.
- Returns
- raw value for the rate.
◆ GetRawSecond()
Get the raw value for the second.
- Returns
- raw value for the second.
◆ GetTime()
Return a Time corresponding to the timecode.
◆ GetTimeCodeString()
str GetTimeCodeString |
( |
FBTime::ETimeFormats |
pFormat = FBTime::eDefaultFormat | ) |
|
Get time as a string.
- Parameters
-
pFormat | Format to use for the returned string(default=FBTime::eDefaultFormat). |
- Returns
- String value of time.
◆ SetTime()
Set TimeCode according to the given time.
- Parameters
-
◆ SetTimeCode()
SetTimeCode |
( |
int |
pHour, |
|
|
int |
pMinute = 0 , |
|
|
int |
pSecond = 0 , |
|
|
float |
pFrame = 0 |
|
) |
| |
Set timecode.
- Parameters
-
pHour | Hour value. |
pMinute | Minute value. |
pSecond | Second value. |
pFrame | Frame value. |
◆ SetTimeCodeString()
SetTimeCodeString |
( |
str |
pTime, |
|
|
FBTime::ETimeFormats |
pFormat = FBTime::eDefaultFormat |
|
) |
| |
Set time from string.
- Parameters
-
pTime | String to set time from. |
pFormat | Format to use for the string(default=FBTime::eDefaultFormat). |
◆ FILM_23976
◆ FILM_24
◆ FRAMES_11988
◆ FRAMES_30
◆ FRAMES_5994
◆ MPAL_30
-29.971f Currently not supported : "1" is added just to differentiate from NTSC_FULL(-29.97f)
◆ NTSC_DROP
◆ NTSC_FULL
◆ PAL_25