solarian Posted November 28, 2005 Report Share Posted November 28, 2005 Hello, is there any way to mount a dvd .iso image or a unpacked dvd image onto /dev/dvd ? The problem I'm facing is that I don't have a dvd burner, so I want to compress the dvd to xvid, I can do that (with the Linux software available), but I can only xvid separate .vob files, whereas I'd like to rip the whole film. And when I want to join together the separately encoded (xvid) .vob files Avidemux does an unclean stitch with sound distortion (known bug for me). But I could encode the whole film into one xvid file if I make Mandriva believe that I have a real dvd mounted on /dev/dvd ,then the ripping software would understand it as such and my problem would be soved. Thanks! Quote Link to comment Share on other sites More sharing options...
devries Posted November 28, 2005 Report Share Posted November 28, 2005 You can mount iso files in Linux with (as root): mount -t iso9660 dvd iso name.iso /home/your name/folder you created -o loop Quote Link to comment Share on other sites More sharing options...
solarian Posted November 28, 2005 Author Report Share Posted November 28, 2005 Thanks, though I know that particular command, it does not work the way I need though, i.e., dvd ripping software does not recognize /dev/dvd as a dvd disc if I use this particular line. Quote Link to comment Share on other sites More sharing options...
solarian Posted November 28, 2005 Author Report Share Posted November 28, 2005 The problem is that /dev/dvd needs to be a block device I think Quote Link to comment Share on other sites More sharing options...
Gul Dukat Posted November 28, 2005 Report Share Posted November 28, 2005 Perhaps, this is what you're looking for. http://linux.softpedia.com/progScreenshots...nshot-2216.html Quote Link to comment Share on other sites More sharing options...
solarian Posted November 28, 2005 Author Report Share Posted November 28, 2005 (edited) My dear friend, that is exactly what that command above does. It appears that the problem is that I need to fake a DVD ROM and a mounted dvd. The mounting part is clear, the making of a fake dvd rom block device is not. Edited November 28, 2005 by solarian Quote Link to comment Share on other sites More sharing options...
lavaeolus Posted November 29, 2005 Report Share Posted November 29, 2005 (edited) Is there any possibilty to create virtual block devices, like virtual cd drives in windows seems I found something: http://www.timfanelli.com/tags/linux http://freshmeat.net/articles/view/1387/ Edited November 29, 2005 by lavaeolus Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted December 2, 2005 Report Share Posted December 2, 2005 When you mount the iso using loop, I believe you can access /dev/loop0 as a block device. Try pointing your dvd ripper to /dev/loop0 but I think you will have to be root to access it. Note, the first loop mount is through /dev/loop0, the second through/dev/loop1, etc. Quote Link to comment Share on other sites More sharing options...
solarian Posted December 2, 2005 Author Report Share Posted December 2, 2005 Thanks for the advice, pmpatrick! I'll try that out! Quote Link to comment Share on other sites More sharing options...
solarian Posted December 2, 2005 Author Report Share Posted December 2, 2005 No, doesn't seem to wor [NO DVD FOUND message]. Is there another software apart from Avidemux that can stich together either .vob or .avi (xvid) files? Quote Link to comment Share on other sites More sharing options...
pmpatrick Posted December 2, 2005 Report Share Posted December 2, 2005 (edited) Did you run your ripper,Avidemux, as root? You will have to do that to access /dev/loop0 IIRC. I just tried mounting a dvd iso with loop and using dvdshrink on it, designating /dev/loop0 as the read device and it worked as root but gave an error message as an ordinary user. Edit: You may want to take a look at dvdshrink for your project. It will access /dev/loop0 as root and rip the dvd. In the process it creates a single mpeg of the entire dvd. Just be sure to save your working files. You could probably use that mpeg in avidemux. Edited December 2, 2005 by pmpatrick Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.