LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   DVD Ripping (https://www.linuxquestions.org/questions/linux-software-2/dvd-ripping-4175699690/)

GPGAgent 08-25-2021 01:00 PM

DVD Ripping
 
I'm having trouble ripping a DVD, using HandBrakeCLI, dvdbackup and vobcopy, they can rip some titles but fail on the same one with the dvd drive working overtime trying to decode it.


libdvdcss2 is up to date.


However vlc can play these titles without a problem, so I'm using the record feature.


Without posting the reams of error from the cli methods, anyone got an explanation please?

computersavvy 08-25-2021 01:35 PM

Not sure what you are trying to achieve. i.e. are you wanting to simply rip to video, copy the DVD, or what.

If ripping to video I have not used handbrake, but instead use makeMKV and it works flawlessly to rip DVDs and BluRays to an mkv. The most recent release is even able to rip videos from the latest BluRay+ disks.

I then use plexmediaserver to watch the videos on my TVs or other devices.

lvm_ 08-25-2021 02:12 PM

Most DVD drives implement hardware copy protection: you can read encrypted data only after you supplied the correct key. vlc can do it, other tools can't. However once the correct key is supplied the drive cannot tell which program is reading the disk, so if you play the disk with vlc and then rip it with dd or whatever, it should work.

jefro 08-25-2021 03:38 PM

I've had to open the dvd in VLC and then I could copy it handbrake.

GPGAgent 08-25-2021 05:19 PM

Cheers folks, the practice of opening a dvd with vlc, then using HandBrakeCLI or some other ripper has been mentioned before, I'll try it again.

Do I need to keep vlc open? Or can I just open the dvd with vlc and then close it?

I'll try both.

jefro 08-25-2021 05:50 PM

I get the feeling I kept vlc open most times only because I was in a hurry.

ondoho 08-26-2021 12:16 AM

Quote:

Originally Posted by GPGAgent (Post 6278585)
I'm having trouble ripping a DVD, using HandBrakeCLI, dvdbackup and vobcopy, they can rip some titles but fail on the same one with the dvd drive working overtime trying to decode it.


libdvdcss2 is up to date.


However vlc can play these titles without a problem, so I'm using the record feature.


Without posting the reams of error from the cli methods, anyone got an explanation please?

Haven't you been asking this type of question before?
Plenty of DVD ripping related threads, many of them specifically reference encryption:
https://www.linuxquestions.org/quest...vd-4175696715/
https://www.linuxquestions.org/quest...or-4175695836/
https://www.linuxquestions.org/quest...ow-4175690503/
At the very least you could have revisited your past threads to check if you hadn't already solved this, and, if not, compiled some initial troubleshooting data.

GPGAgent 08-29-2021 01:01 PM

Quote:

Originally Posted by ondoho (Post 6278694)
Haven't you been asking this type of question before?
Plenty of DVD ripping related threads, many of them specifically reference encryption:
https://www.linuxquestions.org/quest...vd-4175696715/
https://www.linuxquestions.org/quest...or-4175695836/
https://www.linuxquestions.org/quest...ow-4175690503/
At the very least you could have revisited your past threads to check if you hadn't already solved this, and, if not, compiled some initial troubleshooting data.

I have asked before, good spot, I have revisited, I have not found an answer.

So anyway, just a quick update, opening and playing the dvd in question makes no difference. Some titles remain problematic and cannot be ripped by handbrake, dd, fvfbackup, vobcopy.

libdvdcss2 is up to date.

Only clue is it's a Sony production video, I've seen some threads that this may need a different approach, but it wasn't explained.


Looks like vlc realtime copy is the only way for now.

GPGAgent 08-30-2021 12:49 PM

2 Attachment(s)
Even VLC has trouble playing some dvd's from the same boxset, but this is what I'm doing now.
First try HandBrakeCLI
Code:

echo "progress P.txt" > P.txt; T=19;for tt in {01..09}; do echo "Progress Title: $tt - $T" >> P.txt; HandBrakeCLI -i /dev/sr0 -t $tt -r 25 -e x264 --encoder-preset veryfast  -5 -q 24 -2 -o Season-02-Title-$T.mp4;T=$(($T+1)); done; eject
And if this fails I'm using MakeMKV, and then HandBrakeCLI on the mkv files
Code:

echo "progress P.txt" > P.txt; T=28;for tt in {00..08}; do echo "Progress Title: $tt - $T" >> P.txt; HandBrakeCLI -i "title_t$tt.mkv" -r 25 -e x264 --encoder-preset veryfast  -5 -q 24 -2 -o Season-02-Title-$T.mp4;T=$(($T+1)); done; eject
It's still all a bit hit and miss tho'.

Final method will be to use a dvd player, and Video capture device.

One more point, clean the disk with a microfibre cloth - even if it's new.

jefro 08-30-2021 02:41 PM

Not all computer disc drives do well with dvd's. The standalone dvd players are made to accept the security issues.

GPGAgent 08-30-2021 03:01 PM

Quote:

Originally Posted by jefro (Post 6279980)
Not all computer disc drives do well with dvd's. The standalone dvd players are made to accept the security issues.

Sometimes cheap chinese players just ignore all encryption!

computersavvy 08-30-2021 03:09 PM

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.

ondoho 08-31-2021 11:04 AM

Quote:

Originally Posted by GPGAgent (Post 6279982)
Sometimes cheap chinese players just ignore all encryption!

Sorry but a device cannot "ignore all encryption".
Either data is encrypted, or it isn't.
If some player can play it without decrypting it first, then it wasn't encrypted in the first place. Maybe regionallly locked, or mildly obfuscated, but never encrypted.

computersavvy 08-31-2021 11:18 AM

Quote:

Originally Posted by GPGAgent (Post 6279982)
Sometimes cheap chinese players just ignore all encryption!

As ondoho said, the player cannot ignore encryption. We are talking 2 different things in this thread -- drives and players.

A player has software that is designed to decrypt and play the movie on the DVD/BluRay disk. Its sole purpose is to play the content of the optical disk and it is designed to do that one task well.

An optical drive for your computer, however, is only the hardware. It reads exactly what is on the disk, whether encrypted or not. The software on your computer has to be able to handle what is done with the data from the disk. If it is encrypted then it has to decrypt it before it can be displayed on screen. That is the purpose of libdvdcss, to provide the tool to decrypt the dvd so it can be played on the computer.

While it is true there is a difference in quality of devices made by different manufacturers, you cannot ascribe poor quality to every device from one country. Some of the best electronics made come from China. Look at Samsung, LG, and Apple devices among others, many from chinese manufacture.

jefro 08-31-2021 02:33 PM

I was trying to suggest that various flaws in a disc either by design or some mechanical or software issue tend to be ignored in standalone drives for tv. The computer drives seem to be much more strict.


All times are GMT -5. The time now is 11:07 PM.