added the avcC box
This commit is contained in:
parent
ec5dd47be9
commit
503f63af2b
2 changed files with 136 additions and 1 deletions
25
lib/mp4.h
25
lib/mp4.h
|
@ -275,4 +275,29 @@ namespace MP4{
|
|||
std::string toPrettyString(long indent = 0);
|
||||
};
|
||||
|
||||
|
||||
class AVCC : public Box {
|
||||
public:
|
||||
AVCC();
|
||||
void setVersion( long newVersion );
|
||||
long getVersion( );
|
||||
void setProfile( long newProfile );
|
||||
long getProfile( );
|
||||
void setCompatibleProfiles( long newCompatibleProfiles );
|
||||
long getCompatibleProfiles( );
|
||||
void setLevel( long newLevel );
|
||||
long getLevel( );
|
||||
void setSPSNumber( long newSPSNumber );
|
||||
long getSPSNumber( );
|
||||
void setSPS( std::string newSPS );
|
||||
long getSPSLen( );
|
||||
char* getSPS( );
|
||||
void setPPSNumber( long newPPSNumber );
|
||||
long getPPSNumber( );
|
||||
void setPPS( std::string newPPS );
|
||||
long getPPSLen( );
|
||||
char* getPPS( );
|
||||
std::string asAnnexB( );
|
||||
std::string toPrettyString(long indent = 0);
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue