LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 08-25-2021, 01:00 PM   #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
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?
 
Old 08-25-2021, 01:35 PM   #2
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
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.
 
Old 08-25-2021, 02:12 PM   #3
lvm_
Member
 
Registered: Jul 2020
Posts: 925

Rep: Reputation: 337Reputation: 337Reputation: 337Reputation: 337
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.
 
1 members found this post helpful.
Old 08-25-2021, 03:38 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
I've had to open the dvd in VLC and then I could copy it handbrake.
 
1 members found this post helpful.
Old 08-25-2021, 05:19 PM   #5
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
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.
 
Old 08-25-2021, 05:50 PM   #6
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
I get the feeling I kept vlc open most times only because I was in a hurry.
 
Old 08-26-2021, 12:16 AM   #7
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
Quote:
Originally Posted by GPGAgent View Post
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.
 
Old 08-29-2021, 01:01 PM   #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
Talking

Quote:
Originally Posted by ondoho View Post
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.
 
Old 08-30-2021, 12:49 PM   #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
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.
Attached Thumbnails
Click image for larger version

Name:	MakeMKV.png
Views:	8
Size:	124.8 KB
ID:	37084   Click image for larger version

Name:	IMG_4984.jpg
Views:	9
Size:	265.3 KB
ID:	37085  

Last edited by GPGAgent; 09-02-2021 at 12:15 PM.
 
Old 08-30-2021, 02:41 PM   #10
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Not all computer disc drives do well with dvd's. The standalone dvd players are made to accept the security issues.
 
1 members found this post helpful.
Old 08-30-2021, 03:01 PM   #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 jefro View Post
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!
 
Old 08-30-2021, 03:09 PM   #12
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
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.
 
2 members found this post helpful.
Old 08-31-2021, 11:04 AM   #13
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
Quote:
Originally Posted by GPGAgent View Post
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.
 
Old 08-31-2021, 11:18 AM   #14
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by GPGAgent View Post
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.
 
Old 08-31-2021, 02:33 PM   #15
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
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.
 
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
DVD ripping in linux? Kage Linux - Newbie 7 02-01-2004 10:24 PM
DVD-R, DVD+RW, DVD-RW and DVD+R zetsui Linux - Hardware 5 09-12-2003 06:15 PM
DVD Player, and DVD/MP3 ripping Roy-Svork Linux - Software 8 05-28-2003 09:32 AM
DVD-ripping question gwroy20 Linux - Software 12 05-16-2003 03:52 AM
automatic DVD ripping script.... Try it! acid_kewpie Linux - Software 20 10-04-2002 05:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:28 AM.

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