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

Is there any way to "decryption_key" argument #31

Open
silverman2012 opened this issue Jul 24, 2019 · 1 comment
Open

Is there any way to "decryption_key" argument #31

silverman2012 opened this issue Jul 24, 2019 · 1 comment

Comments

@silverman2012
Copy link

silverman2012 commented Jul 24, 2019

Hi,
I want to decrypta video file and use "-decryption_key" for ffplay, just like what I mention below:
ffplay 10M00S.mp4_enc.mp4 -decryption_key 76a6c65c5ea762046bd749a2e632ccbb

You can read about my idea here:
https://stackoverflow.com/questions/44939166/ffmpeg-how-to-produce-mp4-cenc-common-encryption-videos/44949160#44949160

@kyo8568131
Copy link
Contributor

Hi silverman2012,
You could modify the native code as below and rebuild the dll for your customization.
In line 63 of ViveMediaDecoder/NativeCode/DecoderFFmpeg.cpp,
av_dict_set(&opts, "decryption_key", "76a6c65c5ea762046bd749a2e632ccbb", 0);
Thanks.

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

2 participants