View Full Version : DVD rip does not work...(Music CD rip works...)
idanag
October 13th, 2007, 05:35 PM
Hi.
Using RC (that was upgraded from Beta).
64 bit AMD machine.
When I try DVD rip I see
"No Jobs. Checking and or waiting for a DVD.¨
As I mentioned above Audio disk rip works just fine.
What Am I doing wrong ?
Idan
stevetv
October 13th, 2007, 08:49 PM
are you able to playback copy protected dvds? or are your problems related only to ripping them. i believe it is some issue relating to permission restrictions???? but ive never used ubuntu before three days ago so i don't really know.
guess a guess.
superm1
October 13th, 2007, 10:05 PM
Yeah you probably need to install libdvdcss2. Look in the mythbuntu-control-centre for how to turn it on. You need this both for ripping and playing devices.
Also,
You might need to start mtd, but make sure that libdvdcss2 works first, and then starting mtd isn't much trouble at all.
lingenfr
October 20th, 2007, 11:33 AM
You go Ames, IA... I have the same problem. I can play copy protected DVDs just fine, but the ripping fails at some point every time. I have tried it with a couple of DVDs and no joy.
andrewb78
December 18th, 2007, 04:37 PM
I actually cannot play or rip, but I do have libdvdcss2 installed. How would I test whether it works? I am on amd64 using the versions of myth at http://ppa.launchpad.net/superm1/ubuntu (because it solved my PVR-350 TV OUT issue).
EDIT: I can play DVDs in VLC, for what that's worth.
andrewb78
December 21st, 2007, 03:55 AM
OK... I've done some digging here, and it seems that the problem might be with the DVD itself. Some DVDs apparently use bad blocks as copy protection. I may have a partial solution gleaned from elsewhere on the Internet, but I can't get the last part of it working. Here is what I have tried so far. I'm assuming that the normal things to read DVDs (i.e., libdvdcss2) are installed.
There is a shell script out there that will turn the DVD into an iso file while recovering from bad blocks. You need to install a couple packages:
sudo aptitude install lsdvd gddrescue
Then, run the script you find at http://www.mythtv.org/pipermail/mythtv-users/2007-April/175899.html (but note that the package you need is gddrescue, NOT ddrescue). Edit the line starting with DEV to point to your DVD drive device (the provided /dev/dvd may well be correct) and the line starting with DIR to point to the directory where you want to store the iso.
Once the script has finished (which takes a few minutes), you should be able to use the ISO file in your media library as though you created the ISO through MythDVD. However, I would also like to do the conversion to MPEG-2 (as though I ripped to Perfect quality) to take advantage of my hardware acceleration. So, I eject the DVD and issue the following (assuming your DVD device is /dev/dvd):
sudo mv /dev/dvd /dev/dvd.bk
sudo ln -s /dev/loop0 /dev/dvd
sudo mkdir /dvdmount
sudo modprobe loop
sudo mount -t iso9660 -o ro,user,loop=/dev/loop0 /path/to/ISO/image.iso /dvdmount
(When finished with all this, you would:
sudo umount /dvdmount
sudo rm /dev/dvd
sudo mv /dev/dvd.bk /dev/dvd
but I am still working on this. :) )
The problem now is that going to Optical Disks -> Import DVD just yields the message "No Jobs. Checking and/or waiting for DVD."
I have also tried changing /dev/dvd to /dev/loop0 in everyplace I could find within setup to do so, then restoring /dev/dvd to its original state (which is just a symlink to /dev/hda). Same result. I even tried putting the DVD back in the drive after that and still got the same result. I have added global read and write permissions on the relevant devices also, which made no difference.
What can I do to get the ripper to recognize /dev/loop0 as the DVD device? I know the major, minor numbers are different; does MythDVD check? Is there some other workaround? Can I just get mtd to rip from something besides /dev/dvd without even going through the menus?
andrewb78
December 22nd, 2007, 05:20 PM
For anyone finding this thread via Google, I never got this to work using MythTV's ripper (mtd). What I did instead was to mount the ISO image on /dev/loop0:
sudo modprobe loop
sudo mkdir /mnt/dvdmount
sudo mount -t iso9660 -o ro,user,loop=/dev/loop0 /path/to/ISO/image.iso /mnt/dvdmount
You will need to make your username part of the "disk" group:
sudo adduser `whoami` disk
Then, in a new terminal window (otherwise you won't be part of the disk group yet):
sudo aptitude install mencoder
mencoder -oac twolame -ovc copy -of mpeg -o /path/to/myth/videos/outputfile.mpeg -dvd-device /dev/loop0 dvd://
I think the normal path to myth videos is /var/lib/mythtv/videos, but it might vary on your configuration.
Now, you have to add the video to your library. In Myth, go to Utilities/Setup -> Video Manager. If you put the file in the right directory, it should show up. You can then search for it in IMDB, etc., using the menu (right arrow on the keyboard when you have the movie highlighted, not sure how to do it on the remote). If you skip this step, the movie won't be in your library.
You can watch the movie now by going to Media Library -> Watch Videos.
I hope this helps someone!
aj_watts@optusnet.com.au
January 1st, 2008, 07:45 AM
Yeah you probably need to install libdvdcss2. Look in the mythbuntu-control-centre for how to turn it on. You need this both for ripping and playing devices.
Also,
You might need to start mtd, but make sure that libdvdcss2 works first, and then starting mtd isn't much trouble at all.
Hi,
My first post and a relative newcomer to Linux, so please bear with me.
I installed libdvdcss2 and playback from the DVD now works. (having language selection probs, but that can wait for another post). How do we check for, and subsequently start MTD?
:confused:
Anthony
superm1
January 1st, 2008, 02:27 PM
Hi,
My first post and a relative newcomer to Linux, so please bear with me.
I installed libdvdcss2 and playback from the DVD now works. (having language selection probs, but that can wait for another post). How do we check for, and subsequently start MTD?
:confused:
Anthony
mtd starts when you press a number key in mythdvd's rip section.
Additionally you can start it from a command line if you would like.
aj_watts@optusnet.com.au
January 2nd, 2008, 03:14 AM
mtd starts when you press a number key in mythdvd's rip section.
Additionally you can start it from a command line if you would like.
Thanks,
Tried as you suggested but the screen returned is that there is no jobs and nothing else to RIP. You can "view" from within the RIP setup screen OK, but I'm not sure if thats what is needed to be done or not?
BTW, this is being done purley via kbd, not via remote.
Lido
January 28th, 2008, 01:50 AM
I've got a similar problem. I have the dvd device set up so all can read from it, I have the temp directory and target directories set so everyone can write to them, I've got mtd running as root (used sudo to start it). But when I select "Import DVD" all I ever get is the "No jobs. Checking and/or waiting for DVD" message. It doesn't even seem to be trying to look for the dvd. The dvd plays fine though. Anyone have any guidance?
Trollslayer
May 24th, 2008, 06:06 AM
Yeah you probably need to install libdvdcss2. Look in the mythbuntu-control-centre for how to turn it on. You need this both for ripping and playing devices.
Also,
You might need to start mtd, but make sure that libdvdcss2 works first, and then starting mtd isn't much trouble at all.
I had the same problem - instead of the DVD drive showing as /dev/dvd in 8.04 is it showing as /dev/dvd1 so I changed the media settings and have just done my first rip. :)
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.