ffmpeg - Is there a MS-DRM client library for linux? -
i have used libraries (libavformat , libavcodec) decode mms streaming urls. of them protected drm. when try decode them, library warn
in libavformat/asfdec.c:
if (!s->keylen) { if (!guidcmp(&g, &ff_asf_content_encryption)) { av_log(s, av_log_warning, "drm protected stream detected, decoding fail!\n"); } else if (!guidcmp(&g, &ff_asf_ext_content_encryption)) { av_log(s, av_log_warning, "ext drm protected stream detected, decoding fail!\n"); } else if (!guidcmp(&g, &ff_asf_digital_signature)) { av_log(s, av_log_warning, "digital signature detected, decoding fail!\n"); } }
the variable s struct avformatcontext. question key? seems decode drm key.
i asf spec, , try patch asfdec.c. now, have acquiring license url , key id. problem can rewrite 'is there ms-drm client library linux?' (old: how decode mms streaming url drm ffmpeg?)
is possible use license url , key id content key ?
in principle can license playready device porting kit microsoft, it's gonna set $50,000. standard ansi c, compile linux, , can decrypt both windows media drm , playready asf streams. believe there no other ways on linux.
Comments
Post a Comment