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
nemuri Wrote:First and foremost thank you Hans for this brilliant script. I think I'm very close to having it working (all dependencies are ok; iso ripping works perfectly) but am getting the following error when I try to transcode:
Code:
global name '_language__' is not defined
Here's my xbmc.log:

http://pastebin.com/m2f6fb321

I'm guessing this is a relatively simple issue but I'm thoroughly n00b; apologies in advance. Any help immensely appreciated.

replace _language__ with __language__ and it should work ;-)

I guess you removed _ inside a editor .-)

Regards
Hans
linuxluemmel Wrote:replace _language__ with __language__ and it should work ;-)

Works!! Laugh Knew it had to be a simple fix; thank you!

linuxluemmel Wrote:I guess you removed _ inside a editor .-)

That I *definitely* didn't do; never opened the default.py file, so not sure how it happened...
Anyhow, problem solved. Many thanks!
nemuri Wrote:Works!! Laugh Knew it had to be a simple fix; thank you!



That I *definitely* didn't do; never opened the default.py file, so not sure how it happened...
Anyhow, problem solved. Many thanks!

No problem and I wish happy ripping ;-)

Regards
Hans
Hello

First to say is "Thank YOU!" this Script is great.

But when i install the Script i get 2 Errors.

First i install it the way you told in the Readme.

-"Riping a DVD" its OK (no Errors)
-"Transcode a DVD" its OK (no Errors)

but

-"Start the network-server part over ssh" Returns Errors
-"Start the network-lient part over ssh" Returns also Errors

Errors Server:
http://pastebin.com/m2e1cd9e6

Errors Client:
http://pastebin.com/m2ee9ed7d

Is network-server and network-client important for normal use?

MFG

His
Hiswif Wrote:Hello

First to say is "Thank YOU!" this Script is great.

But when i install the Script i get 2 Errors.

First i install it the way you told in the Readme.

-"Riping a DVD" its OK (no Errors)
-"Transcode a DVD" its OK (no Errors)

but

-"Start the network-server part over ssh" Returns Errors
-"Start the network-lient part over ssh" Returns also Errors

Errors Server:
http://pastebin.com/m2e1cd9e6

Errors Client:
http://pastebin.com/m2ee9ed7d

Is network-server and network-client important for normal use?

MFG

His

I did test it with 9.04 I do upgrade to 9.10 this weekend and will test it again.

BTW : It has to do with the netcat programm ....

Regards
Hans
error by execution of the dd command when running Blue-Pill on Windows XBMC.

I have tried playing the film first then ripping still the same "error by execution of the dd command"

any ideas?

I have also tried the XBMC Live and ubuntu + XBMC and cnanot get this script working Sad Sad
Magma82 Wrote:error by execution of the dd command when running Blue-Pill on Windows XBMC.

I have tried playing the film first then ripping still the same "error by execution of the dd command"

any ideas?

I have also tried the XBMC Live and ubuntu + XBMC and cnanot get this script working Sad Sad

Could you provide a bit more information ?

Windows Version ?
xbmc Version ?
a log ?

Regards
Hans
XBMC 9.11: Camelot (Confluence Skin)
Windows 7 Ultimate

blue.log keeps repeating

create list of devices
calculate size of rip
cleanup
hstart.exe executed
blue-ends


over and over


ddrip.log

RUNNING DD.EXE
\\?\Device\CdRom0
C:\MyDVDs
Blade.iso


D:\ = DVD drive
I have tested the script with this commands:
Code:
ssh vdr@localhost "~/.xbmc/scripts/My\ Scripts/dvd-red/ssh/dvdrip.sh /dev/sr0 /video/dvd change-me.iso"
starting dvdpreview.sh script
dvdpreview.sh runs now in the background
starting dvddd.sh script
dd runs now in the background
vdr@vdr-pc:~$

but I get this errors:

dvdimport-error.log:
Code:
dd: Lesen von „/dev/sr0“: Input/output error
1157360+0 Datensätze ein
1157360+0 Datensätze aus
592568320 Bytes (593 MB) kopiert, 7,30745 s, 81,1 MB/s

preview-error.log:
Code:
transcode v1.1.4 (C) 2001-2003 Thomas Oestreich, 2003-2009 Transcode Team
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Using libdvdcss version 1.2.10 for DVD access
[dvd_reader.c] DVD title 1/26: 40 chapter(s), 1 angle(s), title set 2
[dvd_reader.c] title playback time: 02:26:02.10  8763 sec
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Using libdvdcss version 1.2.10 for DVD access
[dvd_reader.c] DVD title 1/26: 40 chapter(s), 1 angle(s), title set 2
[dvd_reader.c] title playback time: 02:26:02.10  8763 sec
[transcode] V: auto-probing     | /dev/sr0 (OK)
[transcode] V: import format    | MPEG 2 program stream in DVD PAL (module=dvd)
[transcode] A: auto-probing     | /dev/sr0 (OK)
[transcode] A: import format    | AC3 in DVD PAL (module=dvd)
[transcode] V: AV demux/sync    | (1) sync AV at initial MPEG sequence
[transcode] V: import frame     | 720x576  1.25:1  encoded @ 16:9
[transcode] V: pre clip frame   | 720x768 (-96,0,-96,0)
[transcode] V: zoom             | 352x288  1.63:1 (Lanczos3)
[transcode] V: bits/pixel       | 0.710
[transcode] V: decoding fps,frc | 25.000,3
[transcode] V: video format     | YUV420 (4:2:0) aka I420
[transcode] A: import format    | 0x2000  AC3          [48000,16,2]
[transcode] A: export format    | 0x50    MPEG ES Layer 2 [48000,16,2]  128 kbps
[transcode] V: export format    | unknown (module dependant)
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: language         | en
[transcode] A: bytes per frame  | 7680 (7680.000000)
[transcode] A: adjustment       | 0@1000
[transcode] V: IA32/AMD64 accel | sse3 sse2 sse 3dnowext 3dnow mmxext mmx cmove asm
[transcode] V: video buffer     | 10 @ 720x576 [0x2]
[transcode] A: audio buffer     | 10 @ 48000x2x16
[import_dvd.so] v0.4.1 (2007-07-15) (video) DVD | (audio) MPEG/AC3/PCM
[export_mp2enc.so] v1.0.11 (2006-03-16) (audio) MPEG 1/2
[export_mpeg2enc.so] v1.1.10 (2003-10-30) (video) MPEG 1/2
libdvdread: Using libdvdcss version 1.2.10 for DVD access
[import_dvd.so] tccat -T 1,1,1 -i "/dev/sr0" -t dvd -d 0 | tcdemux -a 0 -x ac3 -S 0 -M 1 -d 0 | tcextract -t vob -x ac3 -a 0 -d 0 | tcdecode -x ac3 -d 0 -s 1.000000,1.000000,1.000000 -A 0
libdvdread: Using libdvdcss version 1.2.10 for DVD access
[import_dvd.so] tccat -T 1,1,1 -i "/dev/sr0" -t dvd -d 0 | tcdemux -s 0x80 -x mpeg2 -S 0 -M 1 -d 0 | tcextract -t vob -a 0 -x mpeg2 -d 0 | tcdecode -x mpeg2 -d 0 -y yuv420p
[import_dvd.so] delaying DVD access by 3 seconds
[import_dvd.so] waiting...

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x0001b870
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0001bff6
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0001c09a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x0002bf30
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x000467c6
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x003c088e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x003c2929
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x003d6846
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x003f3725
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x003f3735
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_0.VOB at 0x003f3785
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x003f3795
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_0.VOB at 0x003f37e5
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x003f37f5
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_0.VOB at 0x003f3845
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x003f3855
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_0.VOB at 0x003f38a5
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_1.VOB at 0x003f38b5
libdvdread: Elapsed time 0
libdvdread: Found 10 VTS's
libdvdread: Elapsed time 0
[dvd_reader.c] critical: Read failed for 319 blocks at 1905
[import_dvd.so] waiting...
[import_dvd.so] waiting...
libdvdread: Using libdvdcss version 1.2.10 for DVD access
[decode_mpeg2.c] libmpeg2 acceleration: none (plain C)
[export_mpeg2enc.so] mpeg2enc -v 0 -I 0 -f 1 -F 3 -n p  -a 2  -o "/video/dvd/preview"
[export_mp2enc.so] export profile changed samplerate: 48000 -> 44100 Hz.
[export_mp2enc.so] export profile changed bitrate: 128 -> 224 kbps.
[export_mp2enc.so] (55/4096) cmd=mp2enc -v 0 -r 44100 -b 224 -s -o "/video/dvd/preview"

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x0001b870
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x0001bff6
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0001c09a
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x0002bf30
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x000467c6
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x003c088e
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x003c2929
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x003d6846
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_0.VOB at 0x003f3725
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x003f3735
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_0.VOB at 0x003f3785
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x003f3795
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_0.VOB at 0x003f37e5
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x003f37f5
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_0.VOB at 0x003f3845
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x003f3855
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_0.VOB at 0x003f38a5
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_1.VOB at 0x003f38b5
libdvdread: Elapsed time 0
libdvdread: Found 10 VTS's
libdvdread: Elapsed time 0
**ERROR: [mp2enc] EOF in WAV header
**ERROR: [mp2enc] failure reading WAV file
[decoder.c] cancelling the import threads
[transcode] encoded 0 frames (0 dropped, 0 cloned), clip length   0.00 s
   INFO: [mplex] mplex version 1.9.0 (2.2.7 $Date: 2006/02/01 22:23:01 $)
**ERROR: [mplex] Unable to open file preview.m1v for reading.

Who can help me?

OS: Ubuntu 9.10

Thank's
no solution? Sad
I have the same preview-error.log as you driver140771. I do not have any dvdimport-errors.
fostersimported Wrote:I have the same preview-error.log as you driver140771. I do not have any dvdimport-errors.

Could you both try to update libdvdcss to the newest version ?

regards
hans
Did anyone actually manage to install this great addon on a XBMC Live Machine?
I succeeded so far that the script is there, but the dependencies seem to be missing. When I try the function "Check dependencies" I just get "Script Error" and it terminates.
grouper Wrote:Did anyone actually manage to install this great addon on a XBMC Live Machine?
I succeeded so far that the script is there, but the dependencies seem to be missing. When I try the function "Check dependencies" I just get "Script Error" and it terminates.

Sorry, but my script was never build to run with a LIVE-CD.
I guees you have more luck if you install you LIVD-CD to a usb-stick
or a hard-disk

Regards
Hans
grouper Wrote:Did anyone actually manage to install this great addon on a XBMC Live Machine?
I succeeded so far that the script is there, but the dependencies seem to be missing. When I try the function "Check dependencies" I just get "Script Error" and it terminates.

I use it on live

I made up a bash script that adds sources and installs dependencies for me.
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