Skip to content

Various MP4Decrypt fixes#420

Open
truedread wants to merge 3 commits into
axiomatic-systems:masterfrom
truedread:master
Open

Various MP4Decrypt fixes#420
truedread wants to merge 3 commits into
axiomatic-systems:masterfrom
truedread:master

Conversation

@truedread
Copy link
Copy Markdown

@truedread truedread commented Aug 13, 2019

Fixed MP4Decrypt so it can:

  • Decrypt PIFF media
  • Select track by KID instead of track ID
  • Show progress

Fixes #368

@MythodeaLoL
Copy link
Copy Markdown

@barbibulle can u update this? thank u man.

}
if (tenc != NULL) {
const AP4_DataBuffer* key = m_KeyMap->GetKeyByKid(tenc->GetDefaultKid());
if (key != NULL) m_KeyMap->SetKey(trak->GetId(), key->GetData(), 16);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Writing to the key map from AP4_CencDecryptingProcessor breaks the constness of that map. It doesn't seem right. Can you explain why you need to write a key here?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

mp4decrypt couldn't properly handle selecting the track based on key ID, it only seemed to work by track ID.

@FugerZuer
Copy link
Copy Markdown

Any update on progress bar?

@m0ck69
Copy link
Copy Markdown

m0ck69 commented Aug 2, 2021

Yes, please add this. It's been so long...

@FugerZuer
Copy link
Copy Markdown

This modified version has a progress bar: https://github.com/NanDesuKa-FR/mp4decrypt_mod_linux

@AtherosKiller
Copy link
Copy Markdown

Any update on progress bar?

@dausruddin
Copy link
Copy Markdown

@FugerZuer link is dead

@2084x
Copy link
Copy Markdown

2084x commented Aug 15, 2024

one day...

@matgott
Copy link
Copy Markdown

matgott commented Nov 5, 2025

Any updates on this? At least show-progress....

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.

mp4decrypt --show-progress doesn't actually show progress, broken?

9 participants