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

How can I decrypt the video? #1569

Open
benvgaming opened this issue Mar 5, 2025 · 0 comments
Open

How can I decrypt the video? #1569

benvgaming opened this issue Mar 5, 2025 · 0 comments

Comments

@benvgaming
Copy link

benvgaming commented Mar 5, 2025

I'm trying to do add dynamic watermark with aes-128 encryption. But right now I'm unable to add watermark with ffmpeg since the .ts files are encrypted. I tried to decrypt it with ffmpeg and openssl but it didn't work. Here's my code block:

    location /vod/ {
        alias /opt/vod/;
        
        # VOD module settings
        vod_bootstrap_segment_durations 4000;
        vod hls;
        vod_mode local;
        vod_secret_key "0123456789abcdef0123456789abcdef";
        vod_hls_encryption_method aes-128;
        
        # CORS headers
        add_header Access-Control-Allow-Headers '*' always;
        add_header Access-Control-Expose-Headers 'Server,range,Content-Length,Content-Range' always;
        add_header Access-Control-Allow-Methods 'GET, HEAD, OPTIONS' always;
        add_header Access-Control-Allow-Origin '*' always;
        
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant