LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-14-2021, 09:21 AM   #1
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,026
Blog Entries: 3

Rep: Reputation: 133Reputation: 133
Are DVD's more encrypted now?


I'm trying to backup a DVD, my normal process is to dd the disk to an iso file but this fails.


I then tried dvdbackup and this does work but fails on the very last vob file, but it's good enough to use ffmpeg to join the vob viles and then ffmpeg again to re-encode to mp4.


The vob files all play just fine, except for this very last one which pixelates just near the end.



So I tried md5sum on the dvd and this fails like this:
Code:
DVDs/RITA$ md5sum /dev/sr0
md5sum: /dev/sr0: Input/output error
DVDs/RITA$
The dvd plays fine with vlc
I'm thinking there is an encryption here that libdvdcss isn't able to handle. Am I right and how can I update it?
 
Old 02-14-2021, 09:48 AM   #2
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,665

Rep: Reputation: Disabled
If it plays fine with VLC than use it to rip, VLC can do it.

Edit: Probably there is some damage to this DVD?
 
Old 02-14-2021, 09:52 AM   #3
lvm_
Member
 
Registered: Jul 2020
Posts: 984

Rep: Reputation: 348Reputation: 348Reputation: 348Reputation: 348
Open DVD with vlc, then rip it. Many DVD drives won't let you read the data until you present valid keys. vlc does it (using libdvdcss), dd obviously knows nothing about it.

Last edited by lvm_; 02-14-2021 at 09:54 AM.
 
1 members found this post helpful.
Old 02-14-2021, 10:30 AM   #4
jmgibson1981
Senior Member
 
Registered: Jun 2015
Location: Tucson, AZ USA
Distribution: Debian
Posts: 1,151

Rep: Reputation: 393Reputation: 393Reputation: 393Reputation: 393
I've built up a physical collection of 1500+ discs (it's alot to me). I've seen all kinds of encryption. Some can be done with DD, some not. I've heard of some ideas about opening the disk with libdvdcss using vlc. It being open eliminates the protection or something. I never did get that to work consistently2. My go to combination is rip with MakeMKV, then compress via Handbrake. Out of my discs I've only had 2 where that failed. One was a disc that they write on demand due to lack of people buying them regularly, the other was the original lion king. In the case of The WOD disc I used dd then ran makemkv on the iso created on the disc opened with VLC (one of the few times I got that to work). Lion King I hit with straight Handbrake and it worked.
 
Old 02-14-2021, 10:37 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
I don't think you can access a DRM protected DVD with standard Linux utilities; if VLC can read it, it should be possible to rip it - either with VLC or with other dedicated software like e.g. dvdbackup.
 
Old 02-14-2021, 10:43 AM   #6
Emerson
LQ Sage
 
Registered: Nov 2004
Location: Saint Amant, Acadiana
Distribution: Gentoo ~amd64
Posts: 7,665

Rep: Reputation: Disabled
This DVD mentioned plays, but fails at very end. For me it hints there is some scratch or dirt, polishing the DVD surface a little may help. Remember, DVD's unlike analog records start from center, so your read error is near to edge.
 
Old 02-14-2021, 11:55 AM   #7
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,152
Blog Entries: 6

Rep: Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835
DVD's go bad. The metal foil layer in the middle separates a little sometimes. When that happens they are shot. If there is a nick or scratch on the surface, try to buff it out with a damp cloth and toothpaste. Wash it off with water, dry all the way before you stick it into the drive.

If you made an iso already, and the iso has damaged bits, you can't fix that.

ddrescue works as good as anything trying to get stubborn bits off of a flaky DVD. If you can get all but 20-30kb, then the video will probably dump fine off of the DVD. You may get a few pixelated seconds.

lsdvd is a good tool to have for DVD's
Once you know what chapters you want.
Code:
mplayer dvd://2 -dumpstream -dumpfile out.vob
 
Old 02-15-2021, 05:49 AM   #8
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,026

Original Poster
Blog Entries: 3

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by Emerson View Post
If it plays fine with VLC than use it to rip, VLC can do it.

Edit: Probably there is some damage to this DVD?
Nope no damage to the DVD - it was bought new and sealed.


I always forget about using VLC - I'll give it a go.


Cheers
 
Old 02-15-2021, 07:21 AM   #9
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,026

Original Poster
Blog Entries: 3

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by ondoho View Post
I don't think you can access a DRM protected DVD with standard Linux utilities; if VLC can read it, it should be possible to rip it - either with VLC or with other dedicated software like e.g. dvdbackup.
dvdbakup did read it but the very last vob file of the title is corrupted at the very end, luckily after the end of the film, so it doesn't matter.
 
Old 02-15-2021, 07:23 AM   #10
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,026

Original Poster
Blog Entries: 3

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by Emerson View Post
This DVD mentioned plays, but fails at very end. For me it hints there is some scratch or dirt, polishing the DVD surface a little may help. Remember, DVD's unlike analog records start from center, so your read error is near to edge.
Nope no damage, it's a brand new disk, I know that doesn't mean there can't be any damage but Ive checked and there isn't, well not as far as I can see
 
Old 02-15-2021, 07:34 AM   #11
GPGAgent
Senior Member
 
Registered: Oct 2018
Location: Surrey UK
Distribution: Mint 20 xfce 64bit
Posts: 1,026

Original Poster
Blog Entries: 3

Rep: Reputation: 133Reputation: 133
Quote:
Originally Posted by teckk View Post
DVD's go bad. The metal foil layer in the middle separates a little sometimes. When that happens they are shot. If there is a nick or scratch on the surface, try to buff it out with a damp cloth and toothpaste. Wash it off with water, dry all the way before you stick it into the drive.

If you made an iso already, and the iso has damaged bits, you can't fix that.

ddrescue works as good as anything trying to get stubborn bits off of a flaky DVD. If you can get all but 20-30kb, then the video will probably dump fine off of the DVD. You may get a few pixelated seconds.

lsdvd is a good tool to have for DVD's
Once you know what chapters you want.
Code:
mplayer dvd://2 -dumpstream -dumpfile out.vob
This is lsdvd, you can see the rather strange structure of this dvd
Code:
jonke@charlie:/media/home/jonk/DVDs/RITA$ lsdvd /dev/sr0
*** Zero check failed in src/ifo_read.c:567
    for vmgi_mat->zero_6 = 0x0000001000000000000000000000000000000000000000000000000000000000
Disc Title: RITA_SUE_AND_BOB_TOO
Title: 01, Length: 01:29:26.640 Chapters: 10, Cells: 13, Audio streams: 01, Subpictures: 01
Title: 02, Length: 01:05:32.760 Chapters: 05, Cells: 06, Audio streams: 01, Subpictures: 00
Title: 03, Length: 00:04:00.480 Chapters: 01, Cells: 02, Audio streams: 01, Subpictures: 00
Title: 04, Length: 00:01:33.880 Chapters: 01, Cells: 02, Audio streams: 01, Subpictures: 00
Title: 05, Length: 00:00:51.040 Chapters: 98, Cells: 98, Audio streams: 00, Subpictures: 00
Title: 06, Length: 00:00:04.800 Chapters: 01, Cells: 01, Audio streams: 01, Subpictures: 01
Title: 07, Length: 00:11:26.400 Chapters: 01, Cells: 01, Audio streams: 00, Subpictures: 00
Title: 08, Length: 00:00:04.800 Chapters: 01, Cells: 01, Audio streams: 00, Subpictures: 00
Title: 09, Length: 00:37:36.000 Chapters: 27, Cells: 27, Audio streams: 01, Subpictures: 01
Title: 10, Length: 00:00:00.480 Chapters: 01, Cells: 01, Audio streams: 01, Subpictures: 01
Title: 11, Length: 01:29:26.640 Chapters: 10, Cells: 21, Audio streams: 01, Subpictures: 01
Title: 12, Length: 01:29:26.640 Chapters: 10, Cells: 20, Audio streams: 01, Subpictures: 01
Title: 13, Length: 01:29:26.640 Chapters: 10, Cells: 13, Audio streams: 01, Subpictures: 01
Title: 14, Length: 01:29:26.640 Chapters: 10, Cells: 13, Audio streams: 01, Subpictures: 01
Title: 15, Length: 01:29:26.640 Chapters: 10, Cells: 20, Audio streams: 01, Subpictures: 01
Title: 16, Length: 01:29:26.640 Chapters: 10, Cells: 20, Audio streams: 01, Subpictures: 01
Title: 17, Length: 01:29:26.640 Chapters: 10, Cells: 13, Audio streams: 01, Subpictures: 01
Title: 18, Length: 01:21:14.880 Chapters: 10, Cells: 13, Audio streams: 01, Subpictures: 01
Title: 19, Length: 01:29:26.640 Chapters: 10, Cells: 20, Audio streams: 01, Subpictures: 01
Title: 20, Length: 01:29:26.640 Chapters: 10, Cells: 21, Audio streams: 01, Subpictures: 01
Title: 21, Length: 01:29:26.640 Chapters: 10, Cells: 21, Audio streams: 01, Subpictures: 01
Title: 22, Length: 01:29:26.640 Chapters: 10, Cells: 13, Audio streams: 01, Subpictures: 01
Title: 23, Length: 01:29:26.640 Chapters: 10, Cells: 13, Audio streams: 01, Subpictures: 01
Title: 24, Length: 01:29:26.640 Chapters: 10, Cells: 21, Audio streams: 01, Subpictures: 01
Title: 25, Length: 01:31:57.080 Chapters: 10, Cells: 21, Audio streams: 01, Subpictures: 01
Longest track: 25
jonke@charlie:/media/jonk/DVDs/RITA$


When you play this with vlc and select play movie from the dvd menu it plays title 23, why are there so many identical titles? Different languages?



I think that some dvd's jumble up the order of titles they play and this seems to be doing exactly that.


Anyway I've ripped it - just curious on its structure.
 
Old 02-15-2021, 04:53 PM   #12
obobskivich
Member
 
Registered: Jun 2020
Posts: 596

Rep: Reputation: Disabled
With a 'brand new' disc you may need to actually clean/wash the disc (water + small amount of dissolved dish soap and rinse/dry completely) - it's not unheard of for them to retain some oil/solvent (or ??? it is) from the manufacturing process that interrupts reading. It's also possible for it to be defective from the factory.
 
1 members found this post helpful.
Old 02-15-2021, 05:15 PM   #13
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,152
Blog Entries: 6

Rep: Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835Reputation: 1835
Quote:
why are there so many identical titles?
Part of the copy protection I think. I've had them. If you don't select the correct title then the chapters will be out of order. And I mean in the .vob that you dumped from it.

The longest title isn't necessarily the correct one.

On those I sometimes do
Code:
mplayer dvdnav://
And see what order the chapters are suppose to be in. Look and see at what time a chapter starts, and what the video is at that spot. Then I find the correct title number by looking at all of the titles briefly.

I pick 3 or 4 time spots in the video, where the chapters start, and run through the titles, to see which one is in the correct order. I just use the simple tools that I have.

In your case, example:
Code:
t1=00:04:12
t2=00:23:24
t3=00:46:27

for a in {11..25}; do
    for b in t1 t2 t3; do
        mplayer -ss "$b" dvd://"$a"
    done
done
Every time you q on mplayer, it's start the next one.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Two Tips to Keep Your Phone's Encrypted Messages Encrypted LXer Syndicated Linux News 0 05-02-2016 11:21 PM
Shrink partition (LVM encrypted PVs + encrypted LVs) gedaj Linux - Newbie 2 05-22-2013 03:44 AM
Resizable encrypted LVM requiring just one password on boot (encrypted volume group)? Nyyr Linux - Software 9 01-24-2013 05:52 AM
read encrypted dvd - usb dvd drive wastingtime Linux - Hardware 8 12-26-2004 01:28 PM
DVD-R, DVD+RW, DVD-RW and DVD+R zetsui Linux - Hardware 5 09-12-2003 06:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration