Support for AV1 MP4 input and output

This commit is contained in:
Thulinma 2023-06-11 16:26:27 +02:00
parent 8b8a28c4ec
commit a9abfa531e
12 changed files with 154 additions and 22 deletions

View file

@ -200,6 +200,13 @@ namespace MP4{
h265::metaInfo getMetaInfo();
};
class AV1C : public Box{
public:
AV1C();
void setPayload(std::string newPayload);
std::string toPrettyString(uint32_t indent = 0);
};
class Descriptor{
public:
Descriptor();
@ -694,10 +701,10 @@ namespace MP4{
uint16_t getWidth();
void setHeight(uint16_t newHeight);
uint16_t getHeight();
void setHorizResolution(uint32_t newHorizResolution);
uint32_t getHorizResolution();
void setVertResolution(uint32_t newVertResolution);
uint32_t getVertResolution();
void setHorizResolution(double newHorizResolution);
double getHorizResolution();
void setVertResolution(double newVertResolution);
double getVertResolution();
void setFrameCount(uint16_t newFrameCount);
uint16_t getFrameCount();
void setCompressorName(std::string newCompressorName);
@ -851,6 +858,12 @@ namespace MP4{
std::string toPrettyString(uint32_t indent = 0);
};
class AV01 : public VisualSampleEntry{
public:
AV01();
std::string toPrettyString(uint32_t indent = 0);
};
class FIEL : public Box{
public:
FIEL();