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

Encrypted and restricted SampleEntry classes #80

Open
podborski opened this issue Sep 1, 2023 · 1 comment
Open

Encrypted and restricted SampleEntry classes #80

podborski opened this issue Sep 1, 2023 · 1 comment
Labels
ISOBMFF related to 14496-12 question Further information is requested

Comments

@podborski
Copy link
Member

Currently the 8th edition lists Protected sample entry codes in Table 7 and Restricted sample entry codes in Table 8.

For text SimpleTextSampleEntry is mentioned as the sample entry class in both enct and rest.

For subtitles XMLSubtitleSampleEntry is mentioned encu and resu.

As I mentioned in this discussion MPEGGroup/FileFormatConformance#64 (comment) should this be more generic?

E.g. XMLSubtitleSampleEntry -> SubtitleSampleEntry and SimpleTextSampleEntry -> PlainTextSampleEntry?

@podborski podborski added question Further information is requested ISOBMFF related to 14496-12 labels Sep 1, 2023
@cconcolato
Copy link
Contributor

We note that the tables have been renumbered (Table 13 and Table 14).
Today's design is such that when you encounter an encrypted sample entry, from the 4CC you should know how many bytes you have to skip to start parsing "boxes" and find the OriginalFormatBox. An alternative may need sniffing the other boxes.
We note that the encryption of metadata tracks points to the base sample entry type.
We welcome contributions to address this issue, e.g. notes telling players how to behave or use the reserved in the base SampleEntry class to point to the OriginalFormatBox.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ISOBMFF related to 14496-12 question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants