LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Linux aternative to Clone DVD, or DVD Shrink (https://www.linuxquestions.org/questions/linux-software-2/linux-aternative-to-clone-dvd-or-dvd-shrink-133609/)

plosiv 01-11-2004 04:22 AM

Linux aternative to Clone DVD, or DVD Shrink
 
Hello,

I'm looking for a software to copy / clone DVD's on Linux. I currently use DVD Shrink and Clone DVD on Windows, but i prefer to get rid of my Windows and just use Linux. Does Linux offer a program to burn DVD's?

Thanks in advance.

Crashed_Again 01-11-2004 04:59 AM

I rarely burn dvds but when I do I use dvdrip. I've never used DVD Shrink or any other windows dvd burners so I couldn't relate the two.

I should also plug acidrip which was written by acid_kewpie though I've never used it.

carlywarly 01-11-2004 05:02 AM

DVD Shrink works perfectly under Wine.

plosiv 01-11-2004 09:50 AM

Thank you. I've got DVD Shrink running in Wine now.. Sofar all is good.

Thanks for the help.

plosiv 01-13-2004 02:09 PM

Eventhough i now have DVD Shrink running in Wine, it doesn't work.

When i use the Open Disk button and select my DVD Driver it responds with an:

DVD Shrink encountered an error and cannot continue.
Failed to initialize ASPI device.
File not found

In my Terminal window i get the following line about 15 times:

fixme:aspi:SendASPI32Command SC_GET_DISK_INFO always return 'int13 unassociated disk'.


Does anyone have any idea on how to solve this or perhaps an indication on what i am doing wrong?

Thanx.

carlywarly 01-13-2004 03:28 PM

OK, try smartripper to rip the files, then dvdshrink to do the compression. Both actually work for me.

plosiv 01-14-2004 12:55 AM

I've tried to do the 'Open Files' in DVDShrink but no luck. Also a weird error, so i believe my wine isn't working correctly.

The funny part is. First i had Windows and Linux. I tried DVD Shrink in wine and compressed a DVD. I then figured i wouldn't need Windows anymore, so i reinstalled Linux on the whole disk. And now it doesn't do wine anymore. Very weird.

I'll try to figured it out but anymore help would be appreciated.

megaspaz 01-14-2004 01:05 AM

you probably didn't configure wine correctly. in your ~/.wine/config file, there's sections where you have to define your drives. cd/dvd devices included.

example:
[Drive J]
"Path" = "/mnt/cdrom"
"Type" = "cdrom"
"Label" = "DVD"
"Filesystem" = "vfat"
; make sure that device is correct and has proper permissions !
"Device" = "/dev/cdrom"

[Drive R]
"Path" = "/mnt/cdrom1"
"Type" = "cdrom"
"Label" = "CD-RW"
"Filesystem" = "vfat"
; make sure that device is correct and has proper permissions !
"Device" = "/dev/cdrom1"

i try to make all my devices and parititions the same in wine as they are in windows, since i've got wine configured to use an existing windows install and not a fake windows install directory. don't know how you did wine, so that may not apply to you. but i'm fairly certain you need to finish the wine config.

plosiv 01-14-2004 02:08 AM

I've been reading the Wine documents for a bit. There is a line about puting a 'nohide' in your FSTAB. If you do now, you might get an File not Found error. (the same i get) and i know haven't got my cdrom/dvd drive in my fstab.

Tobad i am at work and cannot test it.

As for the configuration example, i have it the same as you. Except i use "Filesystem" = "win95".

megaspaz 01-14-2004 02:10 AM

Quote:

Originally posted by plosiv
i know haven't got my cdrom/dvd drive in my fstab.


that could be the problem right there. i don't know for sure though.

Cerbere 01-14-2004 05:17 AM

Why waste so much time trying to get a windows program to limp along in Linux? Especially when there are plenty of Linux-native programs that will do the same job?

AcidRip is a sweet little program that offers all the functionality of DVDshrink, and it gives you more flexibility in terms of compression/bitrate/etc. It was a little tricky to set up, because it depends on GTKperl (and I didn't have Gnome on my box) and mplayer/mencoder. But like Crashed_Again pointed out, it was written by acid_kewpie, so you can find lots of advice/answers here in the forum.

Check it out, it's definitely easier to set up than wine, and it's intended to run in Linux, so it'll be more stable. I finally gave up on trying to get wine to run anything other than solitaire and minesweeper (in fairness, I must say that it runs these extremely well).

Enjoy!
--- Cerbere

plosiv 01-14-2004 05:45 AM

I've read the acidrip home page but it says that it is primarily focused on DVD to DIVX conversion. That is not what i want. I use DVD Shrink to compress the Video on a DVD and then burn it back to a DVD.

I've only glanced the acidrip page, so i might have missed it.

plosiv 01-14-2004 03:07 PM

I've added the correct lines to the /etc/fstab file. But no luck, it keeps giving me the same errors.

Does anyone have any further ideas?

plosiv 01-15-2004 02:53 PM

I've figured it out.

If the DVD is encrypted, it gives me the ASPI errors.
If it is unencrypted, it works perfectly.

Annoying.

Aktaion 03-07-2004 05:13 PM

Failed to initialize ASPI device
 
Hi plosiv,


I have the same problem.

I am using SuSE 9.0 and DVDShrink do not take hold to /media/cdrom ...

qwertz18 03-10-2004 07:55 AM

wine & dvdshrink problems
 
Quote:

Originally posted by carlywarly
DVD Shrink works perfectly under Wine.
How does it work? If i try to start dvdshrink the programm seems to work normaly but if i try to open a dvd i'll get an aspi error only.

How can i prevent this aspi error?

qwertz18 03-10-2004 07:58 AM

How to run dvdshrink in wine
 
[QUOTE]Originally posted by plosiv
[B]Thank you. I've got DVD Shrink running in Wine now.. Sofar all is good.

Can you please describe how to run dvdshrink in wine? I have problems with an aspi error. DVD Shrink seems to work normaly but if i try to open a dvd i'll get this aspi error only.

Thanks

Aktaion 04-11-2004 08:03 PM

This thread will be continued here:

http://www.linuxquestions.org/questi...5&pagenumber=2

stocks29 06-08-2004 11:08 AM

Alternative to DVD Shrink, DVD2ONE
 
I was wondering if there is a command line utility I can use to lower the bitrate on the video that was already ripped so it will fit on a DVD-5. I prefer not to use dvdshrink through wine.

I heard there is a way to do it with transcode but i cant find it without first encoding the vob files as an mpeg or avi. I want to keep the files as they are. Kinda like useing DVD2ONE except i tried using that with wine and no go.

Any ideas? Preferably fast too, i heard transcode was relatively slow (5 -7 fps) where DVD2ONE does 75 fps

3min_Guy 06-08-2004 03:57 PM

Hi

I as far as I remember this is what I've installet in order to get it working:
lsdvd #not nescessary, but can be used to check if the script does the right for you
streamanalyze
streamdvd
dvdauthor
libdvdread3-dev #to get the css support (I think)

I wrote the script yesterday evening, and it may be buggy, In any event it should give you an idea about how to use the above programs. It will take the first title (normally the one with the main content, but lsdvd can verify this, and also the english AC3 sound is extracted)

#!/bin/sh
outfile=analyzeoutput
allowedfactor="1.500"
#CHANGE to correct output dir
outputdir="/your/output/directory/"$1
mkdir -p ${outputdir}
s=`streamanalyze -i /dev/hda -t 1 >& ${outfile}`
r=`cat ${outfile} | grep Factor`
# this could be more elegant :-)
t=`echo $r | sed -e "s/\(.*\)\(.\....\)\(.*\)/\2/"`
echo "Factor is" $t
echo `expr $t \<= ${allowedfactor}`
if [[ `expr $t \<= ${allowedfactor}` -eq 1 ]]
then
#CHANGE /dev/hda
`dvdauthor -t -o ${outputdir} -f \`streamdvd -i /dev/hda -t 1 -f $t -s 0xe0,0x80 \``
dvdauthor -T -o ${outputdir}
else
echo "compression factor is too large " ${allowedfactor}
fi
echo "done"

Hope it can help someone, although it is not dvdshrink :-/
NB please note the "#CHANGE" comments

3min_Guy 06-08-2004 03:59 PM

By the way:

I call it copydvd.sh, and it should be run with an argument like:
./copydvd.sh <NameOfTheMovie>

auditek747 06-08-2004 05:18 PM

Hi,
I don't have a DVD burner so I don't manipulate them much,
I have however ripped vob's with vobcopy and opened them
with Avidemux which has quite a few filters and options.
I don't know about shinking the things but you could probably make a custom
DVD with a few things left out.
The proper output from Avidemux should be burnable with K3b or whatever you
use.

outspoken 11-11-2004 09:53 PM

There are a ton of ways to backup dvd's in Linux - however none of them as simple and as pure as those found in windows, not yet anyways.

Now for those of you are getting mad at that, calm down and think about it first. ask yourself if you have equal experience with dvd backups in both windows and in linux. Now in both operating systems there are too many methods to even list, and im considering custom scripts here.

In windows i used the following programs:

DVD-Decrypter (you can alternatively use AnyDVD and decode on the fly)
DVD2One (for DVD9toDVD5 compression, it is one click and gets better results than dvd shrink).
CloneDVD2 (point to vob dir and click burn)

If you have all three of these programs and you just follow the little buttons that say 'go' or 'start' then you are going to find yourself with an almost perfect copy of a dvd (compression here is the difference in dvd9to5). with working menus, subtitles and anything else that you didn't remove manually such as alternative languages, etc.

In my experience with linux I have found it impossible to reproduce a fully functional DVD9toDVD5 with menus, all subs, all languages and all camera angles etc using native Linux programs. I know it can be done, but you must basically create your own mock menu structures with XML code and all kinds of crazy stuff.

I run only Linux these days and have not looked back to windows. I would say that there is no comparison between windows and Linux in the dvd realm. On top of it all you have professional grade tools in windows such as Maestro, Scenarist and many other (including free programs) which have so many features and functions that you can almost consider them professional grade dvd production tools as well.

Linux is lacking in DVD reproduction but I think it is on the rise. There is a lot of awareness now regarding this subject and many people are starting to take up arms and code their hearts out. I look forward to the future of Linux and DVD mastering. Not just for the sake of backups, but for all aspects of it.

This is meant to be a positive post for Linux.

What do I do for DVD backups? Well I grabbed this little bit of knowledge from the videohelp.com forums:

1. vobcopy /mnt/cdrom1 -l -n 1 -O . -t "directory_name_to_rip_to"
2. mkisofs -dvd-video -udf directory_vobs_are_in > output_filename.iso

which is perfect for a 1-to-1 copy, but to get yourself a DVD9toDVD5, what does this person recommend? Using DVD Shrink under Wine. (simply run it on the outputted .iso above)

The way I got my Wine setup just right (with all partitions and drives to be acknowledged) was to use winesetuptk. I know I could have searched the web for some examples or read the manual but really this was quick and extremely efficient for my needs. Now when it came time for me to experiment with DllOverrides then I hit google and read some manuals.

The tools are almost here, and with the power of the Linux community I'm sure we will see some nice GTK2 interfaced frontends to a simple DVD9toDVD5 backup soon enough. I'm not going to hold my breath in the meantime, but I am learning Python so I can start to contribute some.

For all conversions I use Avidemux2 which I have never had problems with and ahve always been able to get the results I want.

In my experience (with various systems, setups and multiple various dvd's) dvd::rip really sucks. K3B is great for what it is as a burning program and the only rival to it is the command line tools that it makes use of.

I have tried everything else out there aside from complicated personal scripts like the ones posted here and elsewhere. Perhaps after my knowledge in coding grows I will write my own that are suited to my needs.

Hope you are all happy in the methods you have found to work.

userXa0 09-03-2005 08:06 PM

i was getting the same error as plosiv:

DVD Shrink encountered an error and cannot continue.
Failed to initialize ASPI device.

until i downloaded ForceAspi and copied frcASPI17.zip/WIN9X/WINASPI.DLL and frcASPI17.zip/WIN9X/WNASPI32.dll into ~/.wine/fake_windows/Windows/System. this fixed the problem.

i will post this on http://www.linuxquestions.org/questi...5&pagenumber=2 as well.

hope this helps someone out.

stocks29 09-04-2005 11:35 AM

and the saga continues.....

since my last post....I have been using lxdvdrip which is by far the best out so far.....

However there are some dvd's that it just won't work with, but when it doens't work neither does any dvd ripping software in linux (haven't tried dvdrip). However with these dvd decrypter works fine along with dvd2one and copy2dvd.

Grr....windows.....wish I knew more about writing dvd ripping/shrinking/burning software cause I would work night and day on it.

bjrnfrdnnd 10-27-2005 05:53 PM

Hello,
What should I do if the "open files" thing only results
in a plus sign, a yellow pointer pointing to the plus sign, and Desktop?

+ <- Desktop

No way to see any of the files which are on the computer.

I know this question has already been asked, but I found no answer.

neurosat 11-19-2005 09:16 PM

DVD encryption for DVDRip, Xine, Ogle, etc.
 
I ran into the same issue regarding DVD encryption.
I'm hoping this will help, but I had to get libdvdcss2 from "http://freshmeat.net/projects/libdvdcss". The package installs all of the DVD encryption libraries needed by most programs such as MPlayer, KPlayer, Xine, Ogle, etc.

usaf_sp 12-17-2005 01:01 AM

There are no substitutes for DVD Shrink and DVD Decryptor under Linux. There are programs out there that will work similarly, but not with the same quality. The Sony ArcCos protection will defeat almost all Linux dvd backup varients. To get both of these programs working you should use Wine 0.9. I have not tested with the new versions of wine yet.

void_linux 12-27-2005 02:58 AM

Quote:

Originally Posted by stocks29
and the saga continues.....

since my last post....I have been using lxdvdrip which is by far the best out so far.....

In addition to lxdvdrip ( http://openfacts.berlios.de/index-en...title=lxdvdrip ) another linux dvd backup program is k9copy ( http://k9copy.free.fr/ ).

amosf 12-27-2005 03:45 AM

dvdshrink works fine under crossover if you set it to winXP/2000 in the config...

usaf_sp 02-09-2006 05:32 PM

For those of you who love K9, and keep telling people to abandon DVDShrink and DVD Decryptor try to backup The Cave, The Fog or Lord of War and tell me how it went. You might just convince me then.

Hawky 04-06-2006 03:16 PM

Hey guys,

You do know that DVDShrink is available for linux dont you? You do not need to use wine to run it!

Just download the Linux version!

haitian-hacker 04-26-2006 06:44 PM

Quote:

Originally Posted by Hawky
Hey guys,

You do know that DVDShrink is available for linux dont you? You do not need to use wine to run it!

Just download the Linux version!


Ok, I have downloaded K9COPY
It looks more like dvdshrink, one click and you are allset, but it keeps freezing...

Xdvdshrink, seems to be working, but it doesn't give me the one click option.....For example I want to burn a dvd9-to-dvd5 that has multiple title, it just want to do one title only.

Any idea how to solve this?



Any Ideas about LDVD?
http://ldvd.sourceforge.net/

http://forum.digital-digest.com/arch...p/t-38781.html

Hawky 04-28-2006 04:50 PM

You can download DVDshrink for linux from many places. Here is one of them.

http://rpm.pbone.net/index.php3/stat...oarch.rpm.html

AdamHawkins.net

haitian-hacker 04-29-2006 10:54 AM

I installed K9Copy 1.0.4 it kept freezing on my FC4 machine, now I found 1.0.4-2 from http://packman.links2linux.org/?action=687, I installed it

I love this K9Copy is more of an approach to dvdshrink than x-dvdshrink

x-dvdshrink is cool too, a little more options, but a little complicated also...

SysGhost 08-18-2006 03:36 PM

Quote:

Originally Posted by plosiv
I've figured it out.

If the DVD is encrypted, it gives me the ASPI errors.
If it is unencrypted, it works perfectly.

Annoying.

Hey. I found a solution to this problem:
Insert your encrypted DVD, start any DVD-video player software (such as xine) and play the DVD
This seems to open the DVD's encryption and you should be able to read the same DVD with Windows DVDshrink via wine without any hassle. (Don't forget to stop the playback before starting DVDshrink for windows with wine)

You have todo this for each DVD that you insert that is encrypted.

This works for me, as I have the same problem.

(I'll test DVDshrink for linux and see how it works, thanks for the news!)

karelvdm 09-01-2006 02:38 AM

No one tried the dvdshrink rpm?:confused:

5matyb5 11-20-2006 10:16 PM

clone dvd's successfully
 
Hey guys I just stumbled across this thread and noticed I could be of some use.

Use k9copy it is a Linux version of dvd shrink or just install the dvd shrink tar file available from source, however I strongly recomend k9copy but be sure to get "k9copy 1.0.4-lp_2-2" as all earlier versions were packed with bugs. all seems to be solved now.

Cheers

usaf_sp 11-21-2006 11:39 AM

Does it crack the ArcoOs protection? What about RipGuard and the others?

5matyb5 11-22-2006 11:05 AM

clone dvds successfully
 
To my knowledge it only cracks css and macrovision, however it may very well crack the others...
give it a shot.

fstab001 11-22-2006 07:31 PM

K9Copy
 
K9Copy does exactly what DVDShink does.

It's quite poinless to run windows progs under linux, kind of defeats the whole purpose of using Linux. Under Windows DVDShrink is the program I swear by, and K9Copy meets all the standards of it.

fstab001 11-22-2006 07:44 PM

For DVD's that K9 wont decrypt, use dvdbackup first, then compress it to with K9.

Has worked for me under Ubuntu 6.06.1 & 6.10, Fedora Core4, FreeBSD 6.10, Gentoo 2006, and SuSE 10.

It even worked for The DaVinci Code, which is the first disk in a while DVDShrink would'nt even do.

usaf_sp 11-22-2006 09:21 PM

If you think that DVDShrink is the end all and be all of the Windows DVD copy, then you are not really knowledgeable of copying DVDs. DVDShrink will not copy ArcoOs generations 1,2 or 3. Nor will it copy Rip Guard or a whole host of other copy protections.

Most if not all Linux programs are useless when it comes to new copy protections. And if they do work, they are only good for AVI or DivX instead of the VOB (mpeg) format used by DVD players.

DVDShrink, DVD Decryptor are outdated even under windows.

If anyone knows of a Native Linux program or set of tools that will defeat Rip Guard, ArcoOs 1,2,and 3 please tell us.

teckk 11-23-2006 10:07 AM

http://www.linuxquestions.org/questi...hreadid=366442

dd will clone anything.

Vincent_Vega 11-24-2006 10:35 PM

So how would you make a copy of a DVD? dd if=/dev/dvd of=? ....etc....
How exactly would that command look in order to copy a regular DVD for backup purposes?

Vincent_Vega 01-08-2007 12:29 PM

...that's what I figured.

Mithrilhall 01-08-2007 12:34 PM

Have you tried K9Copy?

http://k9copy.sourceforge.net/
http://kde-apps.org/content/show.php?content=23885

Maxei 06-14-2007 09:51 PM

DVDShrink "clone" for Linux kind of sucks
 
Well, it is getting tiresome to see that the Windows version of DVD Shrink fails to work properly using WINE. I have installed the latest WINE version, 0.9.38)and DVD Shrink opens and analyses the DVD. So far so good. But then any action with the mouse on the GUI or just wait a little, DVD Shrink just closes (crashes?) without warning nor errors. So here I go with the Linux DVDShrink clone (which only the name is cloned, actually). This little piece of software runs in Konsole (there is no GUI afaik ?). However, it produced only one VOB file very short (like 5 minutes of play under Kaffeine). No errors or whatsoever. I don't understand, but as it is looks like another piece of crap. It does not compare in anything to the Windows version DVD Shrink. Don't waste your time testing it.
Oh boy, I'm depressed. I wish I could be a programmer so I could reverse engineer DVD Shrink and make a REAL CLONE for Linux. Are there any brave takers? I' m too old to start learning programming. :cry:

teckk 06-17-2007 10:28 PM

Quote:

So how would you make a copy of a DVD? dd if=/dev/dvd of=? ....etc....
How exactly would that command look in order to copy a regular DVD for backup purposes?
Something like
Code:

dd if=/dev/hdc of=abc.iso
Check the .iso
Code:

diff /dev/hdc abc.iso -r
Make the copy
Code:

/usr/bin/growisofs -dvd-compat -Z /dev/hdc=abc.iso

5matyb5 06-17-2007 11:21 PM

that would work, but it will not shrink the file if you want top burn to a 4.7 gig disk. Also "k3b" is a front end for many different tools including growisofs, dd, and mkisofs. Personally I would never copy dvd's because it's against the law:D , but I would use a number of different programs such as

vobcopy
k9copy
k3b
dd

but k9copy shpuld do everything you want ie: copy, shrink, create iso, it will even burn if you want to do it all in one step. You can find it here http://www.kde-apps.org/content/show.php?content=23885


All times are GMT -5. The time now is 12:08 PM.