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

CBCS audio with no SAIZ, SAIO or SENC boxes #944

Open
glennguy opened this issue Mar 28, 2024 · 0 comments
Open

CBCS audio with no SAIZ, SAIO or SENC boxes #944

glennguy opened this issue Mar 28, 2024 · 0 comments

Comments

@glennguy
Copy link

Hello!

Very similar to #781 but this time there's nothing to use, even more out of spec!

I've attached the init and first segment:
broken.zip

The keyid/key is f8c80c25690f47368132430e5c6994ce:7bc99cb1dd0623cd0b5065056a57a1dd

Because it's audio the skip/crypt pattern is just 0,0 and from looking at an audio example that does work, the SENC box is very simple just containing the count of samples:

image

Unfortunately for me, I have tried but failed to create a simple 16 byte box in inputstream.adaptive to contain data: trun->GetEntries().ItemCount()

Is this something you can a) implement a fix in AP4_CencSampleInfoTable::Create, or b) advise the in pattern way to create a simple 16 byte SENC box like above?

Thanks heaps!

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