Author Topic: K9Copy and Digital Copy  (Read 2333 times)

Offline longtom

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3342
  • Satellite Station Africa
Re: K9Copy and Digital Copy
« Reply #15 on: September 18, 2010, 01:46:16 AM »
JB, I have the video of Robots - you can come over and pick it up for as long as you need it.  I'll have a pint in the fridge ...

If you have more than the one pint, I might just forget about the video!        ;D ;D ;D

Stocked up and lamb chops on the braai - waitin' ... ;D
Regards longtom

PCLinuxOS KDE 32bit
Intel Core 2 Duo E2200 / 2.2 GHz
2GB Ram
Nvidia GT610

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: K9Copy and Digital Copy
« Reply #16 on: September 18, 2010, 12:39:36 PM »
Picked up a copy of Prince of Persia - Sands of Time  today.

I made a copy of it .....  that is a full copy, totalling 7.4GBs, and played it on my PC using VLC.

An enjoyable movie   ;D

My DVD drive is  /dev/sr0
I had sufficient space on my Data partition, so used that. Added a directory for the movie, and ran

Code: [Select]
ddrescue  -v  -n  -b2048  /dev/sr0 /media/Data/Prince/prince.iso
{-v ... verbose to give me output to follow in the terminal
  -n ... notruncate ....  so that the output has no breks in it}

I then watched as ddrescue 'did its thing' ....  reporting three errors that it skipped.
It does take some time to do of course.

I believe, but am not absolutely certain, that using K3b to make an image of the DVD would not yield a playable result. It would also take a long time ...  probably the same length of time as the movie plays.


I have not tried to create a reduced size ISO, but know that would take a bit of doing, as the DVD has misdirection in its pointers for titles and chapters or such, and so it might be a bit of work to get it reduced.

Nevertheless the original aim - to have a digital copy on the destop to play is satisified.

regards.

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: K9Copy and Digital Copy
« Reply #17 on: September 18, 2010, 07:50:24 PM »
I spent some time today looking at this disk.

Yes it appear that they have introduced a break in the pressing of the DVD so that most apps cannot read it .....  such as libdvdread dependent ones.

By trial and error I discovered that the break comes just before the main film starts .....  at just under 7.5MBs into the DVD.

So with that info, I could use vobcopy to rip the VOB files from the disk, using this command ...

Code: [Select]
vobcopy -b 7.5m -l -i /dev/sr0 -f -o /media/Data/Prince/
That gives one big VOB file (decrypted).

I could then use any of the DVDAuthoring apps to create a new DVD from that file.

I used DVDStyler.  If you come across audio errors in the output then you can try telling it not to use mplex. (Core tab, bottom of page, in settings)

Of course if you want a smaller size there will be more work to be done, but the biggest hurdle is now overcome.

I got a nice clean 5.8GB ISO instead of a 7.4GB ISO that all apps seemed to thing was 76GB in size.
I have no ads or trailers or other such crud. Just the main movie.

Of course I shouold have said from the outset ......  using techniques like these may be against the law in your jurisdiction, so please ensure that is not the case before doing any copying of copyrighted video content from any source.

regards.
« Last Edit: September 19, 2010, 02:28:48 AM by JohnBoy »

Offline Georgetoon

  • Hero Member
  • *****
  • Posts: 3187
  • Don't rush the bacon.:)
    • Georgetoon Cartoons!
Re: K9Copy and Digital Copy
« Reply #18 on: September 18, 2010, 09:19:06 PM »
Excellent!:) Bravo!:)

But is there any way to do this with K9copy?
Toonfully,

Mark
-----------
Lenovo 14" ThinkPad Edge (0578F5U) with Core i3 Processor(i3-370M) 2.40 GHz 4GB RAM
Acer Aspire 9300 Laptop
Desktop Icy Dock system with AMD PHENOM X4 QUADCORE 9650 2.3GHZ 4MB L1 , ‎NVidia GEFORCE 9400GT 1GB 2X DVI PCIE graphics card, 22" Chimei monitor.

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: K9Copy and Digital Copy
« Reply #19 on: September 19, 2010, 02:23:11 AM »
Excellent!:) Bravo!:)

But is there any way to do this with K9copy?

Not that I know ......  but I suspect that this was only necessary because something is amiss with K9copy. I thought I had used K9copy on a similar disk previously - and without error.

This is the reported error from K9copy

Code: [Select]
Application: k9copy (k9copy), signal: Aborted
Traceback (most recent call last):
  File "/usr/share/gdb/auto-load/usr/lib/libgobject-2.0.so.0.2400.2-gdb.py", line 9, in <module>
    from gobject import register
  File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module>
    import gdb.backtrace
ImportError: No module named backtrace

Maybe someone would like to take a look to see if something could be done about it.  I have no ideas at all.

**

I edited the post above, as I found ripping to several files with vobcopy, was less usable than ripping to one latge VOB -----  there was less likelihood of audio errors when using the one file in DVDStyler.

regards.


Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: K9Copy and Digital Copy
« Reply #20 on: September 19, 2010, 03:43:25 AM »
I had another look at the above procedure with a view to eliminating any problms and/or errors that might crop up. Also of course it would be useful to reduce the size of the resulting ISO so that it would fit on a single layer DVD.

Here is what worked for me ......

