[MPlayer-dev-eng] open_stream for DRM question

Rick Vestal rvestal at austin.rr.com
Wed Jan 19 17:20:26 CET 2005


D Richard Felker III wrote:
> On Wed, Jan 19, 2005 at 07:08:03AM -0600, Rick Vestal wrote:
> 
>>Hello all,
>>
>>I've been looking at the open stream calls to see if there is a way
>>to hook in some sort of a DRM filter.  I suppose I could write a mpst
>>server that does the processing, but I was curious if:
>>
>>1)  There is a way to hook in a DRM filter or
>>2)  Is there interest in having one?
>>
>>I am thinking of taking the approach of writing a new open_stream
>>mechanism that passes the requests to a loaded shared library that can
>>be specified in the command line or maybe the URL.  This library would
>>support the required functions (open,fillbuffer, etc).
>>
>>Thoughts?
> 
> 
> why an external library? are you trying to hack existing drm
> binaryware (windows dlls??) to decrypt drm content for you? if so this
> may be ok. if you mean that you're trying to add your own drm to
> mplayer and get around gpl by making it a dynamic-loaded thing, you're
> badly mistaken, as this is a flagrant and classic gpl violation.
> 
> if you're planning to write your own reverse-engineered drm-decrypting
> code for mplayer, under gpl or another free and compatible license,
> just include it directly in mplayer. no need for dynamic loading.
> 
> rich

It is a custom DRM...just stripping some bytes off the front of a file. 
  I'm just thinking that if I have to write something to do this in
mplayer, I could do something more useful.

-- Rick




More information about the MPlayer-dev-eng mailing list