Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Note that my computer has a bluray RW drive (LG) that is about 6 years old (firmware dated 2014), and I am using makeMKV version 1.16.4.
With this combo I have yet to encounter a DVD or BluRay (including the BluRay+) that cannot be ripped to an mkv. If it needs to be further converted to mpg or mp4 then ffmpeg is capable of that. When I was using makeMKV with my DVD RW drive it did the same but I upgraded to be able to handle the BluRay disks.
I realize that makeMKV is not open source, but it can be used for free. Registration with a lifetime license is only $25 so I have registered my copy. Free updates for lifetime as well with either the free or registered copy. The free version bugs you when there is an update but otherwise is fully featured.
Based on your post I bought a BluRay drive, admitidly not 6-7 yrs old, and I installed makeMKV - it works, but still misses the odd title, when I use dvdbackup on the missing title, or HandBrakeCLI it fails on that title as well.
So it's still a bit hit and miss - new drive and new dvd still fails.
I then tried the disk on my dvd player - it plays just fine. So how does my dvd player - not connected to the internet - cope with the most up to date encryped commercial dvds?
DVDs are AFAIK all one encryption and use libdvdcss to unlock them on linux
The player has software designed for all the different encryption methods of DVDs (I think only the one) and is also designed to read again & again & again until it succeeds.
BluRay disks, OTOH started with a different encryption method and after some time they changed it yet again to make BluRay+ disks, especially (I think) all the HD BluRay disks are BluRay+
I cannot answer why the computer with makeMKV is unable to handle some of the DVDs while the player succeeds, but it likely lies in the software in the player that is designed to read repeatedly in different ways until it gets the data from the disk combined with the condition of the DVD itself.
Please look at the disks that will not read on the PC and make 100% certain they are completely clean, unscratched, clear (not milky surface), with no fingerprints or other marks that can prevent reading. With your new equipment the most obvious cause of failure is dirt, scratches, etc on the disk.
In times past tools were available to clean and polish CDs & DVDs, but I have not seen them recently.
DVD player engineers must have been really clever to cater for encryption methods not even developed some 20 years on from their original design - and if they try brute force methods it's really quick because any dvd I throw at my dedicated dvd player runs instantly.
This leads me to think they ignore all encryption somehow - if only we could develop a method to do that with linux.
Thanks folks for all your tips, seems I should clean my disks carefully with a micro fibre cloth, and I believe you should wipe outwards from the centre, don't rotate the disk while holding a cloth on it. Check there is no foreign matter of fingerprints on the disk.
I'll close this thread in a few days so anyone can comment till then.
It isn't the encryption that is the problem since DVDs all use the same encryption method. If you can read & play one DVD then you can read & play all that are in good condition.
DVD players have a robust reading method and fault tolerance that is able to, with repeated reads, piece together the video, and possibly even skip a tiny amount of the data, for those disks that are damaged. Your PC, OTOH, does not have the same read resiliency that handles damaged disks so it can fail where the player continues to play the video.
I don't think your problem is encryption nor drive condition, I think it is disk condition instead and the software is not nearly as fault tolerant as what is used in a player.
Last edited by computersavvy; 09-04-2021 at 09:41 AM.
It isn't the encryption that is the problem since DVDs all use the same encryption method. If you can read & play one DVD then you can read & play all that are in good condition.
DVD players have a robust reading method and fault tolerance that is able to, with repeated reads, piece together the video, and possibly even skip a tiny amount of the data, for those disks that are damaged. Your PC, OTOH, does not have the same read resiliency that handles damaged disks so it can fail where the player continues to play the video.
I don't think your problem is encryption nor drive condition, I think it is disk condition instead and the software is not nearly as fault tolerant as what is used in a player.
I agree with everything you say, but would point out this:
1 New disks, never played, totally free from dust, fingerprints etc, still fail.
2 DVD players have a robust reading method - why can't drives on PC's have the same, some dvd/bluray players are dirt cheap and still play just fine.
3 Software not fault tolerant, surely we can write fault tolerant software.
Conclusion - it's not the cost of the drive, it's not the quality of the disk, so it can only be the software. We need to develop a better ripper/player for pc's - preferably linux
I have never (yet) encountered a DVD that can't be ripped using makeMKV. Although it is quite possible that they have recently changed the encryption on them I don't know of it and if your player is several years old and can still play the newer ones then that seems unlikely. I know that encryption changed between BluRay and BluRay+ and I had to update the firmware on my player in order to play BluRay+ disks but it does not seem likely they did the same with DVDs.
The quality of optical drives has continuously improved over time, since DVDs have tighter tolerances than CDs, and BluRay has tighter tolerances than DVD.
Maybe you can contact the maintainers of some of the disk ripping software such as handbrake and suggest a more robust error recovery mechanism.
The problem is not cracking encryption. The disc can have a few construction features that attempt to defeat what you are trying to do. I can't find a good web page on it but keep searching. Some place tells all the sneaky tricks they toss in.
I found this on wikipedia about HD DVD encryption and that may be what the OP is encountering. He has not said what the DVDs with problems are so this is possible. He did say that at least one of the disks he cannot rip is brand new and unused.
I found this on wikipedia about HD DVD encryption and that may be what the OP is encountering. He has not said what the DVDs with problems are so this is possible. He did say that at least one of the disks he cannot rip is brand new and unused.
Post #8 I said it was a Sony Production disk, specifically Bewitched boxset - I've read on this forum they do use AACS encryption.
I'm getting better results now, almost trouble free ripping using makeMKV - the only difference is that I've stopped doing anything else on the machine while it's ripping, I was browsing and using youtube-dl to download videos at the same tome. I think that wasn't helping.
But it is a twin xeon machine, umptenn processors with 12Gb ram - plenty of grunt as it were.
Also I'm using an external Bluray drive instead of the internal cheap DVD drive on my machine.
The occasional title fails to be written, but I just retry writing that particaular title with a few different output options and that works.
makeMKV allows you to select what you write to disk for each title, so I only pick English audio and deselct everything else, i.e. foreign languages and subtitles.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.