Check for libdvdcss on startup

Matthew Fernandez <[email protected]> Sat, 19 May 2012 17:33:35 +1000
Newsgroups gmane.comp.video.dvdrip.user
Message-ID <CAON6N-WqOaROeacAj74Kj6XuvAgRx-=8c7BWQEF=PiwN=K_S3g@mail.gmail.com>
I was surprised to find that dvd::rip, while checking for the
existence of many tools when it's first run, doesn't check for the
existence of libdvdcss. Instead, ripping a DVD stalls with the output
to the terminal attached below. Is there a reason it doesn't run this
check or fail with a GUI-visible message?

Apologies if this behaviour is by-design as is documented somewhere,
although I couldn't see it in the docs or FAQ. Also, sorry if this
question falls into the category of encrypted DVD transcoding, which I
know is taboo on this list. I won't be offended if I get no reply :)

uname -r: 3.2.0-24-generic
dpkg -l dvdrip: 1:0.98.11-0ubuntu3

[filterlist] (re)scanning transcode's module path /usr/lib/transcode...
Catched Callbacks Exception: Error executing command execflow tcprobe
-i /tmp/blah/vob/0
01/ && echo EXECFLOW_OK:
EXEC_FLOW_JOB_PID=2606
libdvdread: Encrypted DVD support unavailable.
************************************************
**                                            **
**  No css library available. See             **
**  /usr/share/doc/libdvdread4/README.css     **
**  for more information.                     **
**                                            **
************************************************
libdvdread: Couldn't find device name.
libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.IFO failed
libdvdnav:DVDOpenFilePath:findDVDFile /VIDEO_TS/VIDEO_TS.BUP failed
libdvdread: Can't open file VIDEO_TS.BU.
[fileinfo.c] warning: [fileinfo.c:125] file read error: No such file
or directory
[probe_ffmpeg.c] critical: unable to open '/tmp/blah/vob/001/'
(libavformat failure)
[tcprobe] critical: failed to probe source
 at /usr/share/perl5/Video/DVDRip/JobPlanner.pm line 377