Bill due in 5 days
 0%
Donate
Welcome, diggwolf375 [logout]   DL: 457.59 MB  UL: 0.00 kB  Ratio:0.000
Inbox 1 (0)   Sentbox 0   Bookmarks   Friends

Tutorials > DVDShrink in Linux

1
<< Prev      Next >>

 

This topic has been autolocked for inactivity. If you have something to add, Click Here to request it is re-opened.

 

#358255 by unknown[98028] at 2005-08-30 07:11:46 (7 years ago) - [Report]Top

Okay here's another tutorial.
This isn't as step by step as my last guide. It shouldn't be that hard to figure out
Hopefully this will help a lot of people.

Explanation
Reasons for this tutorial:
You can traditionally grab the main feature, compress it, but it won't keep the DVD intact at all. It will remove
menus, extras, etc.There is no program that runs natively in Linux that duplicate a DVD and compress it (hopefully, soon).
So you use some good ol' fashion WINE skills. It's pretty simple. I'm writing this article assuming you know,
or can figure out how to use DVDShrink. This is just to get you there.

Why you want everything intact: Because you're a pirate.
What this tutorial will help you do: Decrypt a dvd, and run DVDShrink in Linux

Preperation
If you don't already have wine. Get it. And after you get this done you can have some real wine to celebrate.
Now really, you don't need to do much. Debian has wine it apt-get. Gentoo has wine in portage. Mandriva has RPMs. Redhat has RPMs. Hell, even your mother might have some wine binaries laying around. If you use LFS or Slackware or something you can get WINE at :
h**p://www.winehq.org/site/download
That site includes rpms and Slackware .tgz's and just about everything.
If you have redhat or something. Install the rpm
Go into rootLook in your home directory/.wine
# cd ~/.wine
# ls
There might be a drive_c directory with a Program Files directory in it (that's how my configuration is).
Just remember where it is
$ su -
# rpm -i winepackage.rpm
That should take care of it.

Now get DVDShrink. You can find it yourself. Make sure it's not a knockoff DVD Shrink.
Unzip the file.
# unzip dvdshrink32setup.zip
# wine dvdshrink32setup.exe

Now if you have never used wine before now's a good time to open another terminal and find out where your fake windows directory is.
Look in your home directory/.wine
# cd ~/.wine
# ls
There might be a drive_c directory with a Program Files directory in it (that's how my configuration is).
Just remember where it is (or you won't be able to find it)
Now just pull a windows and keep pressing next until it asks you to create desktop shortcut (if you don't have an icon desktop {like I don't} then don't create a desktop shortcut. Logic) Don't have it run after it's done installing.

Remember your wine directory? I hope you do.

Well cd into it
# cd whatever/directory/you/were/supposed/to/remember
# cd Program Files
# cd DVDShrink
# wine "DVD Shrink 3.2.exe"

Does it work? Good. It should. Now exit it. Remember those steps and exit DVD Shrink.
Pop the DVD into your dvd drive (Assuming you have DVD working, if not, get it workng).
Get the program dvdbackup (it's a terminal application).
If you use Gentoo just
# emerge dvdbackup
I'm sure debian has it too.
# apt-get install dvdbackup

Okay, now for every other Linux distro.

# wget h**p://dvd-create.sourceforge.net/dvdbackup-0.1.1.tar.gz
(Hopefully you have libdvdread if not, get it at h**p://www.dtek.chalmers.se/groups/dvd/  Explaining how to install this is off topic for this tutorial).
# tar -zxvf dvdbackup-0.1.1.tar.gz
# cd dvdbackup-0.1.1
# cd src
# gcc -o dvdbackup -ldvdread dvdbackup.c
If it compiles without error. You can now copy it to /usr/bin
# cp dvdbackup /usr/bin
Now set permissions. Best way is whatever your dvd drive's ownership settings should be set to the dvdbackup binary.

EXAMPLE:
root@microsoft # ls -l /dev/hdc
brw-rw----  1 root cdrom 22, 0 Aug 26 13:37 /dev/hdc
root@microsoft # chown root:cdrom /dev/hdc

Okay, now, you have a working dvdbackup.

You don't have to run the following commands as root, if you have proper permissions (e.g. a cdrom group). But either way.
You should have /dev/dvd as a symlink to /dev/hdc
But find a big place to store you're 6-8 gig dvd files.

# dvdbackup -M -i /dev/dvd -o /lots/of/freespace

Unfortunately, you can't shrink a directory using disc backup so you need to make it an ISO. (yes you need lots of disk space)

# mkisofs -dvd-video -udf -o dvd.iso /path/to/folder/where/VIDEO_TS/is/in

You might want to delete the original data directory before you move on

Now remember how to run DVD Shrink? Do that.
Open an iso file to get to your dvd files. The root partition is Z: for me. Proceed as normal.
Burn the files with any burner of your choice.
Let me know I forgot to add anything

EDIT: Forgot about the ISO file thing.

#363136 by FFF (the mighty and powerful faroe) at 2005-09-02 21:19:42 (7 years ago) - [Report]Top

i have just one question why not use xdvdshrink??

get it @ http://dvdshrink.sourceforge.net/

:fish:

#363500 by unknown[98028] at 2005-09-03 01:11:06 (7 years ago) - [Report]Top

Does it keep menus intact?

#363571 by unknown[72826] at 2005-09-03 02:43:01 (7 years ago) - [Report]Top

screens shots show a option to *create dvd menu* so im guessing it doesnt keep the original menu, but creates some gay looking thing that says play
 

This topic has been autolocked for inactivity. If you have something to add, Click Here to request it is re-opened.

 

1
<< Prev      Next >>

This topic is locked; no new posts are allowed.

Quick jump: