Gentoo Wiki


This article is part of the HOWTO series.
Installation Kernel & Hardware Networks Portage Software System X Server Gaming Non-x86 Emulators Misc



What DVD Shrink did for Windows is what DVD9to5 will do for Linux; make ease of use in DVD media backup something absolutely attainable. I didn't feel this writeup to be absolutely necessary given the nature of "One Button" type applications, but nonetheless it might clear some things up for other "n00bs" like myself.


First of all, transcode is an absolute must. However, if you simply emerge dvd9to5 and transcode is emerged as an ordinary dependency, dvd9to5 is going to complain and not function as it's supposed to. That's why we...

# echo "media-video/transcode dvdread" >> /etc/portage/package.use

There are plenty of other USE flags you can throw in, but that's pretty much the main important one. Once you've added that you can continue on with...

# emerge media-video/dvd9to5

After you've completed those steps you can finally proceed to place a DVD in the DVD-ROM tray, and type


As it progresses through its steps, it'll let you know when to remove the original and place a blank in the tray. That's pretty much it. It's an extremely simple application, and the hurdle of libdvdread compatibility with transcode is easily avoidable if you're really fond of USE flags.


Converting on a small harddrive

Now, if you're suffering from lack of funds like myself, you may only have a thirty gig drive to work with. Size constraints can pose a serious problem to dvd9to5 use. If you find that your drive use creeps up to 90% or greater, wait until dvd9to5 is in the DVDAuthor stage before using Ctrl + C. Once it's stopped at that stage, you can then proceed to delete files from /var/tmp/DVDNAME/. Files such as ofile.m2v and audio.ac3 as well as movie.m2v can be deleted safely. You can also delete the files from ./dvd/VIDEO_TS as well to restart DVDAuthor cleanly. However, make sure you copy the information to be passed to DVDAuthor. That way you can restart DVDAuthor with all the chapter and audio information intact. Before you can burn your DVD, you've got to run DVDAuthor once more.

$ dvdauthor -T -o dvd

If you cancelled dvd9to5 before it got to the burning stage, but have already authored your DVD with DVD Author, you can easily burn it with growisofs. Make sure you're still in /var/tmp/DVDNAME/ before you type this command.

$ growisofs -dvd-compat -Z /dev/dvd -dvd-video dvd

Once it's done burning, that's that! I've finally attempted using the "-D" flag, and apparently there's a variable that's overlooked somewhere when some of the files are deleted, because I've noticed that exits before it converts movie.mpeg to dvd/VIDEO_TS/VIDEO*.VOB. Until I get an extra moment to discover what's going on with that, all us small HDD sufferers have to simply live with this extended section.

Using an already ripped ISO file

If you have an ISO file and wan't to convert this, mount it using a loop device. If this doesn't work, make sure your Kernel is correctly configured.

$ mount -o loop /home/user/movie.iso /mnt/somewhere

Check which loop device provides the ISO file:

$ grep movie.iso /etc/mtab | cut -d\= -f2 | cut -d' ' -f1

Now specify this loop device as dvd device in your ~/.dvd9to5.conf:

$ DVDRipDev /dev/loop0

Finally, start as usual.

Retrieved from ""

Last modified: Sat, 06 Sep 2008 22:20:00 +0000 Hits: 4,034