Kodi Community Forum

Full Version: [RELEASE] Luemmel's DVD-Ripper (Script) for Linux, Mac, and Windows
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
I dont know if this helps you, but I have no problem ripping that DVD in DVD decryptor under windows
Mike8913 Wrote:I dont know if this helps you, but I have no problem ripping that DVD in DVD decryptor under windows

Do you save the DVD as ISO ?
if this is the case try to copy the dvd as iso or resque-copy

I do not use any Windows system at home so I can't test this issue.

This may help ...
Insert this dvd and open a terminal
and do type lsdvd -a

Do you see any error ?
Hello Hans,
I removed the MakeMKV installation section in the instructions.
I ran lsdvd -a and received no errors. I'm able to play the Disk as well with no issues. It seems like certain DVD's take a much longer time than others. I ripped a copy of Elf in approx. 44 mins. Both the Bourne Ultimatum and Ferris Bueller's Day Off took over 3 hours. I canceled bourne but I let Bueller run. I know it is trans coding though because I can watch some of it already.

Also, I mentioned this earlier, but this script pushed my box 96%+ CPU usage rendering any other tasks unbearably slow. Any ideas on how we can fix this?
linuxluemmel Wrote:Hello Fellows ;-)

The parameter to prevent checking for a valid makemkv licence is allready inside svn

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

Please do only enable this parameter if you have a valid makemkv licence-key (not a beta-key from the makekmkv-forum !!!)

Regards
Hans

Does this mean we can use the MakeMKV beta version forever without the time limit?

Do you know how this can be done when playing blu-ray through Makemkv Hans?





And another question is it possible to have the option of naming the movie in the normal transcoding section instead of just in expert mode, when updating the library it never picks up the name properly.
[quote=AuXBoX]Does this mean we can use the MakeMKV beta version forever without the time limit?
/QUOTE]

No -> With this paramter you can prevent the check for invalid licence.
Wiht the beta-key you have still to replace the key after 30 days of using the tool.

If you purchased a makemkv key, the startup of the addon is a bit faster because there is no check for a invalid licence needed. In exactly this case you should activate this setting to true.
Mike8913 Wrote:Also, I mentioned this earlier, but this script pushed my box 96%+ CPU usage rendering any other tasks unbearably slow. Any ideas on how we can fix this?


Could you please post a description of your hardware ...
If the load is to high, try to run the command "nice " over a commandline

You have to look for the pid of the main-process and give this pid as parameter to the nice command.
[QUOTE=AuXBoX;664261
And another question is it possible to have the option of naming the movie in the normal transcoding section instead of just in expert mode, when updating the library it never picks up the name properly.[/quote]

In the main menu transcoding I would like to have it as easy as possible.
The used name will be the inserted volname of the dvd without special chars or spaces ...

Regards
Hans
linuxluemmel Wrote:In the main menu transcoding I would like to have it as easy as possible.
The used name will be the inserted volname of the dvd without special chars or spaces ...

Regards
Hans

But when updating the library it wont recognize the name so everytime i have to rename it in the file manager? wouldnt it be easier to do this during the process of transcoding?
Hans, a problem just started occuring with Transparency!. I updated using addons to the newer 1.3.11 Transparency and when I backup a dvd, sometimes, not always xbmc crashes.

Prior to this I kept getting an error that the dvd was locked. I went into job control and selected remove lock and xbmc crashed. (Didn't get a copy of that one) When I started it again, gave me the same error, so I went into job control again and it removed the lock this time. I then started the backup, went into job control and looked at progress bar, everything was OK. When I selected exit the program so it could run in background, that's when it crashed and below is a snippet of the log.

Here is a snippet of the log, what is window id -10000?

Code:
20:58:00 T:2797243248 M:838373376  NOTICE: [swiss-army-knife]: [OSlog]  Command to run :ssh xbmc@localhost /home/xbmc/.xbmc/addons/script.video.swiss.army.knife/shell-linux/dvd3.sh  /dev/sr0 /home/xbmc/Videos MATCHSTICKMEN  > /dev/null 2>&1 &
20:58:00 T:2797243248 M:838201344  NOTICE: [swiss-army-knife]: [OSlog]  status command [ssh xbmc@localhost /home/xbmc/.xbmc/addons/script.video.swiss.army.knife/shell-linux/dvd3.sh  /dev/sr0 /home/xbmc/Videos MATCHSTICKMEN  > /dev/null 2>&1 &] is rc:=[-1]
20:58:00 T:2797243248 M:838258688  NOTICE: [swiss-army-knife]: [OSlog]  OSRun end
20:58:00 T:2797243248 M:838258688  NOTICE: [swiss-army-knife]: [OSlog]  dvd-handbrake.sh command executed
20:58:08 T:2797243248 M:837644288  NOTICE: [swiss-army-knife]: [OSlog]  pid-file exist ...
20:58:08 T:2797243248 M:837652480    INFO: Loading skin file: DialogOK.xml
20:58:08 T:2797243248 M:837652480   DEBUG: Load DialogOK.xml: 20.04ms
20:58:08 T:3055028096 M:837660672   DEBUG: ------ Window Init (DialogOK.xml) ------
20:58:08 T:3055028096 M:837660672   DEBUG: Alloc resources: 12.56ms (0.01 ms skin load)
20:58:09 T:3055028096 M:836444160   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
20:58:14 T:3055028096 M:836509696   DEBUG: ------ Window Deinit (DialogOK.xml) ------
20:58:14 T:2797243248 M:837701632    INFO: Loading skin file: DialogSelect.xml
20:58:14 T:2797243248 M:837615616   DEBUG: Load DialogSelect.xml: 24.61ms
20:58:14 T:3055028096 M:837615616   DEBUG: ------ Window Init (DialogSelect.xml) ------
20:58:14 T:3055028096 M:837636096   DEBUG: Alloc resources: 12.45ms (0.01 ms skin load)
20:58:17 T:3055028096 M:835694592   DEBUG: ------ Window Deinit (DialogSelect.xml) ------
20:58:17 T:2797243248 M:836866048  NOTICE: [swiss-army-knife]: [GUIlog] menu jobs activated
20:58:17 T:2797243248 M:836866048    INFO: Loading skin file: DialogSelect.xml
20:58:17 T:2797243248 M:837046272   DEBUG: Load DialogSelect.xml: 19.63ms
20:58:17 T:3055028096 M:837046272   DEBUG: ------ Window Init (DialogSelect.xml) ------
20:58:17 T:3055028096 M:836976640   DEBUG: Alloc resources: 12.37ms (0.01 ms skin load)
20:58:20 T:3055028096 M:835579904   DEBUG: ------ Window Deinit (DialogSelect.xml) ------
20:58:20 T:2797243248 M:836825088    INFO: Loading skin file: DialogProgress.xml
20:58:20 T:2797243248 M:836890624   DEBUG: Load DialogProgress.xml: 30.97ms
20:58:20 T:2797243248 M:836878336   DEBUG: DialogProgress::StartModal called
20:58:20 T:2797243248 M:836878336   DEBUG: ------ Window Init (DialogProgress.xml) ------
20:58:20 T:2797243248 M:836792320   DEBUG: Alloc resources: 45.63ms (0.01 ms skin load)
20:58:50 T:3055028096 M:832798720   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib-i486-linux.so)
20:58:50 T:3055028096 M:832663552   DEBUG: Unloading: ImageLib-i486-linux.so
21:07:58 T:3055028096 M:826466304   DEBUG: SECTION:LoadDLL(special://xbmcbin/system/ImageLib-i486-linux.so)
21:07:58 T:3055028096 M:826703872   DEBUG: Loading: /usr/lib/xbmc/system/ImageLib-i486-linux.so
21:08:01 T:3055028096 M:825503744   DEBUG: ------ Window Deinit (DialogProgress.xml) ------
21:08:02 T:2797243248 M:827768832    INFO: Loading skin file: DialogSelect.xml
21:08:02 T:2797243248 M:827850752   DEBUG: Load DialogSelect.xml: 75.70ms
21:08:02 T:3055028096 M:827850752   DEBUG: ------ Window Init (DialogSelect.xml) ------
21:08:02 T:3055028096 M:827850752   DEBUG: Alloc resources: 12.74ms (0.01 ms skin load)
21:08:05 T:3055028096 M:826368000   DEBUG: ------ Window Deinit (DialogSelect.xml) ------
21:08:05 T:2797243248 M:827469824  NOTICE: [swiss-army-knife]: [GUIlog] menu job-window exit
21:08:05 T:3055028096 M:826888192   DEBUG: Activating window ID: 0
21:08:05 T:3055028096 M:826888192   DEBUG: Checking if window ID 0 is locked.
[b]21:08:05 T:3055028096 M:826888192   ERROR: Unable to locate window with id -10000.  Check skin files[/b]
21:08:05 T:2797243248 M:826908672    INFO: Loading skin file: DialogSelect.xml
21:08:05 T:2797243248 M:827060224   DEBUG: Load DialogSelect.xml: 24.51ms
21:08:05 T:3055028096 M:827084800   DEBUG: ------ Window Init (DialogSelect.xml) ------
21:08:05 T:3055028096 M:827215872   DEBUG: Alloc resources: 13.33ms (0.01 ms skin load)
21:08:09 T:3055028096 M:827113472   DEBUG: ------ Window Deinit (DialogSelect.xml) ------
21:08:09 T:2797243248 M:828030976  NOTICE: [swiss-army-knife]: [GUIlog] menu exit activated
21:08:09 T:3055028096 M:828030976   DEBUG: Activating window ID: 0
21:08:09 T:3055028096 M:828030976   DEBUG: Checking if window ID 0 is locked.
21:08:09 T:3055028096 M:828030976   [b]ERROR: Unable to locate window with id -10000.  Check skin files[/b]21:08:09 T:2797243248 M:828030976  NOTICE: [swiss-army-knife]: [GUIlog] addon-ended
21:08:09 T:2797243248 M:828108800    INFO: Scriptresult: Success
21:08:09 T:2797243248 M:828100608    INFO:   msg: Fatal Python error: deletion of interned string failed

[b]THis just happened, I decided to try and copy the same dvd again, and after exiting Swiss Army Knife, to let job run in background, the main xbmc screen came on for a few seconds and then crashed.  Here is a snippet from the latest crash. [/b]

ml) ------
21:42:30 T:2891488112 M:869085184  NOTICE: [swiss-army-knife]: [GUIlog] menu job-window exit
21:42:30 T:3054704512 M:869085184   DEBUG: Activating window ID: 0
21:42:30 T:3054704512 M:869085184   DEBUG: Checking if window ID 0 is locked.
21:42:30 T:3054704512 M:869085184   ERROR: Unable to locate window with id -10000.  Check skin files
21:42:30 T:2891488112 M:869085184    INFO: Loading skin file: DialogSelect.xml
21:42:30 T:2891488112 M:869085184   DEBUG: Load DialogSelect.xml: 19.68ms
21:42:30 T:3054704512 M:869265408   DEBUG: ------ Window Init (DialogSelect.xml) ------
21:42:30 T:3054704512 M:869265408   DEBUG: SECTION:LoadDLL(special://xbmcbin/system/ImageLib-i486-linux.so)
21:42:30 T:3054704512 M:869265408   DEBUG: Loading: /usr/lib/xbmc/system/ImageLib-i486-linux.so
21:42:30 T:3054704512 M:869265408   DEBUG: Alloc resources: 27.07ms (0.01 ms skin load)
21:42:34 T:3054704512 M:866787328   DEBUG: ------ Window Deinit (DialogSelect.xml) ------
21:42:34 T:2891488112 M:867692544  NOTICE: [swiss-army-knife]: [GUIlog] menu exit activated
21:42:34 T:3054704512 M:867692544   DEBUG: Activating window ID: 0
21:42:34 T:3054704512 M:867692544   DEBUG: Checking if window ID 0 is locked.
21:42:34 T:3054704512 M:867692544   ERROR: Unable to locate window with id -10000.  Check skin files
21:42:34 T:2891488112 M:867692544  NOTICE: [swiss-army-knife]: [GUIlog] addon-ended
21:42:34 T:2891488112 M:867819520    INFO: Scriptresult: Success
21:42:34 T:2891488112 M:867819520    INFO: Python script stopped
21:42:34 T:2891488112 M:867819520   DEBUG: Thread 2891488112 terminating
21:42:34 T:3054704512 M:867819520   DEBUG: python thread 3 destructed
21:42:39 T:2891488112 M:868073472   DEBUG: thread start, auto delete: 1
21:42:39 T:2891488112 M:863793152   DEBUG: DoWork - took 175 ms to load special://skin/backgrounds/home-weather-conditional/33/weather-33.jpg
21:42:44 T:3054704512 M:867196928    INFO: Python, unloading python24.dll because no scripts are running anymore
linuxluemmel Wrote:Could you please post a description of your hardware ...
If the load is to high, try to run the command "nice " over a commandline

You have to look for the pid of the main-process and give this pid as parameter to the nice command.

I have a Zotac ION board with 2 GB mem, 32 GB SSD + 1 TB Raid 1 array

This box has no hardware shortcomings as far as I can grasp. There's something in this script that has the CPU working overtime with very little happening at the Disc Drive. Even watching the LED indicator on the Drive shows that the rip is unusually slow moving.
speed32219 Wrote:Here is a snippet of the log, what is window id -10000?

Code:
20:58:00 T:2797243248 M:838373376  NOTICE: [swiss-army-knife]: [OSlog]  Command to run :ssh xbmc@localhost /home/xbmc/.xbmc/addons/script.video.swiss.army.knife/shell-linux/dvd3.sh  /dev/sr0 /home/xbmc/Videos MATCHSTICKMEN  > /dev/null 2>&1 &
20:58:00 T:2797243248 M:838201344  NOTICE: [swiss-army-knife]: [OSlog]  status command [ssh xbmc@localhost /home/xbmc/.xbmc/addons/script.video.swiss.army.knife/shell-linux/dvd3.sh  /dev/sr0 /home/xbmc/Videos MATCHSTICKMEN  > /dev/null 2>&1 &] is rc:=[-1]
20:58:00 T:2797243248 M:838258688  NOTICE: [swiss-army-knife]: [OSlog]  OSRun end
20:58:00 T:2797243248 M:838258688  NOTICE: [swiss-army-knife]: [OSlog]  dvd-handbrake.sh command executed
20:58:08 T:2797243248 M:837644288  NOTICE: [swiss-army-knife]: [OSlog]  pid-file exist ...
20:58:08 T:2797243248 M:837652480    INFO: Loading skin file: DialogOK.xml
20:58:08 T:2797243248 M:837652480   DEBUG: Load DialogOK.xml: 20.04ms
20:58:08 T:3055028096 M:837660672   DEBUG: ------ Window Init (DialogOK.xml) ------
20:58:08 T:3055028096 M:837660672   DEBUG: Alloc resources: 12.56ms (0.01 ms skin load)
20:58:09 T:3055028096 M:836444160   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
20:58:14 T:3055028096 M:836509696   DEBUG: ------ Window Deinit (DialogOK.xml) ------
20:58:14 T:2797243248 M:837701632    INFO: Loading skin file: DialogSelect.xml
20:58:14 T:2797243248 M:837615616   DEBUG: Load DialogSelect.xml: 24.61ms
20:58:14 T:3055028096 M:837615616   DEBUG: ------ Window Init (DialogSelect.xml) ------
20:58:14 T:3055028096 M:837636096   DEBUG: Alloc resources: 12.45ms (0.01 ms skin load)
20:58:17 T:3055028096 M:835694592   DEBUG: ------ Window Deinit (DialogSelect.xml) ------
20:58:17 T:2797243248 M:836866048  NOTICE: [swiss-army-knife]: [GUIlog] menu jobs activated
20:58:17 T:2797243248 M:836866048    INFO: Loading skin file: DialogSelect.xml
20:58:17 T:2797243248 M:837046272   DEBUG: Load DialogSelect.xml: 19.63ms
20:58:17 T:3055028096 M:837046272   DEBUG: ------ Window Init (DialogSelect.xml) ------
20:58:17 T:3055028096 M:836976640   DEBUG: Alloc resources: 12.37ms (0.01 ms skin load)
20:58:20 T:3055028096 M:835579904   DEBUG: ------ Window Deinit (DialogSelect.xml) ------
20:58:20 T:2797243248 M:836825088    INFO: Loading skin file: DialogProgress.xml
20:58:20 T:2797243248 M:836890624   DEBUG: Load DialogProgress.xml: 30.97ms
20:58:20 T:2797243248 M:836878336   DEBUG: DialogProgress::StartModal called
20:58:20 T:2797243248 M:836878336   DEBUG: ------ Window Init (DialogProgress.xml) ------
20:58:20 T:2797243248 M:836792320   DEBUG: Alloc resources: 45.63ms (0.01 ms skin load)
20:58:50 T:3055028096 M:832798720   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/ImageLib-i486-linux.so)
20:58:50 T:3055028096 M:832663552   DEBUG: Unloading: ImageLib-i486-linux.so
21:07:58 T:3055028096 M:826466304   DEBUG: SECTION:LoadDLL(special://xbmcbin/system/ImageLib-i486-linux.so)
21:07:58 T:3055028096 M:826703872   DEBUG: Loading: /usr/lib/xbmc/system/ImageLib-i486-linux.so
21:08:01 T:3055028096 M:825503744   DEBUG: ------ Window Deinit (DialogProgress.xml) ------
21:08:02 T:2797243248 M:827768832    INFO: Loading skin file: DialogSelect.xml
21:08:02 T:2797243248 M:827850752   DEBUG: Load DialogSelect.xml: 75.70ms
21:08:02 T:3055028096 M:827850752   DEBUG: ------ Window Init (DialogSelect.xml) ------
21:08:02 T:3055028096 M:827850752   DEBUG: Alloc resources: 12.74ms (0.01 ms skin load)
21:08:05 T:3055028096 M:826368000   DEBUG: ------ Window Deinit (DialogSelect.xml) ------
21:08:05 T:2797243248 M:827469824  NOTICE: [swiss-army-knife]: [GUIlog] menu job-window exit
21:08:05 T:3055028096 M:826888192   DEBUG: Activating window ID: 0
21:08:05 T:3055028096 M:826888192   DEBUG: Checking if window ID 0 is locked.
[b]21:08:05 T:3055028096 M:826888192   ERROR: Unable to locate window with id -10000.  Check skin files[/b]
21:08:05 T:2797243248 M:826908672    INFO: Loading skin file: DialogSelect.xml
21:08:05 T:2797243248 M:827060224   DEBUG: Load DialogSelect.xml: 24.51ms
21:08:05 T:3055028096 M:827084800   DEBUG: ------ Window Init (DialogSelect.xml) ------
21:08:05 T:3055028096 M:827215872   DEBUG: Alloc resources: 13.33ms (0.01 ms skin load)
21:08:09 T:3055028096 M:827113472   DEBUG: ------ Window Deinit (DialogSelect.xml) ------
21:08:09 T:2797243248 M:828030976  NOTICE: [swiss-army-knife]: [GUIlog] menu exit activated
21:08:09 T:3055028096 M:828030976   DEBUG: Activating window ID: 0
21:08:09 T:3055028096 M:828030976   DEBUG: Checking if window ID 0 is locked.
21:08:09 T:3055028096 M:828030976   [b]ERROR: Unable to locate window with id -10000.  Check skin files[/b]21:08:09 T:2797243248 M:828030976  NOTICE: [swiss-army-knife]: [GUIlog] addon-ended
21:08:09 T:2797243248 M:828108800    INFO: Scriptresult: Success
21:08:09 T:2797243248 M:828100608    INFO:   msg: Fatal Python error: deletion of interned string failed

[b]THis just happened, I decided to try and copy the same dvd again, and after exiting Swiss Army Knife, to let job run in background, the main xbmc screen came on for a few seconds and then crashed.  Here is a snippet from the latest crash. [/b]

ml) ------
21:42:30 T:2891488112 M:869085184  NOTICE: [swiss-army-knife]: [GUIlog] menu job-window exit
21:42:30 T:3054704512 M:869085184   DEBUG: Activating window ID: 0
21:42:30 T:3054704512 M:869085184   DEBUG: Checking if window ID 0 is locked.
21:42:30 T:3054704512 M:869085184   ERROR: Unable to locate window with id -10000.  Check skin files
21:42:30 T:2891488112 M:869085184    INFO: Loading skin file: DialogSelect.xml
21:42:30 T:2891488112 M:869085184   DEBUG: Load DialogSelect.xml: 19.68ms
21:42:30 T:3054704512 M:869265408   DEBUG: ------ Window Init (DialogSelect.xml) ------
21:42:30 T:3054704512 M:869265408   DEBUG: SECTION:LoadDLL(special://xbmcbin/system/ImageLib-i486-linux.so)
21:42:30 T:3054704512 M:869265408   DEBUG: Loading: /usr/lib/xbmc/system/ImageLib-i486-linux.so
21:42:30 T:3054704512 M:869265408   DEBUG: Alloc resources: 27.07ms (0.01 ms skin load)
21:42:34 T:3054704512 M:866787328   DEBUG: ------ Window Deinit (DialogSelect.xml) ------
21:42:34 T:2891488112 M:867692544  NOTICE: [swiss-army-knife]: [GUIlog] menu exit activated
21:42:34 T:3054704512 M:867692544   DEBUG: Activating window ID: 0
21:42:34 T:3054704512 M:867692544   DEBUG: Checking if window ID 0 is locked.
21:42:34 T:3054704512 M:867692544   ERROR: Unable to locate window with id -10000.  Check skin files
21:42:34 T:2891488112 M:867692544  NOTICE: [swiss-army-knife]: [GUIlog] addon-ended
21:42:34 T:2891488112 M:867819520    INFO: Scriptresult: Success
21:42:34 T:2891488112 M:867819520    INFO: Python script stopped
21:42:34 T:2891488112 M:867819520   DEBUG: Thread 2891488112 terminating
21:42:34 T:3054704512 M:867819520   DEBUG: python thread 3 destructed
21:42:39 T:2891488112 M:868073472   DEBUG: thread start, auto delete: 1
21:42:39 T:2891488112 M:863793152   DEBUG: DoWork - took 175 ms to load special://skin/backgrounds/home-weather-conditional/33/weather-33.jpg
21:42:44 T:3054704512 M:867196928    INFO: Python, unloading python24.dll because no scripts are running anymore

I had this error also a few times ... I posted a bug-report about this imho xbmc python error. I hope this will be fixed.

Regards Hans
Mike8913 Wrote:I have a Zotac ION board with 2 GB mem, 32 GB SSD + 1 TB Raid 1 array

This box has no hardware shortcomings as far as I can grasp. There's something in this script that has the CPU working overtime with very little happening at the Disc Drive. Even watching the LED indicator on the Drive shows that the rip is unusually slow moving.

I have a Asrock Board with 4 GB RAM and SATA-Disk. It is only a guess that your local RAID may slow down io perfomance,

Could you try to rip a dvd to the SSD ?
Only a single dvd for test purposes ?

Regards Hans

Sorry for the long delay

Inside switzerland we have a lot of snow and
every movement to my work is a little nightmare on elm street .-(
Hello fellows ;-)

After the release 0.6.18 I found a very hard bug :

http://code.google.com/p/swiss-army-knif...b/Linux.py

In the case you don't activate enhanced logging inside the addon-configuration there will be no problem.

Please deactivate enhanced logging over the settings.

Regards
Hans
i can no longer find this on the repository. has it been removed from luxeria-repository?
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44