• 1
  • 35
  • 36
  • 37(current)
  • 38
  • 39
  • 44
[RELEASE] Luemmel's DVD-Ripper (Script) for Linux, Mac, and Windows
Funny ;-) I see it :-)

http://luxeria-repository.googlecode.com...k/luxeria/

I repacked the zip and did integrate the log-bug patch.
I hope this zip can be installed.
Reply
Hello fellows ;-)

First I survived my birthday :-) and I found one little bug that is allready fixed inside svn

http://code.google.com/p/swiss-army-knif...tail?r=458

You only have to edit 2 files (shell-scripts) and to insert a single line of code.

The next bug I found is a bit harder to be resolved ...

Let us make a example how this error do come :

Inside the addon the shell-script dvd-chapter.sh is used to generate a list of tracks ...

Code:
----------------------------------------------------------------------------
script    : dvd-chapter.sh
version   : 0.6.19 [swiss-army-knife addon] [01.03.2011]
copyright : (C) <2010-2011>  <[email protected]>
changed to /home/user/.xbmc/addons/script.video.swiss.army.knife/shell-linux
scipt is using a device as source [/dev/sr0]
----------------------------------------------------------------------------

INFO track-index:[00] length:[00:00:23.130] chapters:[01]
INFO track-index:[01] length:[00:00:07.000] chapters:[01]
INFO track-index:[02] length:[01:36:44.370] chapters:[11]
INFO track-index:[03] length:[00:02:04.040] chapters:[01]
INFO track-index:[04] length:[00:02:00.130] chapters:[01]
INFO track-index:[05] length:[00:02:11.370] chapters:[01]
INFO track-index:[06] length:[00:01:57.160] chapters:[01]
INFO track-index:[07] length:[00:01:28.050] chapters:[01]
INFO track-index:[08] length:[00:01:06.320] chapters:[01]
INFO track-index:[09] length:[00:01:53.240] chapters:[01]
INFO track-index:[10] length:[00:01:38.090] chapters:[01]
INFO track-index:[11] length:[00:14:20.050] chapters:[09]
INFO track-index:[12] length:[00:01:51.280] chapters:[02]
INFO track-index:[13] length:[00:26:36.250] chapters:[05]
INFO track-index:[14] length:[00:09:23.080] chapters:[10]
INFO track-index:[15] length:[00:34:31.210] chapters:[20]
INFO track-index:[16] length:[00:03:35.140] chapters:[02]


INFO volume-name of the current inserted dvd is [GHETTOGANGZ2ULTIMATUM]
INFO automatic selected track from inserted dvd [03][line-index]
INFO default language 1 [en]
INFO default language 1 [en] not found inside track [03]

----------------------- script rc=5 -----------------------------
-----------------------------------------------------------------
user@xbmcdev:~/.xbmc/addons/script.video.swiss.army.knife/shell-linux$

From the normal output of the script it seems that all is ok ....
but as soon the command makemkvcon --info is executed on the same disk we have a diffrent output ....

Code:
user@xbmcdev:~/.xbmc/addons/script.video.swiss.army.knife/shell-linux$ makemkvcon info dev:/dev/sr0
MakeMKV v1.6.3 linux(x86-release) started
Using direct disc access mode
Title #0 has length of 23 seconds which is less than minimum title length of 120 seconds and was therefore skipped
Title #1 has length of 7 seconds which is less than minimum title length of 120 seconds and was therefore skipped
Title #2 was added (12 cell(s), 1:36:38)
Title #3 was added (1 cell(s), 0:02:04)
Title #4 was added (1 cell(s), 0:02:00)
Title #5 was added (1 cell(s), 0:02:11)
Title #6 has length of 117 seconds which is less than minimum title length of 120 seconds and was therefore skipped
Title #7 has length of 88 seconds which is less than minimum title length of 120 seconds and was therefore skipped
Title #8 has length of 66 seconds which is less than minimum title length of 120 seconds and was therefore skipped
Title #9 has length of 113 seconds which is less than minimum title length of 120 seconds and was therefore skipped
Title #10 has length of 98 seconds which is less than minimum title length of 120 seconds and was therefore skipped
Cells 9-end were skipped due to cell commands (structure protection?)
Title #11 was added (8 cell(s), 0:14:17)
Title #12 has length of 111 seconds which is less than minimum title length of 120 seconds and was therefore skipped
Cells 5-end were skipped due to cell commands (structure protection?)
Title #13 was added (4 cell(s), 0:26:35)
Cells 10-end were skipped due to cell commands (structure protection?)
Title #14 was added (9 cell(s), 0:09:18)
Cells 20-end were skipped due to cell commands (structure protection?)
Title #15 was added (19 cell(s), 0:34:23)
Cells 2-end were skipped due to cell commands (structure protection?)
Title #16 was added (1 cell(s), 0:03:35)
Operation successfully completed
Total 9 titles
Title  0
0 Video Mpeg2
1 Audio Dolby Digital
2 Audio Dolby Digital
3 Subtitles Dvd Subtitles
4 Subtitles Dvd Subtitles

Title  1
0 Video Mpeg2
1 Audio Dolby Digital

Title  2
0 Video Mpeg2
1 Audio Dolby Digital

Title  3
0 Video Mpeg2
1 Audio Dolby Digital

Title  4
0 Video Mpeg2
1 Audio Dolby Digital

Title  5
0 Video Mpeg2
1 Audio Dolby Digital
2 Subtitles Dvd Subtitles

