Finalising a dvdrip installation on Slackware 13.37

I resumed my effort to install dvdrip on Slackware 13.37 using sbopkg.

The problem was that during the creation of the package, it was failing because it could not find any man pages.

Appending installation info to /tmp/SBo/package-dvdrip/usr/lib/perl5/perllocal.pod
mv: cannot stat `/tmp/SBo/package-dvdrip/usr/share/man': No such file or directory

So it’s time to leave sbopkg and do it manually. I went to slackbuilds.org and searched for dvdrip, downloaded the source tarball – dvdrip-0.98.11.tar.gz – and the slackbuild tarball – dvdrip.tar.gz – and put them together. Same result, but I could look inside dvdrip.SlackBuild and see what was happening. It wants to copy man pages from the source tarball, but there aren’t any in there. I commented out that section, and tried it again. Success. It finished and it created a package to install. I installed it. Then I ran dvdrip.

Well, would you look at that. I get a brief flash of a splash screen and then a dvdrip window ready for action. And there’s a very nice feature – Debug -> Check Dependencies. I run this and get this screen:

[dvdrip dependency screen]

There are three issues:

  • rar is a worry, because I’ve got version 4.01 installed and they want a maximum of 2.99. I read the dvdrip notes, and they say version 3 and up will not work, and they provide a version of rar that does. I’ll uninstall the current version of rar, and install the one that they recommend.
  • I don’t care about mjpegtools because I have no need of VCD or SVCD encoding.
  • fping bothers me because I did install it, and dvdrip is not recognising it.

So fping needs work. I did install it, but it’s installed in /usr/sbin and a regular user does not have access to it. I set up a symbolic link:

ln -s /usr/sbin/fping /usr/bin/fping

and tried it:

This program can only be run by root, or it must be setuid root.

Hmm. Okay, I’ll accept this challenge and the security risk.

chmod u+s /usr/sbin/fping

and there we go. dvdrip can see it and it’s okay. It’s not really important, it’s there for clustering and I have no need to rip dvds and encode them over a cluster of computers. I don’t have a cluster of computers.

And now, we have no real problems with dependencies:

[dvdrip good dependencies]

Now to see if I can rip a DVD. I put in a DVD, I create a new project, and wow, this looks really nice. I get things set up, read the table of contents, it automatically selects what it thinks is the real movie amongst all the junk, and it’s right. Then I hit Rip It. This is what I get.

[dvdrip transcode problems]

I can play that part of the DVD fine. I can look at it, but I can’t rip it. More research necessary.

Okay, that’s pretty sad. This appears to be a known problem, and no-one has figured out what it is. There are heaps of links to forums about it.

But in my reading of these forums, I came across mention of vobcopy. I installed it, and played with it, and it does part of what I want. If I use a command like this:

mount /mnt/cdrom
vobcopy -i /mnt/cdrom -m -o ~/Movies

Then under ~/Movies it will create a directory named after the DVD (eg WATCHMEN), and under that it will create the VIDEO_TS directory, and then in there it will rip the entire DVD and create the VOB and BUP and IFO files. This is great. This is the step that I did on my Mac with Mac The Ripper. From this directory, I can recreate the DVD. I can also play the DVD using xine or mplayer, and I might even be able to feed it to dvdrip and just use dvdrip for the encoding to other formats. More experimentation needs to be done.

7 Comments

mfillpotJuly 8th, 2011 at 8:57 pm

Make sure you enter root mode through “su -”, otherwise the man pages cannot be built.

If the problem was not with tthe user mode you were in then share your issue with the slackbuild maintainer so he can fix the public script.

hgriggsJuly 8th, 2011 at 9:01 pm

I do these as root. I know you aren’t supposed to, but I always do. I’ll organise my thoughts and contact the maintainer.

mfillpotJuly 9th, 2011 at 11:11 am

I have installed the full dvdip installation with all dependencies, it takes a lot of work.

The problem with the dvdrap and some of the deps is the line “mv $PKG/usr/share/man $PKG/usr” should be “mv $PKG/usr/local/share/man $PKG/usr” because the manual files are in the $PKG/usr/local/share/man directory.

I will be notifying all of the maintainers of the necessary changes.

mfillpotJuly 9th, 2011 at 11:12 am

with that build I had to fix the slackbuilds for dvdrip, libevent, perl-extutils-depends, perl-extutils-pkgconfig and perl-libintl. I can send you the correct scripts if you want them.

mfillpotJuly 9th, 2011 at 1:06 pm

I got dvdrip working perfectly.

hgriggsJuly 9th, 2011 at 9:11 pm

I reinstalled dvdrip with the corrected line, and now there are man pages. But dvdrip will not rip from a DVD or from a VIDEO_TS on my system. I don’t think the problem is with libdvdread because vobcopy and dvdbackup use it and it works for them. I think it’s my installation of transpose. I installed all the dependencies, it compiled and installed okay. I’m going to try and use transcode manually and try and track down the problem.

mfillpotJuly 10th, 2011 at 12:29 am

I recommend going into /var/lib/sbopkg and running “git clone git://gitorius.org/sbopkg-slackware-queues/sbopkg-slackware-queues.git” to get a full queue list, replace the queues with the newly cloned directory, then running “sbopkg -ki dvdrip” to download, compile and install all dependencies including the optional ones.

Also dvdrip.SlackBuild is not in error it worked for the sbo admins and on my 13.37 machine, the error was caused by your system, so no e-mail should be sent to the maintainer.

Leave a comment

You must be logged in to post a comment.