[FFmpeg-devel] [PATCH] Detect Windows Media DRM protected files and display warning
Fri Oct 9 14:03:17 CEST 2009
Daniel G. Taylor wrote:
> Attached patch detects Windows Media DRM in asf/wma/wmv files and
> displays a warning that the stream decoding will likely fail.
> This patch goes along with the FairPlay DRM detection patch sent earlier
> There are three ASF objects that describe the inclusion of DRM protected
> content, and this patch detects all three and displays a message for
> each one. This could possibly be handled better (e.g. only show one
> message) and could some day be exposed to developers using libav*
> through ASFContext or ASFStream, but for now a simple warning should at
> least help debug issues people may have.
> Take care,
In this case decryption is possible if the key is provided. I think it
would be preferable if this message is only printed it there is no key
More information about the ffmpeg-devel