Title  6
0 Video Mpeg2
1 Audio Dolby Digital
2 Subtitles Dvd Subtitles

Title  7
0 Video Mpeg2
1 Audio Dolby Digital
2 Subtitles Dvd Subtitles

Title  8
0 Video Mpeg2
1 Audio Dolby Digital

The index for start-track is not the same as for dvd-chapter.
(on dvd-chapter.sh I would choose track 2 and on scripts that
use makemkv I must use track 0 because the origin tracks 0 and 1 are invalid)
I try to integrate a solution for this invalid tracks inside the shell-scripts.

With the best regards from switzerland
Hans
Reply
Is the addon.zip package for real? It only seems to contain addon.xml and a png image? Should I just get the trunk head from the svn repo and copy that to the addons directory?

And does this tool work for TV shows? I was going to start my ripping work with those. And I'd like to copy them to a different directory from the movies.
Reply
http://luxeria-repository.googlecode.com...0.6.18.zip
Reply
OK, I got it installed but when I try to copy a DVD to a ISO file, XBMC crashes. Twice.

I put the crash log to http://www.sofistes.net/xbmc_crash.log .

I did what the instructions told me, i.e. unzipped the zip file to the addons dir, run the setup script and said yes to every question. Is the plugin supposed to work so that in order to get the options to rip you have to go to Programs -> SAF? I thought the options would also show up when I click the play button on the main XBMC screen?

EDIT: Sorry about that, I should have changed the rip directory away from my root partition as it's quite tiny. Now it seems to work.
Reply
OK, it seems to work! I got an ISO file out of that DVD. Looks like it's dual layered, though, as the file size is a whopping 8GB..
Reply
Did I miss something but do I need to transcode each chapter separately when I'm dealing with a TV series? If so, could you tell which parameters you use to transcode from the DVD to x262-high? If this is the case, I'll have to rip to ISO first and then transcode that.

Would this work?
Code:
./HandBrakeCLI -i DVD -o ~/Movies/movie.mp4  -e x264 -q 20.0 -a 1,1 -E faac,copy:ac3 -B 160,160 -6 dpl2,auto -R Auto,Auto -D 0.0,0.0 -f mp4 --detelecine --decomb --loose-anamorphic -m -x b-adapt=2:rc-lookahead=50

from https://trac.handbrake.fr/wiki/BuiltInPr...ighprofile .

Oh yes, I can add my own scripts to SAK to run after the ISO file has been ripped.

EDIT: Yikes, it would take > 2h to run that script and even with default values it takes about an hour. Maybe I'll create crontab job instead.. or just rip these to ISO first and then transcode them later.

I also noticed that for some reason XBMC doesn't show the ISO file in the library. It does see the series (and finds the info for it), but when I go to the folder, it's empty.
Reply
Handbrake 0.9.5 is released a few days and debian files for testing can be downloaded over
SAK Homepage.

- Please confirm that this deb files are working for 32 and 64 Bit

regards
Hans
Reply
I am getting Installation Failed for both your Repo and your addon (link above) Sad
tested on both XBMC Live and Windows (Dharma both)
Reply
linuxluemmel, can I run dvd-iso.sh from the command line? I tried with one DVD and the script never finished (I think the sizes never matched).

And any ideas why copying the disk with
Code:
#!/bin/bash

lsdvd -a /dev/sr0 1>/dev/null 2>&1
dd bs=2048 if=/dev/sr0 of=/data/movies/$1.iso
Failed on a disk? isoinfo said this:
Code:
Logical block size is: 2048
Volume size is: 3705189
NO Joliet present
**BAD RRVERSION (0)
NO Rock Ridge present
Only about 5 gigs was copied when it should have copied nearly 8. dd didn't complain anything, it just didn't copy more. I had earlier encoded this disk (before I decided just to make an iso copy) so it should be ok. I can't figure out from your script if I need to run more than lsdvd and dd.

This worked on a few other disks, tho.

And seems to work when I use SAK. Trouble is, it's much easier for me to rip those DVD's from desktop PC using a shell.
Reply
In the normal case it should be possible to run the command direct from the command line ....
But be sure to have all directorys local ...
Reply
I have. It's really odd, because I can't see anything special that I should do. The loop you have is pretty clever, actually.

BTW, is there a bug with directory handling? I changed the default target directories and deleted /dvdrip altogether, now I can only use Expert Mode as the main rip modes just give me an error (can't remember which out of the top of my head).
Reply
One idea that struck me is that is the size on the HDD necessarily equal to size on DVD? Block size on DVD is 2k, but what if block size on HDD, say, 4k? I can't remember how to check block size of an RAID array, but I distinctly remember I put it to bigger than 2k.
Reply
Makistos Wrote:I have. It's really odd, because I can't see anything special that I should do. The loop you have is pretty clever, actually.

BTW, is there a bug with directory handling? I changed the default target directories and deleted /dvdrip altogether, now I can only use Expert Mode as the main rip modes just give me an error (can't remember which out of the top of my head).

In the case you deleted the directory /dvdrip you have to change the settings
to your new prefered directory in wich you should have full write access.


Regards
Hans
Reply
Obviously it's ok, since Expert mode works.
Reply
  • 1
  • 35
  • 36
  • 37(current)
  • 38
  • 39
  • 44

Logout Mark Read Team Forum Stats Members Help
[RELEASE] Luemmel's DVD-Ripper (Script) for Linux, Mac, and Windows2