Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reconstruct data at end of avcC from SPS #1

Open
OllieJones opened this issue Mar 23, 2021 · 0 comments
Open

Reconstruct data at end of avcC from SPS #1

OllieJones opened this issue Mar 23, 2021 · 0 comments

Comments

@OllieJones
Copy link
Owner

https://stackoverflow.com/questions/66736186/analyze-peculiar-avcc-atom-structure

The extra data at the end of avcC is this. These fields turn up in SPS.

if( profile_idc == 100 || profile_idc == 110 ||
    profile_idc == 122 || profile_idc == 144 )
{
   bit(6) reserved = ‘111111’b;
   unsigned int(2) chroma_format;
   bit(5) reserved = ‘11111’b;
   unsigned int(3) bit_depth_luma_minus8;
   bit(5) reserved = ‘11111’b;
   unsigned int(3) bit_depth_chroma_minus8;
   unsigned int(8) numOfSequenceParameterSetExt;
   for (i=0; i< numOfSequenceParameterSetExt; i++) {
      unsigned int(16) sequenceParameterSetExtLength;
      bit(8*sequenceParameterSetExtLength) sequenceParameterSetExtNALUnit;
   }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant