Luemmel's DVD-Ripper Script - Python Development Discussion (Linux, Mac, and Windows)

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
JustinAiken Offline
Fan
Posts: 668
Joined: Feb 2007
Reputation: 0
Location: XBMC+Unraid=Happy!
Post: #16
"script may running on Windows in the future ...'"

Can't wait for this! Smile
find quote
linuxluemmel Offline
Donor
Posts: 870
Joined: Jun 2009
Reputation: 0
Location: Lucern / Switzerland
Post: #17
clock2113 Wrote:"script may running on Windows in the future ...'"

Can't wait for this! Smile


You could help me to port ....

1.) Insert a dvd play it a few scounds inside xbmc (9.04) under windows.
2.) Install this dd tools to c:\windows\system32 or something witch is inside your %PATH%

http://www.chrysocome.net/downloads/dd-0.5.zip


try to rip with something like

dd if=/device of=c:\dvdrip\change-me.iso


Play around with the block-size and the device (dd --list)

If you give me the right commands and the confirmation that it runs under
windows i make the rest ...


Best greetings from switzerland
Hans
(This post was last modified: 2009-06-08 13:59 by linuxluemmel.)
find quote
JustinAiken Offline
Fan
Posts: 668
Joined: Feb 2007
Reputation: 0
Location: XBMC+Unraid=Happy!
Post: #18
It works!

I used:

dd if=\\?\Devices\CdRom0 of=c:\weddingcrashers.iso bs=1M

I did indeed have to play the movie first, and had to do the bs=1M thing for it to work. Note that this was a backup DVD-R that already had the copy protection stripped... I'll have to try a retail DVD tonight to see if it works too

Smile
(This post was last modified: 2009-06-07 22:52 by JustinAiken.)
find quote
linuxluemmel Offline
Donor
Posts: 870
Joined: Jun 2009
Reputation: 0
Location: Lucern / Switzerland
Post: #19
clock2113 Wrote:It works!

I used:

dd if=\\?\Devices\CdRom0 of=c:\weddingcrashers.iso bs=1M

I did indeed have to play the movie first, and had to do the bs=1M thing for it to work. Note that this was a backup DVD-R that already had the copy protection stripped... I'll have to try a retail DVD tonight to see if it works too

Smile

Could someone other also test under Macos ?
What are the commands for Macos ?
There is no need to donwload dd because it sould be allready there ...

Greeting from switzeland
Hans
find quote
linuxluemmel Offline
Donor
Posts: 870
Joined: Jun 2009
Reputation: 0
Location: Lucern / Switzerland
Post: #20
I will replace the ugly os.system calls to a internel function xbmc function

xbmc.executebuiltin( "System.Exec(/usr/bin/dd -- )" ) and I hope the

the execution goes faster ...


If all works fine like expected ... I may download version 0.2B tonight or
tommorrow ...

- Until now there is no feedback from the Mac-OS User side ...
(So my script indead runs on this os ... or nobody tried my script .....)

- I have 1 confirmed answer from the windows side ... that dd
is working ...


In 2 days I go Italy for a few days ...

Greetings
Hans
(This post was last modified: 2009-06-08 15:44 by linuxluemmel.)
find quote
spiff Offline
Retired Developer
Posts: 12,386
Joined: Nov 2003
Post: #21
ffs, use a pastebin!
find quote
linuxluemmel Offline
Donor
Posts: 870
Joined: Jun 2009
Reputation: 0
Location: Lucern / Switzerland
Post: #22
Ok

Future Release of the dvd-ripper always come her :



The latest version of the hole script is 0.2A and is on this entry :



I will not longer insert the code into the forum...



With the best greetings from switzerland ....

Hans
(This post was last modified: 2009-06-14 23:14 by linuxluemmel.)
find quote
linuxluemmel Offline
Donor
Posts: 870
Joined: Jun 2009
Reputation: 0
Location: Lucern / Switzerland
Post: #23
The blue pill doesn't work

- I installed a Windows XBMC and tryd to run the script ... no way ....
- DD command is not properly running 100 %
- sometime it does .... sometimes not .... and sometime it is stopped on the half of the way.

With such a envirmont ... I can not make a working script ....

Until next week I made a Google-Project for this ripper ....
Details coming soon ...
hans

Could someone with Windows ... paste the corrections back to : Blue-Pill 2
(This post was last modified: 2009-06-14 23:14 by linuxluemmel.)
find quote
linuxluemmel Offline
Donor
Posts: 870
Joined: Jun 2009
Reputation: 0
Location: Lucern / Switzerland
Post: #24
Hello to all .)

The latest public Release for the script : (Linux)

Code removed by linuxluemmel

This is Version 0.2A and it runs under Linux out of the box and needs the following :

- transcode and mjpegtools
- dd

Because there is no feedback from MacUsers for the next 4-5 Releases
I will complette remove that part ....

Sorry to say ....
There will be no Windows Script . My first attempt to
test the script with windows endet in a desaster ... (os.uname () function not found ....) . The dd command (Version 0.5) works not at 100 %
on my windows ... / Alle Parts with \ have to be replaced with \\

If someone will give me a command-line tool that generate iso rip from
a dvd ... i will make the changes to the script.

1.) The tool must be running in cmd window wihtout user input
2.) The tool is Opensource (GPL prefered .... )
3.) There are at least 5 poeple to confirm that this command-line
tool works out of the box with windows xp

