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

Baptiste Coudurier baptiste.coudurier
Sun Oct 11 22:48:53 CEST 2009


On 10/11/09 3:23 AM, Daniel G. Taylor wrote:
> On Fri, 2009-10-09 at 12:51 -0700, Baptiste Coudurier wrote:
>> Hi,
>>
>> No objection, though it's weird that the decoder spits errors, codec_id
>> should not be set in this case, is it ?
>
> Everything is set as normal and then the decoder of course fails. I
> believe it's still useful to know type of data is encrypted, so I'm not
> sure the best approach to take. Obviously it would be better if it
> failed without so many strange errors or refused to decode an encrypted
> stream without -cryptkey passed (though I don't think FFmpeg decrypts
> FairPlay).

I'm wondering why the decoder is set, since codec_id should not be set.
How does this happen ?

-- 
Baptiste COUDURIER
Key fingerprint                 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA
FFmpeg maintainer                                  http://www.ffmpeg.org



More information about the ffmpeg-devel mailing list