[x264-devel] Adding encryption to x264...
Peter Tap
ptrtap at yahoo.com
Tue Aug 23 00:26:39 CEST 2011
Thank you for your help.
My mistake. I meant to say decrypt before decoding not after.
After reading your message as well as other messages, it appears it is easier to decrypt at the whole file level. I guess I need to implement a "muxer" similar to mkv and mp4. However, the documentation is not clear on what methods need to be implemented for the muxer. Can you please point me in the right direction?
Appreciate your help.
Regards,
Peter
________________________________
From: Loren Merritt <lorenm at u.washington.edu>
To: Mailing list for x264 developers <x264-devel at videolan.org>
Sent: Monday, August 22, 2011 2:37 PM
Subject: Re: [x264-devel] Adding encryption to x264...
On Sun, 21 Aug 2011, Peter Tap wrote:
> For the project that I am working on, I need to add encryption to x264 data in mp4 file. When the file is opened in vlc, I need to decrypt the data. I am trying to understand what is the best way to accomplish on-the-fly decryption.
>
> 1. Write a new decoder module that internally uses x264 decoder.
> 2. Somehow hook into x264's decoder to provider decryption at the end of the decoding.
(2) is impossible. You can't compress encrypted data.
Why do you want to hook into a video codec specifically, as opposed to
applying a general purpose encryption method to the whole file? MP4Box
claims to already support that.
--Loren Merritt
_______________________________________________
x264-devel mailing list
x264-devel at videolan.org
http://mailman.videolan.org/listinfo/x264-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20110822/5fc9d189/attachment.html>
More information about the x264-devel
mailing list