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

Sample AES support #611

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Sample AES support #611

wants to merge 3 commits into from

Conversation

DevLARLEY
Copy link

Supports:

  • H.264
  • AAC
  • AC3 (Dolby Digital)
  • E-AC3 (Dolby Digital Plus)

Note

This implementation requires an additional library (modified version of MediaFormatLibrary: MediaFormatLibrary.New)

var streamType = pidMap[first.Header.Pid];
switch (streamType)
{
case (StreamType)0xDB:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added decryption for stream type 0x1B(H264) and 0x0F(AdtsAac) in Yesterday17/iori@c5ad2db because some Sample-AES implementation do not change the stream type after encryption. There's an example in Yesterday17/iori#1

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed in be3cd9a

I hate it when people aren't spec-compliant...

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

Successfully merging this pull request may close these issues.

SAMPLE_AES
2 participants