Ubuntu Linux DVD Shrink, DVD Decrypter Guide

Shows how to install DVD Shrink 3.2 and DVD Decrypter in Ubuntu Linux.

DVD Decrypter does NOT require SCSI emulation for your DVD burner.

Verify DMA is enabled for your DVD burner
hdparm /dev/hdd
It should say using_dma = 1 (on)
If not sudo /etc/hdparm.conf and append the following:
/dev/hdd {
dma = on
}
Now reboot and verify DMA is enabled

Note DVD Decrypter uses DMA so I was able to rip at 11,200KB (8.1X) and also burn at 8X. However DVD Shrink does not use DMA mode and for this reason and ARcoSS I always recommend to:
- Rip to .iso with DVD Decrypter
- In DVD Shrink Open Disc Image (.iso)
- Backup to .iso image and optionally automatically burn with DVD Decrypter
That way DVD Shrink won't process it slowly when it does Deep Analysis

Enable universe in /etc/apt/sources.list
sudo apt-get update
sudo apt-get install wine winesetuptk


winesetup
Just press NEXT twice, then FINISH


Insert a DVD (very important) as it'll automatically setup most of your dosdevices.
The input dvd needs to be MOUNTED before you can access it. You will have to do it by hand if you don't have automount. --(tip from Ralf E.)
Download DVD Decrypter and choose wine to open and install it.


Just follow dvddecrypter installation wizard.


Make sure in DVD Decrypter Setttings under I/O tab STPI - Microsoft is checked.
Also I recommend under Device tab to set it to Eject tray after read and write.

cd ~/.wine/dosdevices
rm d:
ln -s /media/cdrom d:

Later versions of wine, like the one shipped in Dapper Drake (0.9.9) ignore settings in ~/.wine/config
You have to use the "winecfg" program to set windows version to NT 4.0 (thanks to Phil B. July 2006)

gedit ~/.wine/config
[Version]
"Windows"="win98"
change to
"Windows"="nt40"

Download dll.zip 1.1MB to your desktop (contains riched20, quartz and mfc42 dlls)
unzip Desktop/dll.zip -d ~/.wine/fake_windows/Windows/System/

Download DVD Shrink to your desktop
unzip Desktop/dvdshrink32setup.zip
WINEDLLOVERRIDES="riched20=n" wine dvdshrink32setup.exe
Install DVDShrink with the installation wizard.


Edit | Preferences | Preview
and set DirectX video renderer to Built-in Software Renderer
This allows playback of video but no sound though.

Because of this each time you open dvdshrink the left panel will be all grey. In DVDShrink just Maximize and Unmaximize Window to show left panel. Also you can resize it or move center bar to fix also. Yes you must do this each and everytime you open dvdshrink or just remove quartz.dll and do without video preview.


After changing the toolbar just close DVD Shrink and reopen it for it to display correctly.



You can see video during analysis and also you can Set your Start/End Frames in Re-author mode and see the video (useful for eliminating end credits which increases video quality).


Under File I/O tab you can disable burning with Nero.

Desktop Entries paste following text into the respective .desktop files.

sudo gedit /usr/share/applications/dvdshrink.desktop
[Desktop Entry]
Name=DVD Shrink
Exec=wine .wine/fake_windows/Program\ Files/DVD\ Shrink/DVD\ Shrink\ 3.2.exe
Icon=gnome-dev-dvd.png
Type=Application
Categories=Application;AudioVideo

sudo gedit /usr/share/applications/dvddecrypter.desktop
[Desktop Entry]
Name=DVD Decrypter
Exec=wine .wine/fake_windows/Program\ Files/DVD\ Decrypter/DVDDecrypter.exe
Icon=gnome-dev-cdrom.png
Type=Application
Categories=Application;AudioVideo



Ok now your ready to use DVD Decrypter and DVD Shrink. You have a couple of options.
#1) Rip to .iso with dvddecrypter (press R) then open disc image in DVD Shrink and save to .iso and have it automatically burn that .iso once done with dvddecrypter.

#2) Process directly with dvdshrink open disc and save to .iso and burn later with dvddecrypter, nautilus or k3b.

#3) Process directly with dvdshrink open disc and save to .iso and automatically burn that .iso once done with dvddecrypter. This still works even if you have one DVD burner. What happens is at the end of the process it'll eject dvd and wait for you to insert a DVD+R blank media and just press burn in dvd decrypter and it'll burn the .iso.

I prefer option #1 as some of the newer discs have fake .vob errors which dvdshrink can't handle but dvddecrypter can. It's up to you though.
Note the RED X marks....no biggie just ignore them it'll still work


If your new to DVD Shrink 3.2 definitely do a deep analysis (analyzes each and every frame so it can more accurately transcode where needed rather than guessing). Also use the new Adaptive error compensation as it increases the video quality. Both take extra time but IMHO are worth it.


After clicking Backup for your target choose ISO Image File and burn with DVD Decrypter.


Begins deep analysis....note this screenshot says 44 mins because it's reading close to 2,000KB/s which is from the dvd-rom. If you rip to .iso then it shoots up to about 7,500KB/s and does it much quicker.


If you choose to have it automatically burn with DVD Decrypter it'll begin burning the .iso image otherwise you can do it at a later time.


Optionally you can burn the .iso in nautilus in GNOME.
cd ~
mv .wine/drive_c/dvdshrinked/PORONNM1.ISO .
Open File manager (nautilus)
Right click on dvd .iso image and choose Write ISO.

Notes:
- version=nt40 in wine configuration file enables dvdshrink to OPEN DISC without an ASPI error. Also enables DVD Decrypter to use STPI-Microsoft. Your dosdevice softlink must be correct.

- riched20.dll allows you to install dvdshrink

-quartz.dll allows you to preview video without sound (without it set/start frames and analyzing video windows still show)

- libdvdcss2 is required to playback movies (enable marillat repositories) or download it
and install it dpkg -i libdvdcss2_1.2.8-woody0.0_i386.deb

- vobcopy -m would work but is not ideal since dvdshrink and dvddecrypter both have decryption capabilities and it outputs it to VIDEO_TS so you'd have to open dvdshrink via commandline specifying the ripped directory.

- PORONNM1 ain't no p()rn movie it's Porco Rosso


Ripping speed 2X takes about 45 mins - 8X takes about 15 mins
DVD Burning speed 2.4X takes about 22 mins - 8X takes about 9 mins


Bonus Apps that work great under wine

Irfanview (all time favorite graphics viewer/editor on windows)
download and install irfanview
sudo gedit /usr/share/applications/irfanview.desktop
[Desktop Entry]
Name=Irfanview
Exec=wine .wine/fake_windows/Program\ Files/IrfanView/i_view32.exe
Icon=gnome-mime-image-jpeg.png
Type=Application
Categories=Application;Graphics

Limitations of using Irfanview in wine that I'm aware of is:
- screencapture must use automatic timer mode
- open/save dialogs can't be resized
Other than that it works beautifully.


Convert conversion for computer, area, volume, density, energy, etc.
download convert to desktop
unzip Desktop/convert.zip -d ~/.wine/fake_windows/Program\ Files/
sudo gedit /usr/share/applications/convert.desktop

[Desktop Entry]
Name=Convert
Exec=wine .wine/fake_windows/Program\ Files/Convert.exe
Icon=gnome-fs-network.png
Type=Application
Categories=Application;Utility



Updated May 21, 2005


Back Home