[vlc-devel] Encrypting x264 data...

Peter Tap ptrtap at yahoo.com
Tue Aug 23 18:28:48 CEST 2011


Remi,

Thank you once again for the reply. My thought was as long as I can hook some code in the vlc pipeline, I have programming control over what I wish to do. I was imagining my code will be called during the decryption process.


A stream filter may do the trick. I am really converting one byte stream into another byte stream. Where is the module that provides on-the-fly decompression? Perhaps I could use it as my base.

As you suggested, if nothing else works, I will go with writing a custom demuxer specifically for our needs.

Regards,
Peter



________________________________
From: Rémi Denis-Courmont <remi at remlab.net>
To: Mailing list for VLC media player developers <vlc-devel at videolan.org>
Sent: Tuesday, August 23, 2011 1:00 AM
Subject: Re: [vlc-devel] Encrypting x264 data...

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/
_______________________________________________
vlc-devel mailing list
To unsubscribe or modify your subscription options:
http://mailman.videolan.org/listinfo/vlc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20110823/a49dedff/attachment.html>


More information about the vlc-devel mailing list