MP4v2
file_prop.h
1#ifndef MP4V2_FILE_PROP_H
2#define MP4V2_FILE_PROP_H
3
4/**************************************************************************/
11/* generic props */
12
24MP4V2_EXPORT
26 MP4FileHandle hFile,
27 const char* atomName );
28
41MP4V2_EXPORT
43 MP4FileHandle hFile,
44 const char* propName,
45 uint64_t* retVal );
46
59MP4V2_EXPORT
61 MP4FileHandle hFile,
62 const char* propName,
63 float* retVal );
64
77MP4V2_EXPORT
79 MP4FileHandle hFile,
80 const char* propName,
81 const char** retVal );
82
100MP4V2_EXPORT
102 MP4FileHandle hFile,
103 const char* propName,
104 uint8_t** ppValue,
105 uint32_t* pValueSize );
106
118MP4V2_EXPORT
120 MP4FileHandle hFile,
121 const char* propName,
122 int64_t value );
123
135MP4V2_EXPORT
137 MP4FileHandle hFile,
138 const char* propName,
139 float value );
140
152MP4V2_EXPORT
154 MP4FileHandle hFile,
155 const char* propName,
156 const char* value );
157
170MP4V2_EXPORT
172 MP4FileHandle hFile,
173 const char* propName,
174 const uint8_t* pValue,
175 uint32_t valueSize );
176
177/* specific props */
178
193MP4V2_EXPORT
194MP4Duration MP4GetDuration(
195 MP4FileHandle hFile );
196
207MP4V2_EXPORT
209 MP4FileHandle hFile );
210
222MP4V2_EXPORT
224 MP4FileHandle hFile,
225 uint32_t value );
226
238MP4V2_EXPORT
240 MP4FileHandle hFile,
241 uint32_t value );
242
256MP4V2_EXPORT
258 MP4FileHandle hFile );
259
283MP4V2_EXPORT
285 MP4FileHandle hFile,
286 uint8_t value );
287
301MP4V2_EXPORT
303 MP4FileHandle hFile );
304
329MP4V2_EXPORT
331 MP4FileHandle hFile,
332 uint8_t value );
333
349MP4V2_EXPORT
351 MP4FileHandle hFile,
352 MP4TrackId trackId DEFAULT(MP4_INVALID_TRACK_ID) );
353
397MP4V2_EXPORT
399 MP4FileHandle hFile,
400 uint8_t value );
401
415MP4V2_EXPORT
417 MP4FileHandle hFile );
418
455MP4V2_EXPORT
457 MP4FileHandle hFile,
458 uint8_t value );
459
473MP4V2_EXPORT
475 MP4FileHandle hFile );
476
501MP4V2_EXPORT
503 MP4FileHandle hFile,
504 uint8_t value );
505
508#endif /* MP4V2_FILE_PROP_H */
bool MP4SetODProfileLevel(MP4FileHandle hFile, uint8_t value)
Sets the minimum MPEG-4 object descriptor profile and level required to render the contents of the fi...
bool MP4GetFloatProperty(MP4FileHandle hFile, const char *propName, float *retVal)
Get the value of a float property.
uint8_t MP4GetODProfileLevel(MP4FileHandle hFile)
Gets the minimum MPEG-4 object descriptor profile and level required to render the contents of the fi...
bool MP4SetGraphicsProfileLevel(MP4FileHandle hFile, uint8_t value)
Sets the minimum MPEG-4 graphics profile and level required to render the contents of the file.
void MP4ChangeMovieTimeScale(MP4FileHandle hFile, uint32_t value)
Change the general timescale of file hFile.
uint32_t MP4GetTimeScale(MP4FileHandle hFile)
Get the time scale of the movie (file).
bool MP4GetIntegerProperty(MP4FileHandle hFile, const char *propName, uint64_t *retVal)
Get the value of an integer property.
bool MP4SetTimeScale(MP4FileHandle hFile, uint32_t value)
Set the time scale of the movie (file).
bool MP4GetBytesProperty(MP4FileHandle hFile, const char *propName, uint8_t **ppValue, uint32_t *pValueSize)
Get the value of a bytes property.
bool MP4SetIntegerProperty(MP4FileHandle hFile, const char *propName, int64_t value)
Set the value of an integer property.
uint8_t MP4GetVideoProfileLevel(MP4FileHandle hFile, MP4TrackId trackId=MP4_INVALID_TRACK_ID)
Gets the minimum MPEG-4 video profile and level required to render the contents of the file.
uint8_t MP4GetSceneProfileLevel(MP4FileHandle hFile)
Gets the minimum MPEG-4 scene graph profile and level required to render the contents of the file.
uint8_t MP4GetAudioProfileLevel(MP4FileHandle hFile)
Gets the minimum MPEG-4 audio profile and level required to render the contents of the file.
MP4Duration MP4GetDuration(MP4FileHandle hFile)
Get the duration of the movie (file).
void MP4SetAudioProfileLevel(MP4FileHandle hFile, uint8_t value)
Sets the minimum MPEG-4 audio profile and level required to render the contents of the file.
bool MP4SetFloatProperty(MP4FileHandle hFile, const char *propName, float value)
Set the value of a float property.
uint8_t MP4GetGraphicsProfileLevel(MP4FileHandle hFile)
Gets the minimum MPEG-4 graphics profile and level required to render the contents of the file.
bool MP4SetBytesProperty(MP4FileHandle hFile, const char *propName, const uint8_t *pValue, uint32_t valueSize)
Set the value of a bytes property.
bool MP4SetSceneProfileLevel(MP4FileHandle hFile, uint8_t value)
Sets the minimum MPEG-4 scene graph profile and level required to render the contents of the file.
void MP4SetVideoProfileLevel(MP4FileHandle hFile, uint8_t value)
Sets the minimum MPEG-4 video profile and level required to render the contents of the file.
bool MP4SetStringProperty(MP4FileHandle hFile, const char *propName, const char *value)
Set the value of a string property.
bool MP4GetStringProperty(MP4FileHandle hFile, const char *propName, const char **retVal)
Get the value of a string property.
bool MP4HaveAtom(MP4FileHandle hFile, const char *atomName)
Check for presence of an atom.
#define MP4_INVALID_TRACK_ID
Constant: invalid MP4TrackId.
Definition: general.h:49