rip the main title to one large VOB file using the vobcopy command
Quote
vobcopy -b 7.5m -l -i /dev/sr0 -f -o /media/Data/DVD/

Using Avidemux - drag and drop the resultant VOB file into the window.
It will ask that you select the main audio track. It had the correct one selected for me, but it did note that there was an audio offset. So take note of that offset.

Down the left side of Avidemux select
Video - copy
Audio - copy
Format - MPEG-PS (A+V)

Under the Audio section, tick the "Shift" box.
The Audio was -1200m/Secs when I selected the main track, so I entered +1200m/Secs here to account for that.

Now select File - Save - Save Video ...

{I did not bother, but it is also easy to cut from the file any intro not needed, and also the long ending, usually just with music and credits. This would reduce the file size being used and allow for a little more quality of the end result. I doubt it would be noticable, but you never know}

The file this produces should have been reduced to fit on a single layer DVD (4.3GB), and most importantly of all, should be DVD Video compliant.

Now this file can be fed into DVDStyler, which will detect and accept the validity of the compliance of the file, and thus not have to demux & remux it again.
This makes the DVDStyler process very quick indeed.

You may choose to add a menu (or not) in DVDStyler.
You may choose to output to a DVD Fileset or have it produce an ISO.

Either way, the result should be as good as one needs for a back up of the original DVD and will fit on a single layer DVD media.

Again I remind anyone reading this to ensure they have the right to make a personal copy of the work before embarking on this.

regards.

Offline ElCuervo

  • Hero Member
  • *****
  • Posts: 4148
  • I'm walking on sunshine!
Re: K9Copy and Digital Copy
« Reply #21 on: September 19, 2010, 08:29:49 AM »
@JohnBoy - you rock. This is the kind of nugget that makes me a forum addict.
"If there were no change, there would be no butterflies" - Walt Disney

http://linuxcounter.net/cert/433721.png

Offline Georgetoon

  • Hero Member
  • *****
  • Posts: 3187
  • Don't rush the bacon.:)
    • Georgetoon Cartoons!
Re: K9Copy and Digital Copy
« Reply #22 on: September 19, 2010, 09:39:51 AM »
Johnboy,

vobcopy -b 7.5m -l -i /dev/sr0 -f -o /media/Data/DVD/ gives me:

"bash: vobcopy: command not found."
I assume vobcopy needs to be installed.   Insn't it installed by default?
Toonfully,

Mark
-----------
Lenovo 14" ThinkPad Edge (0578F5U) with Core i3 Processor(i3-370M) 2.40 GHz 4GB RAM
Acer Aspire 9300 Laptop
Desktop Icy Dock system with AMD PHENOM X4 QUADCORE 9650 2.3GHZ 4MB L1 , ‎NVidia GEFORCE 9400GT 1GB 2X DVI PCIE graphics card, 22" Chimei monitor.

Offline Was_Just19

  • Hero Member
  • *****
  • Posts: 6852
  • MLU
Re: K9Copy and Digital Copy
« Reply #23 on: September 19, 2010, 10:39:40 AM »
Johnboy,

vobcopy -b 7.5m -l -i /dev/sr0 -f -o /media/Data/DVD/ gives me:

"bash: vobcopy: command not found."
I assume vobcopy needs to be installed.   Insn't it installed by default?

You need to install it.

Also you might need to use a smaller number initially for the -b option .....  mine was a EU region disk ....  yours may be different.
A bit of trial and error may be necessary to get the correct number.

regards.

Offline oposit

  • Full Member
  • ***
  • Posts: 71
Re: K9Copy and Digital Copy
« Reply #24 on: September 20, 2010, 05:02:28 PM »
Sorry for my Google translator english.

I got a big surprise when trying to watch a Disney DVD in TMLinux. These DVDs have a special protection againsts "illegal" reproduction.

Good work done with this "protection"! In many cases the DVD cannot be reproduced legally. There are even documented cases of Disney branded DVD players that can not play the Disney DVD.

Fortunately there is a way to play these discs on Linux and even create backups.

To view the DVD use VLC with DVD navigation menus. And use second option in main menu (in spanish is "reproducción") to see what title is currently playing. Sometimes you have to install a plugin to use the DVD menu in VLC.

This will help us to create a backup of the movie running the following command in a terminal:

mplayer dvd://<title> -sb 4000000 -dumpstream -dumpfile name.vob

-ss hh: mm: ss can also be used as an alternative to -sb  to start backing up from the time specified. This is useful to start backing up after an error.

Of course <title> has to be be replaced with the number displayed  through the menu of VLC and 4000000 can be a greater number to skip the "protection"

The file name.vob can be played using mplayer , VLC or other multimedia software. Besides DeVeDe can be used to burn this file to DVD format for use with home DVD players and keep the original DVDs safe from scratches.

Another option is to backup to an mp4 file with the command:

mencoder dvd://<titulo> -sb 4000000 -aid 130 -oac mp3lame -lameopts abr:br=128 -ovc lavc -lavcopts vcodec=mpeg4:vhq:v4mv:vqmin=2:vbitrate=1750 -vf pp=de -o "name.avi"

The number after -aid depends on the audio channel desired and vbitrate can be higher for better quality of the video.

As mplayer options may vary according to the distribution it can be safer to use acidrip with option -sb 4000000 or use queue and copy the output to command line.