[FFmpeg-devel] Detecting encrypted DVDs
Sat Jan 10 14:26:03 CET 2009
Andres Mejia <mcitadel at gmail.com> writes:
> Is there some way that ffmpeg gives a notice that it's trying to read an
> encrypted DVD. I saw that ffmpeg handled encrypted streams differently until
> this commit was made.
> And here's the reason.
> For comparison, xine uses the PES scrambling control field to detect an
> encrypted stream.
Encrypted DVDs give low-level read errors unless the drive has been
properly set up, e.g. by libdvdcss. I don't know of anything unlocks
the drive without also decrypting the stream.
There are of course other sources of encrypted MPEG streams than DVDs.
The ISO spec does not assign any meaning to the scrambling control
field, and we've seen files that set it to a non-zero value even
though there is no encryption, so acting on this field is not
mans at mansr.com
More information about the ffmpeg-devel