With the best greetings from sitzerland ....
(This post was last modified: 2009-06-15 08:55 by linuxluemmel.)
find quote
linuxluemmel Offline
Donor
Posts: 870
Joined: Jun 2009
Reputation: 0
Location: Lucern / Switzerland
Post: #25
OK now it works ...

I'm to stupid to see the difference between Devices and Device
This was my error ... At the end I don't know howmany replacements for \ I made ....
Ok I'm not the joungest ;-) I'm geting old ... -(


This blue pill is only for windows NO LINUX NO MAC
... I testet the script ... It works ...

1. Make Folder inside your Script Directory :
2. copy blue.py into this folder
3. Replace following to pieces according your own OS :

dvd_dir = 'K:\\dvdrip'
dvd_device = '\\\?\\Device\\CdRom0'

to example:

dvd_dir = 'C:\\isos'
dvd_device = '\\\?\\Device\\CdRom1'

No open your XBMC and look at the desired dvd ..... (skip intro ....)
and play a bit of the movie ...

Start the sript ...
It needs dd Version 0.5 from here .

http://www.chrysocome.net/downloads/dd-0.5.zip

After unpacking the dd should be moved to C:\WINDOWS\SYSTEM32

Start the script ....
Confirm execution ....

It opens a cmd with the dd process inside ...
it's may a bit slow (like on linux) but it works. I guess every process startet over xbmc with high I/O is slow ....

If someone has a solution to hide this ugly cmd window that would be perfect.
And a nice commandline argument like & under linux would be better ... (RunAsService from Winternals ?)

On this Link you can download the working blue pill BTW : In this release the default language is english .-0

Good Look ;_O)
(This post was last modified: 2009-06-14 23:14 by linuxluemmel.)
find quote
linuxluemmel Offline
Donor
Posts: 870
Joined: Jun 2009
Reputation: 0
Location: Lucern / Switzerland
Post: #26
Hello :-) I'm back from Italy .... it was very nice ...


RELEASE LINUX

http://luemmels-dvd-ripper.googlecode.co...x-0.4A.tar

Please have a look at the Readme ,-)

http://code.google.com/p/luemmels-dvd-ri...eadmelinux

This release is now working over ssh


RELEASE WINDOWS

http://luemmels-dvd-ripper.googlecode.co...s-0.3B.zip

As it seems only 4 users downloadet this release ....


RELEASE MACOS-X

As long nobody could confirm that copy a dvd with dd is working I could not make this version

- dvd device for Mac ?
- Rip-directory could be anywhere ?
- awk is installed ?
- transcode and mjpegtools are installable ?
(This post was last modified: 2009-06-15 09:06 by linuxluemmel.)
find quote
linuxluemmel Offline
Donor
Posts: 870
Joined: Jun 2009
Reputation: 0
Location: Lucern / Switzerland
Post: #27
I'm working on new Release 0.4B for Linux with following enhancements

- Read the name of dvd at startup and sugest name including extension iso
- Has a resource directory for multiple languages
- German and English are included
- I speak a few foreign Languages very good (French / English / Spanish)
but my writing skills aren't the best in the above languages ... (You may excuse my
poor english writings )
Sending of Strings.xml in other languages is very welcome ... (Voulez vous ripper cette dvd ?) (Donde estan las otras idiomas ... ?)

- As soon the release is finish I will upload 0.4b at the Homepage

http://code.google.com/p/luemmels-dvd-ri...loads/list


If you have questions send a email to :

linuxluemmel.ch@gmail.com

Hans
(This post was last modified: 2009-06-17 00:39 by linuxluemmel.)
find quote
Ticko Offline
Junior Member
Posts: 27
Joined: May 2008
Reputation: 0
Post: #28
Great work!
I am missing this sort of program to my linux htpc.
Dvd2Xbox is a nice similar program for the old xbox that i have tried.
find quote
linuxluemmel Offline
Donor
Posts: 870
Joined: Jun 2009
Reputation: 0
Location: Lucern / Switzerland
Post: #29
Ticko Wrote:Great work!
I am missing this sort of program to my linux htpc.
Dvd2Xbox is a nice similar program for the old xbox that i have tried.

Did you try the latest public beta release 0.4A ?

Have you found any problems .. ?

With the best greetings from switzerland ...
Hans
(This post was last modified: 2009-06-17 12:32 by linuxluemmel.)
find quote
linuxluemmel Offline
Donor
Posts: 870
Joined: Jun 2009
Reputation: 0
Location: Lucern / Switzerland
Post: #30
It is finished ....

- localized in German and English ....
- Reads dvd-name for the rip and adds .iso
- If you cancel the job ... iso and preview.mpg would be deleted ...

http://luemmels-dvd-ripper.googlecode.co...x-0.4B.tar


Greetings from switzerland ...
Hans

Next Release 0.4C may have :

- Burn a allready ripped dvd from iso back to a dvd

A Point to remember : This is allowed in Switzerland ...

- more languages than german and english This needs a few other strings.xml ....


http://luemmels-dvd-ripper.googlecode.co...trings.xml

Donwload the english string.xml and translate it into your own language ...

send them back to linuxluemmel.ch@gmail.ch
and don't forget to name the Folder for your Language (other than German and English)



- Progress bar for the ripping operation
(This post was last modified: 2009-06-17 15:34 by linuxluemmel.)
find quote
Post Reply