Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Comments on how to determine from the command line whether a DVD is encrypted

Post

how to determine from the command line whether a DVD is encrypted

+3
−0

I am currently ripping a bunch of DVDs. Some are encrypted, and some are not. My method for ripping a DVD depends on whether or not it is encrypted, so I am looking for a command-line method to determine if a DVD is encrypted or not.

My current way to detect whether a DVD is encrypted or not is that if it is encrypted, then running dd if=/dev/sr0 of=file.iso results in "Input/output error". I'm looking for a better way.

*Note: I know that DVDs are often encrypted with the Content Scramble System (CSS), and that you need to install a package such as libdvdcss to read encrypted DVDs.

History
Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

2 comment threads

In what way "a better way"? (1 comment)
I'm not sure what you mean by "digitizing", since DVDs are already digital. Are you trying to transco... (2 comments)
I'm not sure what you mean by "digitizing", since DVDs are already digital. Are you trying to transco...
deleted user wrote about 2 years ago

I'm not sure what you mean by "digitizing", since DVDs are already digital. Are you trying to transcode the DVD video to a different format (e.g. MP4, MOV etc), or copy the DVD data verbatim to a hard drive without changing the format? What software are you using for this process?

Trevor‭ wrote almost 2 years ago · edited almost 2 years ago

Sorry for the late reply. Good point, I guess maybe I should have said "ripping" instead of "digitizing". I'm saving the whole DVD as an ISO file. Usually I use the command dd if=/dev/sr0 of=file.iso. This command will result in an "Input/output error" if the DVD is encrypted. So if I see that error, then I know the DVD is probably encrypted. However, using this command and checking for that error would be a sloppy, indirect method to determine if the DVD is encrypted, so I'm looking for a better way.