17 class AFRT:
public Box {
20 void setVersion(
char newVersion);
21 uint32_t getVersion();
22 void setUpdate(uint32_t newUpdate);
24 void setTimeScale(uint32_t newScale);
25 uint32_t getTimeScale();
26 uint32_t getQualityEntryCount();
27 void setQualityEntry(std::string & newQuality, uint32_t no);
28 const char * getQualityEntry(uint32_t no);
29 uint32_t getFragmentRunCount();
30 void setFragmentRun(afrt_runtable newRun, uint32_t no);
31 afrt_runtable getFragmentRun(uint32_t no);
32 std::string toPrettyString(uint32_t indent = 0);
36 struct asrt_runtable {
37 uint32_t firstSegment;
38 uint32_t fragmentsPerSegment;
42 class ASRT:
public Box {
45 void setVersion(
char newVersion);
46 uint32_t getVersion();
47 void setUpdate(uint32_t newUpdate);
49 uint32_t getQualityEntryCount();
50 void setQualityEntry(std::string & newQuality, uint32_t no);
51 const char * getQualityEntry(uint32_t no);
52 uint32_t getSegmentRunEntryCount();
53 void setSegmentRun(uint32_t firstSegment, uint32_t fragmentsPerSegment, uint32_t no);
54 asrt_runtable getSegmentRun(uint32_t no);
55 std::string toPrettyString(uint32_t indent = 0);
60 class ABST:
public Box {
63 void setVersion(
char newVersion);
65 void setFlags(uint32_t newFlags);
67 void setBootstrapinfoVersion(uint32_t newVersion);
68 uint32_t getBootstrapinfoVersion();
69 void setProfile(
char newProfile);
71 void setLive(
bool newLive);
73 void setUpdate(
bool newUpdate);
75 void setTimeScale(uint32_t newTimeScale);
76 uint32_t getTimeScale();
77 void setCurrentMediaTime(uint64_t newTime);
78 uint64_t getCurrentMediaTime();
79 void setSmpteTimeCodeOffset(uint64_t newTime);
80 uint64_t getSmpteTimeCodeOffset();
81 void setMovieIdentifier(std::string & newIdentifier);
82 char * getMovieIdentifier();
83 uint32_t getServerEntryCount();
84 void setServerEntry(std::string & entry, uint32_t no);
85 const char * getServerEntry(uint32_t no);
86 uint32_t getQualityEntryCount();
87 void setQualityEntry(std::string & entry, uint32_t no);
88 const char * getQualityEntry(uint32_t no);
89 void setDrmData(std::string newDrm);
91 void setMetaData(std::string newMetaData);
93 uint32_t getSegmentRunTableCount();
94 void setSegmentRunTable(ASRT & table, uint32_t no);
95 ASRT & getSegmentRunTable(uint32_t no);
96 uint32_t getFragmentRunTableCount();
97 void setFragmentRunTable(AFRT & table, uint32_t no);
98 AFRT & getFragmentRunTable(uint32_t no);
99 std::string toPrettyString(uint32_t indent = 0);
107 struct globalafraentry {
112 uint64_t offsetfromafra;
114 class AFRA:
public Box {
117 void setVersion(uint32_t newVersion);
118 uint32_t getVersion();
119 void setFlags(uint32_t newFlags);
121 void setLongIDs(
bool newVal);
123 void setLongOffsets(
bool newVal);
124 bool getLongOffsets();
125 void setGlobalEntries(
bool newVal);
126 bool getGlobalEntries();
127 void setTimeScale(uint32_t newVal);
128 uint32_t getTimeScale();
129 uint32_t getEntryCount();
130 void setEntry(afraentry newEntry, uint32_t no);
131 afraentry getEntry(uint32_t no);
132 uint32_t getGlobalEntryCount();
133 void setGlobalEntry(globalafraentry newEntry, uint32_t no);
134 globalafraentry getGlobalEntry(uint32_t no);
135 std::string toPrettyString(uint32_t indent = 0);
uint64_t firstTimestamp
Definition: mp4_adobe.h:10
Contains all MP4 format related code.
Definition: mp4.cpp:15
uint32_t duration
Definition: mp4_adobe.h:11
uint32_t firstFragment
Definition: mp4_adobe.h:9
uint32_t discontinuity
Definition: mp4_adobe.h:12