• 1
  • 4
  • 5
  • 6
  • 7(current)
  • 8
Luemmel's DVD-Ripper Script - Python Development Discussion (Linux, Mac, and Windows)
#91
havde Wrote:That's the same entry I have in W7, but it never starts. So it adds the entry to the scheduler but never starts...and I don't understand why not.
My steps:
1. Download, extract and copy dd.exe to c:\windows\system32\
2. Download, extract and copy script (bluepill) to xbmc scripts folder
3. Insert DVD, start watching inside XBMC.
4. While DVD is playing, start script dvd_blue and choose rip to iso
5. Choose device, rip location, file name, and confirm run script
6. A command prompt appears and says "A new event has been added with IDxx" - command prompt closes.
7. Nothing else happens....

Appreciate any help... Smile
Br
havde

Did you install dd for 32 bit systems or 64 ?
What kind of Windows 7 do you running ?
32 or 64 bits ?

Regards
hans
Reply
#92
linuxluemmel Wrote:Did you install dd for 32 bit systems or 64 ?
What kind of Windows 7 do you running ?
32 or 64 bits ?

Regards
hans

32 bit DD (i.e. http://www.chrysocome.net/downloads/dd-0.5.zip) and 32 bit Win7.

If I run DD.exe I get a command prompt where I can't do anything.
But running cmd.exe and then command "dd if=\\?\Device\CdRom0 of=C:\dvdrips\moviename.iso bs2048" I get an error message: "Error native opening input file: 0 The operation completed successfully"
Reply
#93
havde Wrote:32 bit DD (i.e. http://www.chrysocome.net/downloads/dd-0.5.zip) and 32 bit Win7.

If I run DD.exe I get a command prompt where I can't do anything.
But running cmd.exe and then command "dd if=\\?\Device\CdRom0 of=C:\dvdrips\moviename.iso bs2048" I get an error message: "Error native opening input file: 0 The operation completed successfully"

After a lot of reboots it suddenly seems to work, don't know why though...but thanks for trying to help!
Reply
#94
i have ubuntu 9.04, kernel: 2.6.28-15-generic
dvd-red 0.5H,

command line everything is perfect:
i login to the ssh:
#ssh umc@localhost
(note my login is not user@localhost, but umc@localhost)
and then:

# /home/umc/.xbmc/scripts/My\ Scripts/dvd-red/ssh/dvdrip.sh /dev/sr0 /dvdrip change-me.iso

(i have to use the full path, using only "./dvdrip change-me.iso" does not do the trick for me)....so far it works great !

if i test:
# /home/umc/.xbmc/scripts/My\ Scripts/dvd-red/ssh/dvd2mpeg2.sh /dev/sr0 /dvdrip ausgabe 1 1

also works like a charm.,

if i do:
# /home/umc/.xbmc/scripts/My\ Scripts/dvd-red/ssh/dvd2iso.sh /dev/sr0 /dvdrip change-me.iso 1 1
"nothing happens !!! "

if i do it from inside XBMC interface, in the menus: Scripts->My Scripts->dvd-red
it starts fine but then i get:...
"Error by execution of the dd command"

any clue ?
Reply
#95
martinvecchio Wrote:i have ubuntu 9.04, kernel: 2.6.28-15-generic
dvd-red 0.5H,

command line everything is perfect:
i login to the ssh:
#ssh umc@localhost
(note my login is not user@localhost, but umc@localhost)
and then:

# /home/umc/.xbmc/scripts/My\ Scripts/dvd-red/ssh/dvdrip.sh /dev/sr0 /dvdrip change-me.iso

(i have to use the full path, using only "./dvdrip change-me.iso" does not do the trick for me)....so far it works great !

if i test:
# /home/umc/.xbmc/scripts/My\ Scripts/dvd-red/ssh/dvd2mpeg2.sh /dev/sr0 /dvdrip ausgabe 1 1

also works like a charm.,

if i do:
# /home/umc/.xbmc/scripts/My\ Scripts/dvd-red/ssh/dvd2iso.sh /dev/sr0 /dvdrip change-me.iso 1 1
"nothing happens !!! "

if i do it from inside XBMC interface, in the menus: Scripts->My Scripts->dvd-red
it starts fine but then i get:...
"Error by execution of the dd command"

any clue ?

I would go into the directory in witch the shell-scripts reside ....
cd /home/umc/.xbmc/scripts/My\ Scripts/dvd-red/ssh/
chmod +x *sh
and make a other try ...
Did you have to put in password by ssh-login HuhHuhHuhHuhHuhHuh??
Did you have a look at the ssh-log file inside ~/dvdripper ??
Regards
Hans

BTW : Did you change the ssh-commandline inside settings ?
the real test would be
ssh umc@localhost /home/umc/.xbmc/scripts/My\ Scripts/dvd-red/ssh/dvdrip.sh /dev/sr0 /dvdrip change-me.iso
Reply
#96
the command line: (without pass, i just drop it in a terminal...)
ssh umc@localhost /home/umc/.xbmc/scripts/My\\ Scripts/dvd-red/ssh/dvdrip.sh /dev/sr0 /dvdrip change-me.iso

But nothing happens.... no "change-me.iso" is written...
no error output....

and here is
#################################
umc@umc-desktop:~/dvdripper$ more ssh.log
starting dvdpreview.sh script
dvdpreview.sh runs now in the background
starting dvddd.sh script
dd runs now in the background
##############################


if i execute from the terminal (no ssh) with user "umc" , i have exactly same response than in the case of ssh:
# /home/umc/.xbmc/scripts/My\ Scripts/dvd-red/ssh/dvdrip.sh /dev/sr0 /dvdrip change-me.iso
starting dvdpreview.sh script
dvdpreview.sh runs now in the background
starting dvddd.sh script
dd runs now in the background

and nothing happens, but if execute (no ssh) from the scripts directory, the "dd" actually starts and it does create the file "change-me.iso" , and runs great ...:
#cd /home/umc/.xbmc/scripts/My\ Scripts/dvd-red/ssh
#./dvdrip.sh /dev/sr0 /dvdrip change-me.iso
starting dvdpreview.sh script
dvdpreview.sh runs now in the background
starting dvddd.sh script
dd runs now in the background

path problem / suggestions ?
Reply
#97
martinvecchio Wrote:the command line works perfect: (without pass, i just drop it in a terminal...)
ssh umc@localhost /home/umc/.xbmc/scripts/My\\ Scripts/dvd-red/ssh/dvdrip.sh /dev/sr0 /dvdrip change-me.iso

But nothing happens.... no "change-me.iso" is written...
no error output....

and here is
#################################
umc@umc-desktop:~/dvdripper$ more ssh.log
starting dvdpreview.sh script
dvdpreview.sh runs now in the background
starting dvddd.sh script
dd runs now in the background
##############################

any suggestions ?

What are the permissions on /dvdrip ?
is it a symlink ? what fs do you use ?
Inside the tools section it is possible to check if all software is installed ....
Could you start this menu-point ? is something missing ?

Regards
Hans
Reply
#98
i have found my problem, is a path problem:
inside "dvdrip.sh" script, there is the line:
"nohup ./dvddd.sh $1 $2 $3 >/dev/null 2>&1 &"
if the call is not made from inside the directory "...../dvd-red/ssh/" the dvdrip.sh script is never executed.

im the only one suffering it ?
should i add "..../dvd-red/ssh" to the path ?

please advice.
Reply
#99
martinvecchio Wrote:i have found my problem, is a path problem:
inside "dvdrip.sh" script, there is the line:
"nohup ./dvddd.sh $1 $2 $3 >/dev/null 2>&1 &"
if the call is not made from inside the directory "...../dvd-red/ssh/" the dvdrip.sh script is never executed.

im the only one suffering it ?
should i add "..../dvd-red/ssh" to the path ?

please advice.

I wonna test this as soon I have free time ....
Maybe it was change from home dir to script dir ....
I will inform as soon I have more info ..
Regards
Hans
Reply
linuxluemmel Wrote:I wonna test this as soon I have free time ....
Maybe it was change from home dir to script dir ....
I will inform as soon I have more info ..
Regards
Hans


If you are using a SVN version ... my script is not working according to
Tracker system .....

http://trac.xbmc.org/ticket/7291

As a uggly workaround do change the PATH to include the ssh-directory
and you may have to edit the default.py file ....


Regards Hans
Reply
i see dvdrip.sh calls to dvdpreview.sh (but i do not see this last one in the ssh directory), am i wrong ?
Reply
martinvecchio Wrote:i see dvdrip.sh calls to dvdpreview.sh (but i do not see this last one in the ssh directory), am i wrong ?

Ok in the moment I can not download the version 0.5H
I wonna test this evening if dvdpreview.sh is missing ....

But for now ... here is the script ....
Code:
#!/bin/bash
###########################################################
# scriptname : dvdpreview.sh                              #
###########################################################
# author     : hans weber                                 #
#                                                         #
# parameters :                                            #
#                                                         #
# $1 device                                               #
# $2 directory for rip                                    #          
#                                                         #
# description :                                           #
# generates a little preview of a dvd                     #
###########################################################

# First generate a video and audio file of a few secounds

cd $2
transcode -i $1 -c 1-400 -o$2/preview --export_prof vcd > ~/dvdripper/preview-output.log 2> ~/dvdripper/preview-error.log  

# After this we mux them to a mpeg

echo multiplex video and audio stream into mpeg1

mplex -f 0  -V -o preview.mpg preview.m1v preview.mpa >> ~/dvdripper/preview-output.log 2>> ~/dvdripper/preview-error.log

# delete audio and video form preview generating

rm preview.m1v
rm preview.mpa

exit

Save it as dvdpreview.sh inside ssh-directory and make chmod +x dvdpreview.sh
Reply
Thank you ( i have extracted from the 0.5G), the comment was just to let you know, about.
Reply
martinvecchio Wrote:Thank you ( i have extracted from the 0.5G), the comment was just to let you know, about.

Ok if this file dvdpreview.sh is missing ... mea culpa ... mea culpa ...

Sorry my fault ....... I do repack 0.5H again with the file ....

I found a also a other bug ... the old dvdrip.sh was shipped ...

be patient ....

I update the release in a few hours ...

Regards
Hans
Reply
http://luemmels-dvd-ripper.googlecode.co...rected.tar
Reply
  • 1
  • 4
  • 5
  • 6
  • 7(current)
  • 8

Logout Mark Read Team Forum Stats Members Help
Luemmel's DVD-Ripper Script - Python Development Discussion (Linux, Mac, and Windows)0