TimeCode data structure. More...
#include <pyfbsdk.h>

Public Member Functions | |
| FBTimeCode (float pRate=FRAMES_30) | |
| Constructor. More... | |
| float | GetRawFrame () |
| Get the raw value for the frame. More... | |
| float | GetRawRate () |
| Get the raw value for the rate. More... | |
| float | GetRawSecond () |
| Get the raw value for the second. More... | |
| FBTime | GetTime () |
| Return a Time corresponding to the timecode. More... | |
| str | GetTimeCodeString (FBTime::ETimeFormats pFormat=FBTime::eDefaultFormat) |
| Get time as a string. More... | |
| SetTime (FBTime pTime) | |
| Set TimeCode according to the given time. More... | |
| SetTimeCode (int pHour, int pMinute=0, int pSecond=0, float pFrame=0) | |
| Set timecode. More... | |
| SetTimeCodeString (str pTime, FBTime::ETimeFormats pFormat=FBTime::eDefaultFormat) | |
| Set time from string. More... | |
Public Attributes | |
| float | FILM_23976 |
| -23.976f More... | |
| float | FILM_24 |
| -24.0f More... | |
| float | FRAMES_11988 |
| -119.88f More... | |
| float | FRAMES_30 |
| -30.0f More... | |
| float | FRAMES_5994 |
| -59.94f More... | |
| float | MPAL_30 |
| -29.971f Currently not supported : "1" is added just to differentiate from NTSC_FULL(-29.97f) More... | |
| float | NTSC_DROP |
| Rates. More... | |
| float | NTSC_FULL |
| -29.97f More... | |
| float | PAL_25 |
| -25.0f More... | |
| FBTimeCode | ( | float | pRate = FRAMES_30 | ) |
Constructor.
| pRate | Framerate value. |
| float GetRawFrame | ( | ) |
Get the raw value for the frame.
| float GetRawRate | ( | ) |
Get the raw value for the rate.
| float GetRawSecond | ( | ) |
Get the raw value for the second.
| FBTime GetTime | ( | ) |
Return a Time corresponding to the timecode.
| str GetTimeCodeString | ( | FBTime::ETimeFormats | pFormat = FBTime::eDefaultFormat | ) |
Get time as a string.
| pFormat | Format to use for the returned string(default=FBTime::eDefaultFormat). |
| SetTime | ( | FBTime | pTime | ) |
Set TimeCode according to the given time.
| pTime | Time value to set. |
Set timecode.
| pHour | Hour value. |
| pMinute | Minute value. |
| pSecond | Second value. |
| pFrame | Frame value. |
| SetTimeCodeString | ( | str | pTime, |
| FBTime::ETimeFormats | pFormat = FBTime::eDefaultFormat |
||
| ) |
Set time from string.
| pTime | String to set time from. |
| pFormat | Format to use for the string(default=FBTime::eDefaultFormat). |
| float FILM_23976 |
-23.976f
| float FILM_24 |
-24.0f
| float FRAMES_11988 |
-119.88f
| float FRAMES_30 |
-30.0f
| float FRAMES_5994 |
-59.94f
| float MPAL_30 |
-29.971f Currently not supported : "1" is added just to differentiate from NTSC_FULL(-29.97f)
| float NTSC_DROP |
Rates.
| float NTSC_FULL |
-29.97f
| float PAL_25 |
-25.0f