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.
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.
Pity this van't be emulated on computer drives. Maybe extraction one from a cheap dvd player and using it on a computer may work :-) Who's going to try?
Glad you are able to make it work. Yes, there is a difference in the encryption used for DVD (css) and for HD DVD (AACS). That explains why handbrake choked on it since the AACS library is not readily available to us as was libdvdcss for the standard DVDs.
I apologize for not noting you mentioned that set of DVDs, but you have been saying DVDs as in-general. I must stress that you have been saying you were unable to rip DVDs and not once have you mentioned HD DVDs were the ones with the issue. I only found that link by happenstance in searching about DVD encryption changes (which I did just to verify my memory about DVD encryption was not faulty.) I posted it as a "perhaps?"
Last edited by computersavvy; 09-05-2021 at 07:15 PM.
It saddens me that people prefer to use closed-source software for something that is so well covered by some of our best FOSS projects (graphical or not).
Probably because it's "easier to use".
It's almost like some people care about Linux only because it's "free as in beer".
PS: and don't bother explaining to me how MakeMKV is great and reliable software.
It saddens me that people prefer to use closed-source software for something that is so well covered by some of our best FOSS projects (graphical or not).
Probably because it's "easier to use".
It's almost like some people care about Linux only because it's "free as in beer".
PS: and don't bother explaining to me how MakeMKV is great and reliable software.
I agree, makeMKV isn't great - it works sort of. I would rather use aCLi approach, but sofar no luck, any CLI you could suggest would be great.
I've tried, HandBrakeCLI, ,dvdbackup, vobcopy so far. Any other suggestions would be good.
Update, I've got HandBrakeCLI to work on the Bewitched dvd boxset - how I hear you ask. Well, all you good people who joined in this thread made me aware of AACS encryption and after a bit of digging around I found that you could install libaacs
Code:
sudo apt-get install libaacs
or install libaacs0 with the Synaptic Package Manager, free-and-libre implementation of AACS
Then you can use lsdvd to find the titles to rip, and you could use vobcopy to extract the vob's, or as I di this script to use handBrakeCLI
which works just fine and produced this - before using VLC to open the dvd
Code:
$ DVDdd.sh Bewitched-S7D1
5464 (process ID) old priority 0, new priority 19
Blocks in Bewitched-S7D1.iso: 3815616 Total Size is: 7814381568
7814381568
dd: error reading '/dev/sr0': Input/output error
550+0 records in
550+0 records out
1126400 bytes (1.1 MB, 1.1 MiB) copied, 1.0547 s, 1.1 MB/s
“14:14:56 - Generating the Bewitched-S7D1.txt report”
libdvdread: Invalid IFO for title 2 (VTS_02_0.BUP).
libdvdread: Invalid IFO for title 3 (VTS_03_0.BUP).
libdvdread: Invalid IFO for title 22 (VTS_22_0.BUP).
libdvdread: Invalid IFO for title 23 (VTS_23_0.BUP).
libdvdread: Invalid IFO for title 24 (VTS_24_0.BUP).
“14:14:57 - Completed Bewitched-S7D1 report - see Bewitched-S7D1.txt”
$
It fails
Open dvd with vlc
Code:
$ DVDdd.sh Bewitched-S7D1
5609 (process ID) old priority 0, new priority 19
Blocks in Bewitched-S7D1.iso: 3815616 Total Size is: 7814381568
7814381568
7812147200 bytes (7.8 GB, 7.3 GiB) copied, 783 s, 10.0 MB/s
3815616+0 records in
3815616+0 records out
7814381568 bytes (7.8 GB, 7.3 GiB) copied, 783.313 s, 10.0 MB/s
“14:29:24 - Generating the Bewitched-S7D1.txt report”
“14:29:35 - Completed Bewitched-S7D1 report - see Bewitched-S7D1.txt”
$
success!
And the report it generates is this
Code:
Generating the Bewitched-S7D1.txt report
HandBrakeCLI -i Bewitched-S7D1.iso -t 0 2>&1 | grep -E "title.+ chapter"
[14:29:25] scan: title 1 has 6 chapters
[14:29:25] scan: title 2 has 6 chapters
[14:29:25] scan: title 3 has 6 chapters
[14:29:25] scan: title 4 has 6 chapters
[14:29:25] scan: title 5 has 6 chapters
[14:29:25] scan: title 6 has 6 chapters
[14:29:25] scan: title 7 has 6 chapters
[14:29:25] scan: title 8 has 2 chapters
[14:29:25] scan: title 9 has 1 chapters
[14:29:25] scan: title 10 has 1 chapters
[14:29:25] scan: title 11 has 1 chapters
[14:29:25] scan: title 12 has 1 chapters
[14:29:25] scan: title 13 has 1 chapters
[14:29:25] scan: title 14 has 1 chapters
[14:29:25] scan: title 15 has 1 chapters
[14:29:25] scan: title 16 has 2 chapters
[14:29:25] scan: title 17 has 1 chapters
========== alternate =========================
[14:29:33] scan: DVD has 24 title(s)
[14:29:33] scan: title 1 has 6 chapters
[14:29:33] scan: title 2 has 6 chapters
[14:29:33] scan: title 3 has 6 chapters
[14:29:33] scan: title 4 has 6 chapters
[14:29:33] scan: title 5 has 6 chapters
[14:29:33] scan: title 6 has 6 chapters
[14:29:33] scan: title 7 has 6 chapters
[14:29:33] scan: title 8 has 2 chapters
[14:29:33] scan: title 9 has 1 chapters
[14:29:33] scan: title 10 has 1 chapters
[14:29:33] scan: title 11 has 1 chapters
[14:29:33] scan: title 12 has 1 chapters
[14:29:33] scan: title 13 has 1 chapters
[14:29:33] scan: title 14 has 1 chapters
[14:29:33] scan: title 15 has 1 chapters
[14:29:33] scan: title 16 has 2 chapters
[14:29:33] scan: title 17 has 1 chapters
[14:29:33] scan: ignoring title (too short)
[14:29:33] scan: ignoring title (too short)
[14:29:33] scan: ignoring title (too short)
[14:29:33] scan: ignoring title (too short)
[14:29:33] scan: ignoring title (too short)
[14:29:33] scan: ignoring title (too short)
[14:29:33] scan: ignoring title (too short)
[14:29:35] libhb: scan thread found 17 valid title(s)
========== alternate =========================
Disc Title: BEWITCHED_SEASON_7_DISC_1
Title: 01, Length: 00:24:24.600
Title: 02, Length: 00:24:23.400
Title: 03, Length: 00:24:25.680
Title: 04, Length: 00:24:25.400
Title: 05, Length: 00:24:24.200
Title: 06, Length: 00:24:27.600
Title: 07, Length: 00:24:26.680
Title: 08, Length: 00:00:14.360
Title: 09, Length: 00:00:10.400
Title: 10, Length: 00:00:10.400
Title: 11, Length: 00:00:19.000
Title: 12, Length: 00:00:40.320
Title: 13, Length: 00:00:10.400
Title: 14, Length: 00:00:12.400
Title: 15, Length: 00:00:10.000
Title: 16, Length: 00:00:45.000
Title: 17, Length: 00:00:11.800
Title: 18, Length: 00:00:07.400
Title: 19, Length: 00:00:07.400
Title: 20, Length: 00:00:07.400
Title: 21, Length: 00:00:07.400
Title: 22, Length: 00:00:07.400
Title: 23, Length: 00:00:07.400
Title: 24, Length: 00:00:06.920
Longest track: 06
========== finished ==========================
cool isn't it!
Now I can use the .iso file to extract and re-encode any title I like, like this
When I used Windows, I used a program by Slysoft called AnyDVD that always worked flawlessly when ripping DVDs. AnyDVD was dead simple to use as well. Slysoft went away, but some of the developers continued the work under another company name called RedFox. There's chatter of a possible Linux version at some point in the future, but no ETA. I'd buy AnyDVD in a heartbeat if it became available for Linux.
Update - I've added a vlc command line to my DVDdd.sh script
Code:
.....
..
.......
if [[ $# -eq 0 ]]; then
echo "==========================================================="
echo "Please enter the iso filename to output to, ABC for example"
echo "==========================================================="
exit 1
fi
#
qvlc dvd:// # added this to open the dvd - when it's got to the menu screen close it to start the dd process
#
VS=$(isoinfo -d -i /dev/sr0|grep 'Volume size is:'|awk '{print $4}')
echo "Blocks in $1.iso: $VS Total Size is: $(( $VS * 2048 ))" # 2048
echo "$(( $VS * 2048 ))" # 2048
dd if=/dev/sr0 of="$1.iso" bs=2048 count=$VS status=progress #8192
eject /dev/sr0
titles_report $1
.....
..
.....
This opens the dvd with vlc, you let it do it's decrypting, once the dvd menu displays just close the vlc screen and the script begins the dd process, sweet!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.