2010-12-11, 20:41
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
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
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?
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
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.
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
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.