Decent DVD-Ripping Solution For Linux?
supersloshy writes "I'm a user of Ubuntu Linux and I have been for a little while now. Recently I've been trying to copy DVDs onto a portable media player, but everything I've tried isn't working right. dvd::rip always gets the language mixed up (for example, when ripping 'Howl's Moving Castle,' one of the files it ripped to was in Japanese instead of English), Acidrip just plain isn't working for me (not recognizing a disc with spaces in its name, refusing to encode, etc.), Thoggen is having trouble with chapters (chapter 1 repeated twice for me once), and OGMRip has the audio out of sync. What I'm looking for is a reliable program to copy the movie into a single file with none of the audio or video glitches as mentioned above. Is there even such thing on Linux? If you can't think of a decent Linux-based solution, then a Windows one is fine as long as it works."
Try running DVDFab under WINE.
Just this morning, Lifehacker posted about this very topic: http://lifehacker.com/5205221/acidrip-for-linux-rips-dvds-with-two+click-ease
You won't find one better than Handbrake, works great for me. Here's a howto I wrote on the topic: http://spareclockcycles.wordpress.com/2008/12/11/handbrake-for-dvd-ripping-on-ubuntu/
Live it, learn it, love it.
http://handbrake.fr/
I use Macs for work, Linux for education, and Windows for cardplaying.
I find Handbrake works excellently under OSX, and, seeing as it has a Linux/GUI version, it may be worth trying out.
http://handbrake.fr
Have a look at AnyDVD for Windows with your ripper of choice.
Mencoder (mplayer package) works pretty well.
Following the docs gave me decent quality rips without too much hassle.
http://web.njit.edu/all_topics/Prog_Lang_Docs/html/mplayer/encoding.html
According to the summary Thoggen is having issues with the chapters on his discs.
Through much trial and error I've found that k9copy is the most reliable and functional program for ripping DVDs. You can customize what you want or don't want and it puts everything into VOB that can easily be burned as a video dvd in k3b. Happy Burning! :)
Plain vanilla dd is your friend. This is by far the simplest way of transferring DVDs around; I've used this method for years to archive discs to file servers.
512 MB RAM, 20 GB disk, 200 GB transfer, five datacenters. $19.95/month.
MakeMKV. No loss in quality (think Ogg). Simple, easy and high quality. Hope you have a big hard drive.
I like big butts and I cannot lie.
dvd::rip always gets the language mixed up (for example, when ripping 'Howl's Moving Castle,' one of the files it ripped to was in Japanese instead of English),
What makes you think it is dvd::rip that has the language mixed up? It is a Japanese movie and it is not surprising that the first audio track is Japanese. Fortunately you can select to rip a different audio track.
Acidrip just plain isn't working for me (not recognizing a disc with spaces in its name, refusing to encode, etc.)
I am betting you set it up wrong, since the disc name really shouldn't effect anything. It could be your ripper program should point at /dev/dvd (or equivalent), not "/mnt/Mounted File System"
When things get complex, multiply by the complex conjugate.
dvdbackup is your friend. If you really really really require it be packaged into a pretty ISO, then run "mkisofs -dvd-video" against the resulting directory.
If you compiled MPlayer with Dvdnav support, you can specify the title number with dvdnav:// instead of dvd:// and you won't have to wait for your drive to time-out reading endless bad sectors.
And BTW, this almost exclusively occurs on DVDs produced by Sony companies.
Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
Flexibility. Matroska is wildly popular in anime fansubbing because you can have an arbitrary number of audio tracks (english, japanese, Dolby surround, all the commentary tracks) and subtitles (including multiple versions with toggle-able onscreen translation of text). With the benefits that Matroska provides, it annoys me that people use anything else. You can literally put anything into a matroska container. It surprises me that people haven't found more ways to put malware in them.
Depending how much disk space you're willing to sacrifice...
I use these, in this order:
- Play the DVD. For some reason, sometimes, starting the rip process while the disc is still spinning after playing will work, whereas trying to rip it cold won't.
- cp /dev/dvd foo.img /media/cdrom/ foo
- cp -a
- mplayer dvd://1 -dumpstream -dumpfile foo.vob
The first just takes a disk image, which you can either burn verbatim (if you have media that will fit it), or play with mplayer (use the -dvd-device flag), or with VLC (open it as a dvd device). The second creates a directory -- mplayer's -dvd-device still works, and VLC used to explicitly allow you to choose a VIDEO_TS folder to play. The third method dumps a single title in raw vob form -- this is nice because it's purely WYSIWYG; you can drop '-dumpstream -dumpfile foo.vob' to see what it will look like, but I think it's going to include all languages/subtitles anyway.
Honestly, terabyte storage is getting cheap enough that I don't much care. I can always re-encode it later if I run low on space -- or just delete a pile of South Park episodes. But half the time I try to use the commandline tools -- mencoder, ffmpeg, the mkv tools, or the ogg tools -- I seem to end up with AV sync messed up.
One other thing you're going to want:
mplayer -nosound -vo null -benchmark -vf cropdetect -dvd-device foo.img dvd://1
Let it run for awhile, maybe through the entire movie -- it'll end up with a '-vf crop' argument that should work. That's for the annoying DVDs (or other videos) which add letterboxing to the video stream itself. Any decent video player on a computer can do that, too, but some of us have widescreen monitors, and if you do re-encode, you don't want to be wasting space on black bars.
The Matroska Multimedia Container is an open standard free container format, a file format that can hold an unlimited number of video, audio, picture or subtitle tracks inside a single file.[1] It is intended to serve as a universal format for storing common multimedia content, like movies or TV shows. Matroska is similar in conception to other containers like AVI, MP4 or ASF, but is entirely open in specification, with implementations consisting mostly of open source software.
First of all, Matroska is an open spec, and most implementations (including the reference implementation, libmatroska) are Open Source (lgpl for libmatroska).
Mkv supports B-frames, Variable bit rate audio, Variable frame rate, Chapters, and Subtitles. Not all containers support all of these, and AVI only supports any of those with workarounds, modifications or just nasty hacks.
The mpeg container can't do chapters or subtitles, and obviously only holds media in the mpeg (1 or 2) format.
MP4 has limited chapter and subtitle support and only deals with mpeg media (basically 1, 2, and 4 ASP/AVC).
Ogg/ogm is designed for simplicity, streaming and specifically for Vorbis and Theora (although most/all other codecs can be used), while Mkv is meant as a completely general-purpose distribution container, and wants to replace avi, asf, mp4, mov, etc.
http://en.wikipedia.org/wiki/Matroska
http://en.wikipedia.org/wiki/Comparison_of_container_formats
http://www.matroska.org/technical/guides/faq/index.html
http://xiph.org/container/
http://www.hydrogenaudio.org/forums/lofiversion/index.php/t10426.html
Climate Progress - Hell and High Water
The problem with Disney is they screw up the discs so it looks like there's ~100 titles, all with close to the correct running time.
I've used that technique with our Disney DVDs, and it works fine.
The Teaching Company seems to take the opposite approach. They have only one title which contains the FBI warning, 43 seconds long. That's it, there are no other titles listed. There are many chapters listed in the structure, but not contained in any title, and with bizarre lengths. They are also in random numerical sequence and don't correspond to the chapters/lessons as viewed.
I'd really like to find a solution which reads the DVD structure the same way it is read while being played - i.e. using the information in the stream and/or menus, not just the structure as given in the table of contents. All of these DVDs play fine in VLC or mplayer or anything else, just the contents information is obfuscated making them near-impossible to rip.
Those who can make you believe absurdities can make you commit atrocities. - Voltaire
Available in a linux flavor, I ripped 462 movies for my private use (streaming from my 1tb hdd to an apple tv) from DVD last fall. At the time Handbrake used its own decoder which didn't always work for certain types of highly standard breaking locking schemes (read: broken dvd's). However the recent version, at least for my mac, has no troubles as it is using VLC player for the dvd decoding engine.
I found the best success using constant quality, around 59% plus a bunch of other handy settings I found under the "best settings and why" section in the forums for handbrake.
I strongly recommend this avenue as the results are magnificent AVC encodes in iTunes, iPod, iPhone, PS3, etc. compatible container and they are literally indistinguishable from their DVD counterpart (save a few exceptionally difficult to rip movies like Pi). Good software, and free too.
I read the script, and I think it would help my character's motivation if he was on fire. -Bender
Why is this on slashdot? Google "linux rip dvd" for many many solutions.
If you are a button clicker, use Handbrake. Download the binary or build from source.
If you are a linux user, use mencoder. RTFMP
What nobody will tell you is that to prevent some older, free ripping tools from working, some studios (mostly for DVDs released in region 1 - USA and Canada - but also sometimes seen elsewhere) use a copy protection method called ARCCOS or something similar to protect their DVDs. The only rippers I know of that can defeat this are DVDFab HD Decrypter (they have a free version available) and AnyDVD (don't know if there is a free version or only the commercial version). Both are updated regularly to deal with new variations in ARCCOS. ARCCOS uses deliberately placed bad sectors on the disc to thwart copying. It's quite complicated, but it relies on a difference between how standalone DVD players and PCs read discs to thwart copying attempts. DVDFab and AnyDVD get updated because they are produced in countries that are currently free from MPAA enslavement. I am unaware of any programs other than those that can correctly rip DVDs and those only work on Windows. I don't keep up with Handbrake as it's mostly for Mac fanboys (but they do have a Windows version), so I have no idea if Handbrake is actually able to deal with ARCCOS or not. The people I know who use it do not rip DVDs that I know to use ARCCOS, so I have no idea if Handbrake can even deal with ARCCOS correctly or not.