Article 5KAZV HandBrakeCLI vs dvdbackup when ripping a DVD

HandBrakeCLI vs dvdbackup when ripping a DVD

by
GPGAgent
from LinuxQuestions.org on (#5KAZV)
I use dd to create an iso copy of a dvd, then I use HandBrakeCLI or dvdbackup to rip the title.
Code:HandBrakeCLI -i /dev/sr0 -t 2 -o DF-S1-T1.mp4Using HandBrakeCLI on the dvd directly works fine, but not so if I process the iso.

Using HandBrakeCLI to rip the iso, sometimes this fails, the ripped titles are pixellated when playing them.

Then I resort to dvdbackup, this rip's the VOB files just fine and then I HandBrakeCLI the VOBs to an mp4 - all good, no pixellation .

My question is why is HandBrakeCLI unable to rip and decrypt the titles, both programs use libdvdread so HandBrake should work shouldn't it? And why does HandBrakeCLI work when I rip the DVD directly

Here's some terminal output:

Code:dvdbackup
=========

dvdbackup -i ISOs/DutyFree-Disk-1.iso -M

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000160
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000708
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x000033d6
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0000346c
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_02_1.VOB (0x0000346c)!!
libdvdread: Elapsed time 1

====================================
HandBrake
=========
DSK=01;TITL=1;for tt in 01 02 03 04 05 06 07 08; do HandBrakeCLI -i ISOs/DutyFree-Disk-1.iso -t $tt -o 00PROC/DutyFree-Disk-$DSK-Title-0$TITL.mp4 --stop-at seconds:120 --start-at seconds:120;((TITL=TITL+1));done
[13:11:18] hb_init: starting libhb thread
[13:11:18] thread 7f4b2927b700 started ("libhb")
HandBrake 1.3.1 (2020032300) - Linux x86_64 - https://handbrake.fr
16 CPUs detected
Opening ISOs/DutyFree-Disk-1.iso...
[13:11:18] CPU: Intel(R) Xeon(R) CPU E5620 @ 2.40GHz
[13:11:18] - logical processor count: 16
[13:11:18] hb_scan: path=ISOs/DutyFree-Disk-1.iso, title_index=1
disc.c:424: error opening file BDMV/index.bdmv
disc.c:424: error opening file BDMV/BACKUP/index.bdmv
bluray.c:2585: nav_get_title_list((null)) failed
[13:11:18] bd: not a bd - trying as a stream/file instead
libdvdnav: Using dvdnav version 6.0.1
libdvdnav: DVD Title: DVDVolume
libdvdnav: DVD Serial Number: c9bf99ba
libdvdnav: DVD Title (Alternative): DVDVolume
libdvdnav: DVD disk reports itself with Region mask 0x00fd0000. Regions: 2

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x00000160
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00000708
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x000033d6
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0000346c
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_02_1.VOB (0x0000346c)!!
libdvdread: Elapsed time 1latest?d=yIl2AUoC8zA latest?i=QfYHgms9guQ:N4HR4hT6MhQ:F7zBnMy latest?i=QfYHgms9guQ:N4HR4hT6MhQ:V_sGLiP latest?d=qj6IDK7rITs latest?i=QfYHgms9guQ:N4HR4hT6MhQ:gIN9vFwQfYHgms9guQ
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments