[vlc-devel] Encrypting x264 data...

Rémi Denis-Courmont remi at remlab.net
Tue Aug 23 10:00:40 CEST 2011


On Mon, 22 Aug 2011 13:11:00 -0700 (PDT), Peter Tap <ptrtap at yahoo.com>
wrote:
> Thank you very much for your help.
> 
> Along with encryption, I also have two more objectives:
> 1. The encrypted file should run only on the machine it was encrypted
for.
> As part of the encryption process, the client supplies some unique
> information about the device (mac address, etc.) that is used to build
the
> key.
> 2. At the beginning of decryption, the decryption module connects to a
> back-end server and verifies some other information before letting the
user
> play the video.
> 
> Will I be able to achieve these two objectives, if I go DVB-CSA/TS way?

That's orthogonal. DVB-CSA is an encryption scheme to whom you need to
provide the encryption keys. It is not a DRM scheme from whom you get said
keys.

> Remi. You mentioned something about implementing a stream filter. Will
it
> work for my needs? Where can I find more information on how to implement
a
> stream filter?

I don't know. A stream filter is just a type of plug-in that converts a
byte stream into another byte stream. It has already been used for
on-the-fly decompression. You can also put decryption in a access plug-in
or a demuxer plug-in respectively, but then you will need to provide your
own input protocol or file format respectively.

-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list