Functions | |
bool | MP4HaveAtom (MP4FileHandle hFile, const char *atomName) |
bool | MP4GetIntegerProperty (MP4FileHandle hFile, const char *propName, uint64_t *retval) |
bool | MP4GetFloatProperty (MP4FileHandle hFile, const char *propName, float *retvalue) |
bool | MP4GetStringProperty (MP4FileHandle hFile, const char *propName, const char **retvalue) |
bool | MP4GetBytesProperty (MP4FileHandle hFile, const char *propName, uint8_t **ppValue, uint32_t *pValueSize) |
bool | MP4SetIntegerProperty (MP4FileHandle hFile, const char *propName, int64_t value) |
bool | MP4SetFloatProperty (MP4FileHandle hFile, const char *propName, float value) |
bool | MP4SetStringProperty (MP4FileHandle hFile, const char *propName, const char *value) |
bool | MP4SetBytesProperty (MP4FileHandle hFile, const char *propName, const uint8_t *pValue, uint32_t valueSize) |
MP4Duration | MP4GetDuration (MP4FileHandle hFile) |
uint32_t | MP4GetTimeScale (MP4FileHandle hFile) |
Get the time scale of the movie (file). More... | |
bool | MP4SetTimeScale (MP4FileHandle hFile, uint32_t value) |
Set the time scale of the movie (file). More... | |
void | MP4ChangeMovieTimeScale (MP4FileHandle hFile, uint32_t value) |
Change the general timescale of file hFile. More... | |
uint8_t | MP4GetODProfileLevel (MP4FileHandle hFile) |
bool | MP4SetODProfileLevel (MP4FileHandle hFile, uint8_t value) |
uint8_t | MP4GetSceneProfileLevel (MP4FileHandle hFile) |
bool | MP4SetSceneProfileLevel (MP4FileHandle hFile, uint8_t value) |
uint8_t | MP4GetVideoProfileLevel (MP4FileHandle hFile, MP4TrackId trackId=MP4_INVALID_TRACK_ID) |
void | MP4SetVideoProfileLevel (MP4FileHandle hFile, uint8_t value) |
uint8_t | MP4GetAudioProfileLevel (MP4FileHandle hFile) |
void | MP4SetAudioProfileLevel (MP4FileHandle hFile, uint8_t value) |
uint8_t | MP4GetGraphicsProfileLevel (MP4FileHandle hFile) |
bool | MP4SetGraphicsProfileLevel (MP4FileHandle hFile, uint8_t value) |
void MP4ChangeMovieTimeScale | ( | MP4FileHandle | hFile, |
uint32_t | value | ||
) |
Change the general timescale of file hFile.
This function changes the general timescale of the file hFile to the new timescale value by recalculating all values that depend on the timescale in "moov.mvhd".
If the timescale is already equal to value nothing is done.
hFile | handle of file to change. |
value | the new timescale. |
uint32_t MP4GetTimeScale | ( | MP4FileHandle | hFile | ) |
Get the time scale of the movie (file).
MP4GetTimeScale returns the time scale in units of ticks per second for the mp4 file. Caveat: tracks may use the same time scale as the movie or may use their own time scale.
hFile | handle of file for operation. |
bool MP4SetTimeScale | ( | MP4FileHandle | hFile, |
uint32_t | value | ||
) |
Set the time scale of the movie (file).
MP4SetTimeScale sets the time scale of the mp4 file. The time scale is in the number of clock ticks per second. Caveat: tracks may use the same time scale as the movie or may use their own time scale.
hFile | handle of file for operation. |
value | desired timescale for the movie. |