[FFmpeg-devel] [PATCH] Detect FairPlay DRM protected files and display warning

Daniel G. Taylor dan
Tue Nov 3 10:28:04 CET 2009

On Mon, 2009-11-02 at 11:14 -0800, Baptiste Coudurier wrote:
> On 11/02/2009 03:00 AM, Daniel G. Taylor wrote:
> >> No objection, though it's weird that the decoder spits errors, codec_id
> >> should not be set in this case, is it ?
> >>
> >
> > Ping?
> On 10/11/2009 01:48 PM, Baptiste Coudurier wrote:
>  >
>  > I'm wondering why the decoder is set, since codec_id should not be
>  > set. How does this happen ?
>  >
> Ping ?

Ah, good point. I haven't a clue how it happens. I'm still just
scratching the surface of the FFmpeg codebase. I tried looking around
libavformat/mov.c some more but how it all works in relation to
libavcodec is a little beyond me. I figured replying that I didn't know
wouldn't really help anything and that the patch might be committed
since it at least outputs a warning.

Perhaps someone with more knowledge of the FFmpeg codebase can comment
on how it happens? If you need a sample encrypted file I can supply one
for detection and debugging purposes.

Take care,
Daniel G. Taylor

More information about the ffmpeg-devel mailing list