PDA

View Full Version : [RELEASE] Luemmel's DVD-Ripper (Script) for Linux, Mac, and Windows


linuxluemmel
2009-06-10, 15:28
This is a DVD-Ripper Script for Windows and Linux, a Mac version will come later if I get help from you with development (http://xbmc.org/forum/showthread.php?t=52166) (please).

Download:
http://code.google.com/p/luemmels-dvd-ripper/

Installation:
http://xbmc.org/wiki/?title=HOW-TO_install_and_use_scripts_in_XBMC

Feedback wanted!


By the way, I am going away to Italy right now, so I will not be able for a few days to look at my emails/messages.

Greetings from Switzerland

Regards / Hans

CrashX
2009-06-18, 19:15
Do you mind posting some screenshots ?

linuxluemmel
2009-06-19, 01:15
I have made a few screenshots from version Linux Release Version 0.4C on which I'm working on at the moment.

http://luemmels-dvd-ripper.googlecode.com/files/Mainmenu.png

http://luemmels-dvd-ripper.googlecode.com/files/confirmation.png

http://luemmels-dvd-ripper.googlecode.com/files/ask_ssh.png

http://luemmels-dvd-ripper.googlecode.com/files/ask_name.png


With the best greetings from Switzerland!

Hans

Fiasco
2009-06-20, 00:34
subscribed!

w3__
2009-06-20, 01:26
Is it possible to have the actual ripping logic in python code to make this cleaner and more compatible?

zosky
2009-06-20, 06:06
kudos linuxluemmel. this sounds great.
but i wont be jumping on the wagon.

i'm afraid the "good guys" will break down my door.
( because backups are not legit over here )
+ i dont have an optical drive in my dedicated rig :grin:

1 questions > in the linux ver - why pass the dd command through ssh ?

linuxluemmel
2009-06-20, 11:47
kudos linuxluemmel. this sounds great.
but i wont be jumping on the wagon.

i'm afraid the "good guys" will break down my door.
( because backups are not legit over here )
+ i dont have an optical drive in my dedicated rig :grin:

1 questions > in the linux ver - why pass the dd command through ssh ?

Hello :)

This has 2 Reasons ...

1. ) I could start the command over the network from a remote xbmc
2.) IO Operations from any child process startet under xbmc is very slow ....

Example :

Generate the preview over ssh needs a few secounds
Generate the same preview inside a process startet inside xbmc needs 15 Minutes to complete ...

This is the reason ....

I'm still working on release 0.4C ... Looks good and I will download today or tomorrow ...
Greetings from switzerland
Hans

BTW : After this IMHO working Linux release I will working on the BLue-Pill (Windows Version)

linuxluemmel
2009-06-20, 12:23
http://luemmels-dvd-ripper.googlecode.com/files/dvd-red-linux-0.4C.tar

linuxluemmel
2009-06-20, 17:22
http://code.google.com/p/luemmels-dvd-ripper/downloads/list

linuxluemmel
2009-06-21, 21:37
OK in this release ... dd process is startet in the background ....
under windows ....

http://luemmels-dvd-ripper.googlecode.com/files/dvd-blue-windows-linux-0.4F.zip

linuxluemmel
2009-06-23, 00:01
This release speaks English / German / French / Spanish


;=

linuxluemmel
2009-06-23, 22:08
This Red-pill speaks the same languages like the blue-pill

newb2linux
2009-06-24, 07:55
Can anyone help a new Linux user install this plugin?

I have it in the Scripts directory and tried to follow the read me from the authors project site. I'm using XBMCLive and wasn't able to just copy the code from the read me. Can somebody explain what I would need to change in his code to get the dd working for the redpill version?



:)

spiff
2009-06-24, 08:46
you pointed out your own "stupidity" right away.

you have a plugin in the scripts directory???

linuxluemmel
2009-06-24, 09:45
Ok sometime instructions are not read well .....

I will adapt the readme ...

Greetiing Hans
:cool:

linuxluemmel
2009-06-24, 09:56
Because the red-pill is a script you have to copy the tar file into your script direcrtory for the user.

If your user nanme is "user" you would copy the tar-file to /home/user/.xbmc/scripts/my scripts/

Now do untar the file inside the directory: tar xvf dvd-red-linux-0.4G.tar

Now you have the script on right place ..... Read on to make the ssh connection working

linuxluemmel
2009-06-24, 12:19
Hello to all users of my script .)

As you may see in the last few days I uploaded multiple releases
for the blue and red pill. At the moment the 2 releases share the
same number 0.4G.
The blue pill runs now dd as a hidden process ...

In a week I would like to make a public release 0.5A for Linux (red-pill).

- This release will have a EULA at startup witch has to be accepted
one time. After the confirmation of the so called EULA the screen
never shows again .

- Burning allready ripped iso's back to a dvd should work

- I also try to integrate 1-2 transcode Functions (vcd / svcd)

- I try to make the documentation of the tool "dummy-proof' :grin:

- Allmost over 100 Downloads in the last days of my scripts make me happy

- A little bit more feedback would be great .... As long you don't say that my
script has wiped out your entire harddisk ..... (remember dd is dangerous ..)


Ok to all of you and I send the best wishes from switzerland
Hans

spiff
2009-06-24, 13:05
i assume your saw this; http://xbmc.org/devblogs/ - which is prob why you saw the spike in downloads :)

linuxluemmel
2009-06-24, 15:00
Yes I saw the spike because on graphic is referenced .....

Over 3500 .... LOL

No , I mean donwload of the code (blue and red) ... there are a least 100 Donwloads in the last days ....

I think as a Linuxlummel ..... no news are good news.... nobody wiped the disk ...

LOL
Hans

linuxluemmel
2009-06-25, 19:26
I made a help to decide you what kind of pill you could use or not ...


http://code.google.com/p/luemmels-dvd-ripper/wiki/BLUEversusRED


edit: I hate this typos ... but excuse me ... my native language is german ....


Edit 2: I also made a feedback for users of my script ... please us it and give some feedback

http://code.google.com/p/luemmels-dvd-ripper/wiki/Feedback

Without feedback it is difficult to develop any kind of programm ......

linuxluemmel
2009-06-28, 15:27
Hello to all ,-)

I'm stil working on release 0.5A (red-pill). All this transcoding things needs a little
bit more time than expected.

In the next red-pill there are a few things to come :

- shows at startup a EULA witch hast to be accpeted.
- If you accepted the EULA by the next start it is not displayed longer .
- transcoding to avi / svcd / vcd should work

As soon the release is ready I would like to inform here on this thread.

With the best greeting from the country of milk and honey ;_=
Hans

edit :

BTW:
Would someone like to have a function to transcode a dvd for playing on Cellphone ?

linuxluemmel
2009-06-29, 11:44
Hello ;_)=

There is still a need for a updatet list of countrys...

Could user around the globe please make a post like

1.) Where dvd copy is allowd.
2.) where dvd copy is allowd only if you dont break the css
3.) not allowed.



Number and country ....

Greetings Hans

There are at least 153 users of my script .....

8mycsh
2009-06-29, 13:36
Hello ;_)=

There is still a need for a updatet list of countrys...

Could user around the globe please make a post like

1.) Where dvd copy is allowd.
2.) where dvd copy is allowd only if you dont break the css
3.) not allowed.



Number and country ....

Greetings Hans

There are at least 153 users of my script .....

1.) Canada - Good to go

In Canada it is legal to download, make copies of media and record from TV for personal use only. You can't share / upload / sell the works that you have obtained without express permission of the copyright owner.

SO: You can make a backup copy of the 300DVD you purchased (or all 300 DVD's for that matter). You CAN also copy DVD's from Blockbuster for personal use. You CAN download from FTP and IRC, but you CANNOT (well... not allowed under Canada's copyright legislation) download through Torrents, because technically the torrent clients upload at the same time as you download the files; and you can not distribute copyright protected materials in whole or in part.

All this personal use stuff off the internet is allowed because Canada's copyright laws do not specify the source from which you can make copies of work that are protected by the copyright law. They can be CD's, DVD's, FTP, TV, IRC, ETC.

This is reinforced by the fact that we pay a copyright levy on all blank storage medium that we purchase. CDs, DVDs, MP3 players, Flash Chips, Hard Drives, the works. The levy goes into a fund to compensate artists for the personal use copying that people do in Canada. You pay this levy even if you are putting your own original content on the medium (pictures, family videos, etc).

So don't worry about having to get around the pesky copy-protection mechanisms on your DVDs. You are perfectly within your rights to make personal copies.

If you get sued I'm not taking responsibility though haha
The above is my interpretation of the opinion of the Copyright Board of Canada which has yet to be tested in court.
Just google the following: downloading+legal+canada for people who are still questioning..

linuxluemmel
2009-06-29, 13:53
1.) Canada - Good to go

In Canada it is legal to download, make copies of media and record from TV for personal use only. You can't share / upload / sell the works that you have obtained without express permission of the copyright owner.



ok thanks for the info .... I will update my homepage for country canada
on the legal side

As I see you have allmost the same law we have inside switzerland.

As long you dont upload a dvd to anywhere (ftp,cat,irc,share,p2p) it is legal
. We also pay a tax on every single blank media inside switzerland ....
We can download from anywhere we like ... as long we do not upload

Ok What about the land of Pirate Bay ?
Or Holland ?
Russia ?
Italy ?
Färöer ?

.....
Greetings from switzerland
Hans

8mycsh
2009-07-01, 08:46
Something I found regarding Europe copyright laws

http://www.euro-copyrights.org/index.php/

Finland
Effect on fair compensation for private copying

In Finland, to compensate right holders for the losses of private copying, a levy is paid for blank cassettes and similar recording media. According to the draft bill the levy is to be paid for all means on which content may be recorded. Technological measures may, however, affect the compensation for private copying (Section 26 a). According to the explanatory memorandum there shall be no levy on devices allowing the recording only of content protected by technological measures. To the extent a copyright owner has received licensing payment this may affect his right to a share of the levies.

Denmark
Can I lawfully make a copy for my personal use of a film on DVD or music on a CD, which I lawfully acquired?

Yes, you are allowed to do so unless the DVD or the CD is protected by a measure which makes it impossible to copy unless the measure is circumvented, which is the case as regards e.g. copy-protected CDs.

However, if you have borrowed or leased the DVD/CD from others, including from libraries or a video store, it is illegal to make a copy of it. Nor is it legal to copy a copy of a CD/DVD if you have got the copy from others.

Is it allowed to circumvent a copy-protection mechanism in order to make a copy for my personal use of a film on a DVD or of music on a CD?

No, it is illegal to circumvent the copy-protection mechanism, although it is legal to make a copy for your personal use. If a DVD or CD is copy-protected you are in other words excluded from legally making a copy for personal use.

Germany
In some European countries, it is either legal or at least not definitely illegal to make personal backup copies of a DVD. In Germany it is illegal to distribute any software capable of evading copy protection. In Norway the legality of breaking the CSS algorithm was tested in 1999, when the algorithm was made public by Jon Johansen. Mr Johansen cracked the algorithm in order to create a program to play DVDs on computer running the Linux operating system. He then posted his program code, DeCSS, on the Internet. The movie industry took Johansen to Court - and lost! In January 2003, the court ruled that Norwegian citizens were free to make copies of DVDs which they had bought legally.

http://www.bitwisemag.com/copy/reviews/software/dvdsoftware/dvdsoftware.html

mcfan
2009-07-01, 23:43
I have read somewhere that DVD CSS in NOT a copy protection but rather a
playback prevention.
So if you copy a DVD with only CSS-Protection (e.g. using DD) you also copy
CSS and dont bypass any copy protection. :eek:

I think this can be discussed endlessly because the local rights are not always clear. - Nice thread anyway.

linuxluemmel
2009-07-02, 00:03
I have read somewhere that DVD CSS in NOT a copy protection but rather a
playback prevention.
So if you copy a DVD with only CSS-Protection (e.g. using DD) you also copy
CSS and dont bypass any copy protection. :eek:

I think this can be discussed endlessly because the local rights are not always clear. - Nice thread anyway.

Yes, of course .... but do for example the following ...
login to a german board and link directly to the homepage of the project.

Inside germany the master of the board including you would have a big problem
if some crazy nuts philadelphia lawyer would see your message with the link.
( ok some l..... are to stupid to piss a hole into the fresh snow.)

This happen allready in 2006 with a german puplisher called heise

Happy ripping ....
Hans

newb2linux
2009-07-02, 04:07
I had the script in the right location. Im getting the error NO WRITE ACESS.
I can't seem to get the terminal stuff working.

ssh-copy-id -i ~/.ssh/id_rsa.pub user@localhost <--

When I use whoami i get xbmc

so I used ssh-copy-id -i ~/.ssh/id_rsa.pub xbmc@localhost
error: /usr/bin/ssh-copy-id: ERROR: No identities found

i can't get any further than that. Im sure is something simple that I just don't get yet with permissions on LINUX.

guidence please :)

newb2linux
2009-07-02, 06:21
NM.. I was doing it wrong.

linuxluemmel
2009-07-02, 09:13
I had the script in the right location. Im getting the error NO WRITE ACESS.


The error NO WRITE ACESS means you have no write-access or the
directory (default /dvdrip) doesn't exist.

On my own maschine /dvdrip is symlink to a very big ... big ... partitions

ERROR: No identities found
you don't created the key inside your home directory

Regards
Hans

Fiasco
2009-07-06, 17:30
DD.exe can take hours and hours to rip a single DVD.

Normal? Is this just the pseudo "bad sectors" on the DVD messing with the DVD Drive and is there a way to speed up the rip process with DD.exe?

linuxluemmel
2009-07-06, 20:30
DD.exe can take hours and hours to rip a single DVD.

Normal? Is this just the pseudo "bad sectors" on the DVD messing with the DVD Drive and is there a way to speed up the rip process with DD.exe?

hours ? normlay under linux i guess not more than 35 min. for a dvd ...

What os ?
What filesystem ?
Howmany memory you have installed ?

Regards
Hans

edit : Do you have scratcheds dvds ?

Fiasco
2009-07-06, 23:41
hours ? normlay under linux i guess not more than 35 min. for a dvd ...

What os ?
What filesystem ?
Howmany memory you have installed ?

Regards
Hans

edit : Do you have scratcheds dvds ?

XP, NTFS, 4 gig of ram. I'll try a different dvd.

Does DD.exe remove CSS? When I mount an ISO that was ripped with DD.exe it appears to not have CSS.

linuxluemmel
2009-07-07, 11:38
XP, NTFS, 4 gig of ram. I'll try a different dvd.

Does DD.exe remove CSS? When I mount an ISO that was ripped with DD.exe it appears to not have CSS.

Under linux and windows the css is not removed ....
As I testet the dd (blue) with windows on my notebook it had a little bit more
than 37 min. to rip a dvd ...
Could you try to adapt the bs=2048 argument in the default.py file ?
May also test to rip with a other dvd ?
Do you have any software installed like clonecd or something similar ?

How long it takes to rip a dvd for other users of the script ??
On my personal notebook (linux and windows) between 35-38 min.

Best regards from switzerland ....
Hans
:nerd:

linuxluemmel
2009-07-09, 00:33
Ok I made a new release :

http://luemmels-dvd-ripper.googlecode.com/files/dvd-red-linux-0.5A.tar


Ok transcoding a allready riped dvd or a inserted dvd to the following formats is supportet:

- native mpeg2 from dvd
- vcd and svcd for PAL
- vcd and svcd for NTSC

In one of the next releaeses after 0.5A i would like to export to :

- divx
- mpeg4 / h264

Feedback would be fine ...
Best regards from switzerland ....
hans

newb2linux
2009-07-10, 10:04
With the 5a DVD-red I cant do back to back ripping. for some reason Im unable to do any transcoding either? my XBMC crashed on reboot too afer the pluging fails.

linuxluemmel
2009-07-10, 15:35
With the 5a DVD-red I cant do back to back ripping. for some reason Im unable to do any transcoding either? my XBMC crashed on reboot too afer the pluging fails.

Did you install transcode including all tools ?
mjpegtools

On my Mhythbuntu 9.04 it works perfect to transcode ....

Is someone other who can not transcode .... ?

Maybe you forgot to install all the scripts to your home directory ?
Are the scripts executable ?

chmod +x dvd2svcdpal.sh as example

I tested the native command and svcd and vcd for pal.
The 2 scripts for ntsc settings are just adapted from the working ones.


Regards
Hans

edit :
You need a big place to transcode .... you may filled your hd with the transcoding ??

I guess yes ..... the transcode script filled your hd completly ...
the first process that would like to write to disk crashed ....
because there was no space left ....
This would be a explination.
Howmany installations with a linux system you alleady made ?

BTW : This is a just for knowing ... every person startet once with a new system ....

1.) Make a big partition with a very good filesystem like xfs
2.) mount this partition anywhere in your system ... /media/big-mama-partition
3.) edit /etc/fstab to your needs ...

Symlink the partition to /dvdrip

ln -s /media/big-mama-partition /dvdrip

do you have space left ?
df will give you the answer ...

linuxluemmel
2009-07-11, 03:19
Ally my script inside the home directory can be executed by hand ....
Open a console and type for example ...

./dvd2mpeg2.sh /dev/sr0 /dvdrip ausgabe 1 1

This would the inserted dvd transcode to mpeg2

- Device /dev/sr0
- The directory would be /dvdrip
- the file name (ausgabe) for the ouput without extension mpeg (this will be added ...)
- Title 1 of the dvd will be converted
- Audio Language 1 will be used ...

Look exactly that the transcode (Version 1.07 or higher is needed ) process
doesn't produce errors about something missing ....

If all went fine call the transcode export over the script...

Regards
Hans

linuxluemmel
2009-07-12, 01:52
Hello to all ;-=

I made a mistake in the audio select dialog......

replace this inside default.py

Audio_select = Audio_select + 1

with this

Audio_select = Audio_select + 0

In transcode the audio channels are starting with 0 and not with 1
mea culpa mea culpa

I allready fixed this error in red-pill 0.5B witch will be released soon ...

Regards
Linuxluemmel

edit :
As you know ... Beta release software allways have little errors ....

linuxluemmel
2009-07-12, 16:58
I have been informed that there is no subtitle select dialog ...
Yes ... I fore one transcode in the most cases with only 1 audio language
and without any subtitle.

Ok now it is about you : The users of the script ....

Should I add a dialog for selecting a subtitle or may a secound audio language

Please give me some feedback by pm
ot at email linuxluemmel.ch@gmail.com

With the best regards from switzerland where the weather is a nightmare for juli ....
Linuxluemmel :-)

linuxluemmel
2009-07-12, 22:45
Hello to all ;_=)

Ok here is the release ...

http://luemmels-dvd-ripper.googlecode.com/files/dvd-red-linux-0.5B.tar

and the Readme for 0.5b

http://code.google.com/p/luemmels-dvd-ripper/wiki/Redpill05B


Please read it carefully .... There are a lot software packages that should be installed If you wish transcode to divx / h264 / ogg-vorbis

- All log-files from transcode and dd are located inside ~/dvdripper
- Audio-Selection is now corrected
- You can stop anytime a rip-job / even If you exit the script and comes later back !!!!!

Best regards ...
Linuxluemmel

The-Boxhead
2009-07-13, 00:17
your script sounds very nice !

i followed your guide, since im no linux guru i made a few mistakes
and misunderstood some of your guideance ;)

however i got to this:
ssh xbmc@localhost ./dvdrip.sh /dev/sr0 /dvdrip change-me.iso

which in turn got me this output:

(T: XBMCLive)xbmc@XBMCLive:~$ ssh xbmc@localhost ./dvdrip.sh /dev/sr0 /dvdripper change-me.iso
./dvdrip.sh: line 20: cd: /dvdripper: No such file or directory
transcode v1.0.7 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg, 2004-2008 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/4: 9 chapter(s), 1 angle(s), title set 1
(dvd_reader.c) title playback time: 01:39:19.02 5960 sec
(dvd_reader.c) [Chapter 01] 00:00:00.000 , block from 0 to 226062
(dvd_reader.c) [Chapter 02] 00:10:27.120 , block from 226063 to 474546
(dvd_reader.c) [Chapter 03] 00:23:01.120 , block from 474547 to 662058
(dvd_reader.c) [Chapter 04] 00:32:05.560 , block from 662059 to 803865
(dvd_reader.c) [Chapter 05] 00:39:11.960 , block from 803866 to 914166
(dvd_reader.c) [Chapter 06] 00:45:10.240 , block from 914167 to 1251370
(dvd_reader.c) [Chapter 07] 01:00:43.640 , block from 1251371 to 1478375
(dvd_reader.c) [Chapter 08] 01:12:16.280 , block from 1478376 to 1776111
(dvd_reader.c) [Chapter 09] 01:27:40.840 , block from 1776112 to 1992500
[import_dvd.so] v0.4.0 (2003-10-02) (video) DVD | (audio) MPEG/AC3/PCM
[export_mp2enc.so] v1.0.10 (2004-09-27) (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
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
[transcode] auto-probing source /dev/sr0 (ok)
[transcode] V: import format | MPEG-2 DVD PAL (V=dvd|A=dvd)
[transcode] V: AV demux/sync | (1) sync AV at initial MPEG sequence
[transcode] V: import frame | 720x576 1.25:1 encoded @ 4:3
XXX: zoom=yes pre_clip=no
[transcode] V: zoom | 352x288 1.22:1 (Lanczos3)
[transcode] V: bits/pixel | 0.710
[transcode] V: decoding fps,frc | 25.000,3
[transcode] V: Y'CbCr | YV12/I420
[transcode] A: import format | 0x50 MPEG layer-2 [48000,16,2]
[transcode] A: export format | 0x50 MPEG layer-2 [48000,16,2] 128 kbps
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame | 7680 (7680.000000)
[transcode] A: adjustment | 0@1000
[transcode] V: IA32/AMD64 accel | sse2 (sse2 sse mmxext mmx asm C)
[transcode] V: IA32/AMD64 accel | using sse memcpy
[transcode] V: video buffer | 10 @ 720x576
[import_dvd.so] tccat -T 1,1,1 -i "/dev/sr0" -t dvd -d 0 -L | tcdemux -a 0 -x mp3 -S 0 -M 1 -d 0 | tcextract -t vob -x mp2 -a 0 -d 0 | tcdecode -x mp2 -d 0
[import_dvd.so] tccat -T 1,1,1 -i "/dev/sr0" -t dvd -d 0 | tcdemux -s 0xc0 -x mpeg2 -S 0 -M 1 -d 0 | tcextract -t vob -a 0 -x mpeg2 -d 0 | tcdecode -x mpeg2 -d 0 -y yv12
[import_dvd.so] delaying DVD access by 3 second(s)
.libdvdread: Using libdvdcss version 1.2.10 for DVD access

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 0x00000120
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00006385
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00006acf
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
..[export_mpeg2enc.so] *** init-v *** !
[export_mp2enc.so] *** init-v *** !
[export_mpeg2enc.so] cmd=mpeg2enc -v 0 -I 0 -f 1 -F 3 -n p -a 2 -o "/dev/null"
libdvdread: Using libdvdcss version 1.2.10 for DVD access
[decode_mpeg2.c] libmpeg2 acceleration: none (plain C)
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 0x00000120
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00006385
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00006acf
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
[export_mp2enc.so] export profile changed samplerate: 48000 -> 44100 Hz.
[export_mp2enc.so] export profile changed bitrate: 128 -> 224 kbps.
[export_mp2enc.so] (46/4096) cmd=mp2enc -v 0 -r 44100 -b 224 -s -o "/dev/null"


clean up | frame threads | unload modules | cancel signal | internal threads |[transcode] encoded 1 frames (0 dropped, 0 cloned), clip length 0.04 s
done
starting dvdpreview.sh script
dvdpreview.sh runs now in the background
starting dvddd.sh script
dd runs now in the background
(T: XBMCLive)xbmc@XBMCLive:~$
(T: XBMCLive)xbmc@XBMCLive:~$


but i get no iso in the folder just some more log files.
it doesent seem to actually start ripping.

i also tried the script directly from xbmc but i get a error that
the iso output directory has no write access. ?

okay figured out the error in the terminal:
ssh xbmc@localhost ./dvdrip.sh /dev/sr0 /dvdrip change-me.iso

should be:
ssh xbmc@localhost ./dvdrip.sh /dev/sr0 /home/xbmc/dvdrip change-me.iso

:)

now its ripping an iso to my dvdrip folder :)

linuxluemmel
2009-07-13, 00:48
your script sounds very nice !

i followed your guide, since im no linux guru i made a few mistakes
and misunderstood some of your guideance ;)

however i got to this:
ssh xbmc@localhost ./dvdrip.sh /dev/sr0 /dvdrip change-me.iso

which in turn got me this output:

(T: XBMCLive)xbmc@XBMCLive:~$ ssh xbmc@localhost ./dvdrip.sh /dev/sr0 /dvdripper change-me.iso
./dvdrip.sh: line 20: cd: /dvdripper: No such file or directory
transcode v1.0.7 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg, 2004-2008 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/4: 9 chapter(s), 1 angle(s), title set 1
(dvd_reader.c) title playback time: 01:39:19.02 5960 sec
(dvd_reader.c) [Chapter 01] 00:00:00.000 , block from 0 to 226062
(dvd_reader.c) [Chapter 02] 00:10:27.120 , block from 226063 to 474546
(dvd_reader.c) [Chapter 03] 00:23:01.120 , block from 474547 to 662058
(dvd_reader.c) [Chapter 04] 00:32:05.560 , block from 662059 to 803865
(dvd_reader.c) [Chapter 05] 00:39:11.960 , block from 803866 to 914166
(dvd_reader.c) [Chapter 06] 00:45:10.240 , block from 914167 to 1251370
(dvd_reader.c) [Chapter 07] 01:00:43.640 , block from 1251371 to 1478375
(dvd_reader.c) [Chapter 08] 01:12:16.280 , block from 1478376 to 1776111
(dvd_reader.c) [Chapter 09] 01:27:40.840 , block from 1776112 to 1992500
[import_dvd.so] v0.4.0 (2003-10-02) (video) DVD | (audio) MPEG/AC3/PCM
[export_mp2enc.so] v1.0.10 (2004-09-27) (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
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
[transcode] auto-probing source /dev/sr0 (ok)
[transcode] V: import format | MPEG-2 DVD PAL (V=dvd|A=dvd)
[transcode] V: AV demux/sync | (1) sync AV at initial MPEG sequence
[transcode] V: import frame | 720x576 1.25:1 encoded @ 4:3
XXX: zoom=yes pre_clip=no
[transcode] V: zoom | 352x288 1.22:1 (Lanczos3)
[transcode] V: bits/pixel | 0.710
[transcode] V: decoding fps,frc | 25.000,3
[transcode] V: Y'CbCr | YV12/I420
[transcode] A: import format | 0x50 MPEG layer-2 [48000,16,2]
[transcode] A: export format | 0x50 MPEG layer-2 [48000,16,2] 128 kbps
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame | 7680 (7680.000000)
[transcode] A: adjustment | 0@1000
[transcode] V: IA32/AMD64 accel | sse2 (sse2 sse mmxext mmx asm C)
[transcode] V: IA32/AMD64 accel | using sse memcpy
[transcode] V: video buffer | 10 @ 720x576
[import_dvd.so] tccat -T 1,1,1 -i "/dev/sr0" -t dvd -d 0 -L | tcdemux -a 0 -x mp3 -S 0 -M 1 -d 0 | tcextract -t vob -x mp2 -a 0 -d 0 | tcdecode -x mp2 -d 0
[import_dvd.so] tccat -T 1,1,1 -i "/dev/sr0" -t dvd -d 0 | tcdemux -s 0xc0 -x mpeg2 -S 0 -M 1 -d 0 | tcextract -t vob -a 0 -x mpeg2 -d 0 | tcdecode -x mpeg2 -d 0 -y yv12
[import_dvd.so] delaying DVD access by 3 second(s)
.libdvdread: Using libdvdcss version 1.2.10 for DVD access

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 0x00000120
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00006385
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00006acf
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
..[export_mpeg2enc.so] *** init-v *** !
[export_mp2enc.so] *** init-v *** !
[export_mpeg2enc.so] cmd=mpeg2enc -v 0 -I 0 -f 1 -F 3 -n p -a 2 -o "/dev/null"
libdvdread: Using libdvdcss version 1.2.10 for DVD access
[decode_mpeg2.c] libmpeg2 acceleration: none (plain C)
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 0x00000120
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x00006385
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x00006acf
libdvdread: Elapsed time 0
libdvdread: Found 1 VTS's
libdvdread: Elapsed time 0
[export_mp2enc.so] export profile changed samplerate: 48000 -> 44100 Hz.
[export_mp2enc.so] export profile changed bitrate: 128 -> 224 kbps.
[export_mp2enc.so] (46/4096) cmd=mp2enc -v 0 -r 44100 -b 224 -s -o "/dev/null"


clean up | frame threads | unload modules | cancel signal | internal threads |[transcode] encoded 1 frames (0 dropped, 0 cloned), clip length 0.04 s
done
starting dvdpreview.sh script
dvdpreview.sh runs now in the background
starting dvddd.sh script
dd runs now in the background
(T: XBMCLive)xbmc@XBMCLive:~$
(T: XBMCLive)xbmc@XBMCLive:~$


but i get no iso in the folder just some more log files.
it doesent seem to actually start ripping.

i also tried the script directly from xbmc but i get a error that
the iso output directory has no write access. ?

okay figured out the error in the terminal:
ssh xbmc@localhost ./dvdrip.sh /dev/sr0 /dvdrip change-me.iso

should be:
ssh xbmc@localhost ./dvdrip.sh /dev/sr0 /home/xbmc/dvdrip change-me.iso

:)

now its ripping an iso to my dvdrip folder :)



As I saw this

T: XBMCLive)xbmc@XBMCLive:~$ ssh xbmc@localhost ./dvdrip.sh /dev/sr0 /dvdripper change-me.iso
./dvdrip.sh: line 20: cd: /dvdripper: No such file or directory

It was clear .... it was startet with the wrong directory ....

If something is not clear I try to help ...

BTW : I would symlink the directory /dvdrip to your greatest partition

ln -s /media/big-mama-partition /dvdrip

and you don't have to touch the directory inside the script ...

regards from switzerland
Linuxluemmel

linuxluemmel
2009-07-13, 00:57
your script sounds very nice !
i followed your guide, since im no linux guru i made a few mistakes
and misunderstood some of your guideance ;)


Ok You may help me to produce a better help and documentation ....

I do working as system engineer since many years with linux and windows
....
therefore sometimes I do not thinking about poeple who don't know linux very well ...

You could give me some hints ....

Hans

The-Boxhead
2009-07-13, 01:11
Okay ripping dvd works.

Some sugestions:

each time i start to rip a dvd i have to go trough the same screens, typing in with my remote all the info needed to change. This is not user friendly.
There should be some way to config these settings so that the ripping starts right away after you have choosen the iso name. then im thinking of:
/dev/sr0
/dvdrip
/ssh user@localhost

About the /dvdrip - this only works if you symlink. to use a local folder in the home directory you need to edit the line to: /home/xbmc/dvdrip

I also bellive that when you have setup your enviroment the only popup for the user should be about the iso file name, and possibly a "start" button.
theres to much popups now ;)

also a bug:
if you try to enter a directory that doesent exist it will crash.

Also when the ripping actually starts a progress bar in would be nice.
Possibly with a "pause" and "cancel" button on it.

I love your work and cant wait for the burn to dvd to become a feature :)
this script has a high waf factor when tweaked a little ;)

gonna try transcoding soon and report back.

linuxluemmel
2009-07-13, 01:25
Okay ripping dvd works.

Some sugestions:

each time i start to rip a dvd i have to go trough the same screens, typing in with my remote all the info needed to change. This is not user friendly.
There should be some way to config these settings so that the ripping starts right away after you have choosen the iso name. then im thinking of:
/dev/sr0
/dvdrip
/ssh user@localhost

About the /dvdrip - this only works if you symlink. to use a local folder in the home directory you need to edit the line to: /home/xbmc/dvdrip

I also bellive that when you have setup your enviroment the only popup for the user should be about the iso file name, and possibly a "start" button.
theres to much popups now ;)

also a bug:
if you try to enter a directory that doesent exist it will crash.

Also when the ripping actually starts a progress bar in would be nice.
Possibly with a "pause" and "cancel" button on it.

I love your work and cant wait for the burn to dvd to become a feature :)
this script has a high waf factor when tweaked a little ;)

gonna try transcoding soon and report back.

Most of the things you said are allready in the pipeline ...

if you define 1. time ->

-the source dvd
-the rip directory
-the proper ssh-command

should be fine ....
I will try to write this settings into a configuration-file ...

and BTW beta software has a lot of changes during development .-)

Thanks for the feedback ...
Linuxluemmel :_)

The-Boxhead
2009-07-13, 01:26
okay transcoding :)

from my terminal-
./dvd2mpeg2.sh /dev/sr0 /home/xbmc/dvd-rip dvdvolume 1 1

works like a charm.

but from xbmc i just get tossed back to the main script after i have entered
where to store the transcoded file... no options for formats etc ?

okay EDIT:
./dvd2mpeg2.sh /dev/sr0 /home/xbmc/dvd-rip dvdvolume 1 1

that line transcodes the dvd directly from the disc...

i tried to use the iso file from xbmc....

The-Boxhead
2009-07-13, 01:34
i get carried away you know :) thanks for all the hard work i know
you put into this. and i understand that this is beta but i gonna try and help
you as much as i can with testing.

i could also write up some new setup guidelines, but maybe wait
until you are at a more stable state ?

I also think that adding a file browser window to select ripping directory would
be a huge improvement.

linuxluemmel
2009-07-13, 01:47
i get carried away you know :) thanks for all the hard work i know
you put into this. and i understand that this is beta but i gonna try and help
you as much as i can with testing.

i could also write up some new setup guidelines, but maybe wait
until you are at a more stable state ?

I also think that adding a file browser window to select ripping directory would
be a huge improvement.

Thanks :-=) I don't look on the time I needed. I never programmed in python before
1. june .... I still learning .... BTW The xbmc-script engine enables you to do allmost
anything ...

Yes there is a lot ow work to do ....
If you would like to help me to produce a better documentation ... fine .. you are my hero ;-)

In a week I would like to produce version 05.C in witch all settings storend inside
a configuration directory ~/dvdripper/configuration and the parameters for device
and ssh and directory never come up anymore :_=

This week I should also prepare some documentations for my students ;-)

TX you
Linuxluemmel

linuxluemmel
2009-07-13, 03:00
Okay ripping dvd works.

this script has a high waf factor when tweaked a little ;)

gonna try transcoding soon and report back.

Could you please tell me what you mean with waf-factor ?

ok ... my native language is German but waf .... I miss maybe something ....

CU Hans


Edit
OK I got it :_)

http://en.wikipedia.org/wiki/Woman_acceptance_factor

I have a also a WAF at home .... LOL

linuxluemmel
2009-07-13, 09:27
okay transcoding :)

from my terminal-
./dvd2mpeg2.sh /dev/sr0 /home/xbmc/dvd-rip dvdvolume 1 1

works like a charm.

but from xbmc i just get tossed back to the main script after i have entered
where to store the transcoded file... no options for formats etc ?

okay EDIT:
./dvd2mpeg2.sh /dev/sr0 /home/xbmc/dvd-rip dvdvolume 1 1

that line transcodes the dvd directly from the disc...

i tried to use the iso file from xbmc....

Ok I guess you have to symlink your directory where you are storing the
the rips to /dvdrip

I saw it is hardcoded in the dialog ....

I know this is a problem but look on the other side every linux user
has its own partition schema ...

Some do ripp inside home ... some do ripp in a own partition
some do ripp to nfs shared directory (and some other do fill up
the root partition ....LOL )

All you have to do is to symlink your personal directory to /dvdrip
and yes .... it can be anywhere as long the symlink exist.

Regards
Hans

If you wont to transcode a rip do :

./dvd2mpeg2.sh /home/xbmc/dvd-rip/name.iso /home/xbmc/dvd-rip dvdvolume 1 1

It does exactly the same like from dvd but using a ripped dvd

linuxluemmel
2009-07-13, 12:26
http://code.google.com/p/luemmels-dvd-ripper/wiki/sshCommands


and please do symlink your rip-directory to : /dvdrip
or
mount a big partition on this mount-point .-)

I received 1 nice little hate email from a very upset user from germany because the transcode process filled the root partition ...This user could try ln -s /dev/null /dvdrip and he has never more a problem with the space inside the rip directory LOL LOL LOL

Sorry but I don't feel responsible if my script is false installed .....

And in the EULA on startup it stands white on black.
Use at own risk !

Rardgerard
2009-07-13, 20:16
With the introduction of H264 does that mean that the ripper can handle a blu-ray disc?

linuxluemmel
2009-07-13, 21:34
With the introduction of H264 does that mean that the ripper can handle a blu-ray disc?


sorry no .)

only export to h264 :-(

linuxluemmel
2009-07-15, 11:36
A few days ago I asked if someone would use this feature.
I do not need subtitles for my export (any format).

But I see there is may the need for a secound language to export.


Regards
Hans

The-Boxhead
2009-07-15, 12:15
Yeah a second language would be great.
Like i always make backup of my kids dvd's. They
usually have nordic subs, to pick one would be cool.
Same for audio language's

Usually i pick Norwegian subs if available and then Norwegian
voice and original english voice (for cartoons and anims)

linuxluemmel
2009-07-15, 12:37
Yeah a second language would be great.
Like i always make backup of my kids dvd's. They
usually have nordic subs, to pick one would be cool.
Same for audio language's

Usually i pick Norwegian subs if available and then Norwegian
voice and original english voice (for cartoons and anims)

So you would need subtitles and a secound audio language ...

OK ... is in the pipe ...

I do work on 0.5C in witch all settings are stored in configuration file

- dvd device
- rip-directory
- ssh command


What about the exported files ? mpeg1,mpeg2,h264 and ogm

Do they look good ?

I for one do favor the export h264 ...

So I could move the h264 menu-entry to the top .....

Regards
Hans

The-Boxhead
2009-07-15, 12:52
Exelent news. looking forward to next release and
also when do you plan on adding burn to disc capabillity ? :)

H.264 is by far the logic format when ripping dvd's in my eyes.
Storage space these days are really not a problem and by the
large number of users using HD content i bellive it will make good sense to make that the default choice yes.

I also bellive that adding a browse dialog to select where to store rips would be very nifty for the not so techy xbmc user. then they could just browse to a networks source or whatever as they are used to in xbmc.
Then as you allready are planning on to store this settings for the next time is gonna be great. So the next time you only get asked about the name of the iso before you can rip. (in that dialog there sould be buttons to select another source and format if desirable but it default to last selections)

When it comes to how the ecoded files look i need to investigate som more
but gonna report back my findings here also.

linuxluemmel
2009-07-15, 13:38
Exelent news. looking forward to next release and
also when do you plan on adding burn to disc capabillity ? :)


I allready send some dvd to hell .-) Because the dual layer dvd's are very
expensive inside switzerland I wonna wait ....until somebdoy may have a tip
or a stupid trick ...

A ripped dvd should look to a burning application like a normal iso file.
But for some reasons I don't know my burnded dvd's from images are
only for the carbage ....
Before I can not produce a few well written dvd's it is still in the pipe ...

In meantime I also do make tests with vlc as streaming-server ....
You could view a ripped file
- in a browser
- in a ps3 or psp

Regards
Hans

The-Boxhead
2009-07-15, 14:23
why not create a smaller test iso file that doesent require dual layer
to investigate on. I also bellive that most burner programs support a "simulation" mode wich performs all the action exepct actually burning to the disk. I have no idea on linux though if this is possible :)

what may also work is to install a virtual image recorder, it acts like a real recorder but writes a iso file instead. I have used this
when debugging stuff in windows but not sure if its possible in linux.

linuxluemmel
2009-07-15, 15:27
I had also a few questions to the users of my script.

1.) Howmany of you have a dual-layer burner ?

Because most of the normal dvd do not fit on a single layer dvd


2.) Inside my country (switzerland) this dual-layer dvd's are very expensive ...

It makes about 5-6 euro for a single medium....


3.) or there is maybe a other solution ... I would make a native export
to mpeg2 with 1 or maximal 2 Audio languages and then make dvd of this
export. I guess nobody needs the specials on a dvd ... only the main movie
is important ....

In this case a normal single layer dvd-r witch is very cheap could be used.

I testeted under Linux K9copy and I was not very amused about the quality ...

The-Boxhead
2009-07-15, 15:32
well on a dual layer dvd much of the space
is used for different audio channels and audio language, extras
etc etc.

On windows i usually use a proggy to strip away everything exept the
main movie and keep one type of audio language. Usually this
method always allows me to fit them on a single layer dvd.

Not sure about all the details of have you encode to h264 but
only taking the main movei and only one audiochannel and then encoding the audio to mp3 cuts a hell of alott space.

EDIT

the price here in norway for a 8x dual layer disc is about 1,75 euro's

linuxluemmel
2009-07-19, 17:42
Hello to all .)

I do still working on release 0.5C that has a few nice features

- All jobs could be run with confirmation or with default values
- All settings are stored in a configuration file
- Transcoding also supports a secound language
- Subtitles could be added or not

http://luemmels-dvd-ripper.googlecode.com/files/Main05c.png


In the next days the new release will be published ....
Greetings Hans

The-Boxhead
2009-07-19, 20:24
Exelent news ! :) looking forward to test !

Frozone
2009-07-20, 13:59
Hello linuxluemmel,

Very interessting thread here.
I am living in Spain --> Red Pill is good for me ;-)

I have one question: When u rip the DVD to ISO, does it rip the complete DVD or only the movie?
In Windows I use CloneDVD, to choose only the movie and the audios and subs that I need.

In some days I will finish my HTPC and then will help testing.

Grüsse aus dem Süden, ich schick dir bissel Sonne, damit du auch in der Schweiz Sommer hast.

linuxluemmel
2009-07-20, 14:18
Hello linuxluemmel,

Very interessting thread here.
I am living in Spain --> Red Pill is good for me ;-)

I have one question: When u rip the DVD to ISO, does it rip the complete DVD or only the movie?
In Windows I use CloneDVD, to choose only the movie and the audios and subs that I need.

In some days I will finish my HTPC and then will help testing.

Grüsse aus dem Süden, ich schick dir bissel Sonne, damit du auch in der Schweiz Sommer hast.

Hello and greetings to spain :-) Ola a toda la gente :-)

If you rip a dvd it is a exactly 1:1 copy of the dvd including trailers
and all audio languages .....
the only down-side is the size ... it needs about 7-8 G for a movie

If you decide to transcode a movie you can select between multiple
output formats (mpeg1 / mpeg 2 / divx / h264 / ogg-vorbis).
By transcoding you can select witch title you wish to transcode and you can select up to 2 audio languages (new since 0.5C).

In the moment I still have a few problems with the subtitles ....
after this problem is fixed and I adapted all shell scripts I release 0.5C
for the puplic.

I for one do favor h264 to transcode ... it is fast ... good quality ...
and the size is also good ....

Regards
Hans

Ach ja bevor ich es vergesse ... Das Wetter in der Schweiz ist für Juli
eine Katastrophe ... Es hat vorgestern bis auf 1800 Meter geschneit ....
BRR...

Frozone
2009-07-20, 15:47
OK, that's not so good for me.
Because I like to stay with the complete iso to not loose quality, but only with the main movie to safe memory.

If transcoding for sure I take h264 codec. Using handbrake for this. For now.

linuxluemmel
2009-07-21, 10:46
Hello to all .-)

As you may know I still work on release 0.5C and I found some problems with
the secound audio language and the subtitles. After some searching I found
a solution to speed-up the transcode process multiple-times (3-4). For this speed-up all my shell script hase to be rewriten. This will delay the delivery
of the release 0.5C a few days.

The rewriting of the scripts has a few enhancments witch will be very nice ...

- If you start a script with wrong agurments ... the script writes a
helpscreen and do exit.
- In every script the needed software-commands are tested first ---
if the script on startup do not finde the command ... write error-message
to the log-directory and exit.
- In the old scripts (prior 0.5C) the transcode process was started allone
and the needed subprocesses (tcat,tcextract) communicate with the
parent process over pipes. In the new release all commands are started
allone and do communicate over FIFO sockets


I hope most of you can wait a short period of time longer than useal.

Best greetings from switzerland
Linuxluemmel

linuxluemmel
2009-07-22, 11:52
Hello Bodys ;_)

Yesterday I workd on the new implementation of the script

dvd2mpeg2.sh

Yes . It rocks .....

It exports a movie in perfect native mpeg2 from dvd with ac3 sound in less than 10 Minutes ...

(1 chapter and 1 audio )

Exporting with 2 audio-languages needs 5 minutes longer than with one ...


BTW: Howmany of you do transcoding to vcd or svcd ?

Should I remove them from the menu ?

Is native dvd / h264 / ogg-vorbis enough ?

This is pending from votes of the users ......

A short answer inside the thread would be nice .....

The transcoding of the subtitle seems to mee like a nightmare wiithout a end.
but I hope until the weekend the problems are solved.

Regards
Hans

hotlobster
2009-07-22, 13:29
The transcoding of the subtitle seems to mee like a nightmare wiithout a end.


Why don't you rip the subs in .idx .sub formats diretly? It just keeps native dvd sub format, instead of trying to transcode them ?

To analyse the dvd and find the subs in the structure, something like this should works:

mplayer dvd://1 -dvd-device /mnt/iso/ -vo null -ao null -frames 0 -v 2>&1 | grep sid

dvd://1 for first title of the dvd.


Then when can extract each sub track we want with the good sid parameter:

mencoder dvd://1 -dvd-device /mnt/iso/ -ovc frameno -nosound -o /dev/null -sid 0 -vobsubout subtitles-fr

Hope it helps you.

Keep up the good work.
Cheers.

Frozone
2009-07-22, 17:21
Vote: Only need native DVD and H264

natethomas
2009-07-22, 20:13
Vote: Only need native DVD and H264

Agreed. And when transcoding to H264, preference is to keep native AC3 or DTS.

Frozone
2009-07-22, 20:35
Agreed. And when transcoding to H264, preference is to keep native AC3 or DTS.

++

The-Boxhead
2009-07-22, 23:21
Yeah Native DVD and H264 keep DTS/AC3.

linuxluemmel
2009-07-23, 03:34
Why don't you rip the subs in .idx .sub formats diretly? It just keeps native dvd sub format, instead of trying to transcode them ?

To analyse the dvd and find the subs in the structure, something like this should works:

mplayer dvd://1 -dvd-device /mnt/iso/ -vo null -ao null -frames 0 -v 2>&1 | grep sid

dvd://1 for first title of the dvd.


Then when can extract each sub track we want with the good sid parameter:

Hope it helps you.

Keep up the good work.
Cheers.

Thanks for the tip ..... You are the hero .... A very big THANK-YOU :grin:

extracting the subfiles is working now .... I guess you know ...
The next problem arrived ...

After extracting I have 2 files ...

rw-r--r-- 1 user user 47849 2009-07-23 02:13 test.idx
-rw-r--r-- 1 user user 3835904 2009-07-23 02:13 test.sub

I created a simple dvd.xml

<subpictures>
<stream>
<textsub filename="/dvdrip/test.sub" characterset="ISO8859-1"
fontsize="28.0" font="Vera.ttf" horizontal-alignment="left"
vertical-alignment="bottom" left-margin="60" right-margin="60"
top-margin="20" bottom-margin="30" subtitle-fps="25"
movie-fps="25" movie-width="720" movie-height="574"
force="yes"
/>
</stream>
</subpictures>


and would like to mux the stream .....
allways error that test.sub could not be loadet .

Has anyone a little tip ?

I do start spumux like this :

spumux -v 8 -m dvd -s0 /dvdrip/dvd.xml < ausgabe.mpg > ausgabe-new.mpg


The output is ....

DVDAuthor::spumux, version 0.6.14.
Build options: gnugetopt magick iconv freetype
Send bugs to <dvdauthor-users@lists.sourceforge.net>

INFO: Locale=de_CH.UTF-8
INFO: Converting filenames to UTF-8
INFO: Detected subtitle file format: subviewer 2.0
INFO: Opened iconv descriptor. *UTF-8* *ISO8859-1*
INFO: Read 0 subtitles
INFO: Unicode font: 255 glyphs.
ERR: Couldn't load file /dvdrip/test.sub.
user@user-laptop:/dvdrip$

All files I provide on the command line exist with one execption (ausgabe-new.mpg)

I had a little a problem with the font definition but after copy the font to ~/.spumux
all was fine but muxing is even now not possible ....


Regards
Hans

hotlobster
2009-07-23, 12:31
In fact that is normal ;)

textsub filename="/dvdrip/test.sub" characterset="ISO8859-1"

You try to import a subtitle file as text, but .idx .sub file are not text based but raw dvd subtitles rip, with sub pictures.

If you want to import them as text you would have to convert them, that means using OCR in an automatic way, not really recommended.

Apparently spumuix don't support .idx .sub files.

You can try to remux the mpeg stream with encode2mpeg ( http://encode2mpeg.sourceforge.net ).

-vobsubsrc mysubsfilenamewithoutextension -addsub copy

You can use encode2mpeg to author your dvd too, instead of using dvdauthor.

My 2 cents.

linuxluemmel
2009-07-23, 22:22
In fact that is normal ;)

You try to import a subtitle file as text, but .idx .sub file are not text based but raw dvd subtitles rip, with sub pictures.

My 2 cents.

After a search I also found out that spumux do not provides to mux native
subfiles .... thanks for the tip anyway ....

If I have 3 streams ....

1.) a mpeg2 stream
2.) a ac3 audio
3.) a native subtitlestream stream

I would not like to mux the stream (audio and video) and a few secounds later
to break out to muxed stream again to add subtitles ...

How do I mux (audio / video / subtitle ) them with encode2mpeg ?

In my opinion the documentation of the encode2mepg is a pice of crap ..

EDIT : it is not a pice of crap ... I should read it better ... I saw it .... RTFM still is very important
mea culpa mea culpa ... I have a new ugly unword ... subtitles ..... LOL

Regards
Hans

linuxluemmel
2009-07-24, 02:00
So the only transcode function inside 0.5c will be native mpeg2 / H2.264

divx -removed
vcd -> removed
svcd -> removed
ogg-vorbis -> removed

Ok only a 3 votes of possible 300 votes is a little low ....

Regards
Hans

hotlobster
2009-07-24, 11:51
I vote for a xvid transcoding too.

For those who want light files to be played on light computers, or xbox based setup.

VCD & SVCD are already stuff from the past , Ogg/Vorbis never succeed to be a scene format sso.

Mpeg2, H264 & Xvid should be sufficient. But i think Xvid is a must have as it's still the biggest scene standard ( not for so long i know ... ).

& I'd love to have possibiliy to decss for the country who have rights to use it.

linuxluemmel
2009-07-24, 13:48
I vote for a xvid transcoding too.

For those who want light files to be played on light computers, or xbox based setup.



100 % ACK .... yes ... you 're right ....

For someone with a old comuputer h264 is not the right choice ...

and all this vcd and svcd is past ...

remains divx as a alternate transocde .

I still have problems with the multiplexing of the subtitles into the mpeg.
Do I guess right, that if the name of the subtitle file is exact the same as
the movie xbmc can handle it ?

The vlc player can load the subtitle files I extracted from a movie.

If xbmc can handle the subtitle files ... Why we need the subtitle files
to be muxed into the mpeg2 stream ?

Yes .. this subtitle thing transcodes my hairs to gray .... :shocked:

I for one do not need subtitles ....but I do it because I was feature request
witch make sense ...


Regards ....
Hans

If I have next week only gray hairs .... my WAF has to talk to you all .-)
Or how I would say in german . "Dann habt ihr aber ein echtes Problem .-) LOL "
or forget about hail storms ...

Inside switzerland we had one yesterday ....

hotlobster
2009-07-24, 16:21
You're true saying that it shoud be sufficient to have the .idx .sub file in the same folder as the video file, with the same name. It works ok without problem with any avi.kv.mov,.mpeg etc.

But for your DVD mastering/requantizing stuff, you will need to have the sub mastered inside the iso ( or how your player will know when to start subs with thos animated menu, and bonus videos ? ).


So only for mpeg2 video remastered in iso dvd, you will need to remus sub in the stream. For mkv it's not a big deal, If people really ant encapsulated subs in mkv, they can do it easily with mkvmerge.

The week-end is coming, perhaps i will have some time to help you with this issue. What problem do you encounter in remuxing mpeg2 with sub files ?

Can you post me some commandline you tried and where you're locked ?

Cheers.

hotlobster
2009-07-24, 20:19
Mhh I answer myself about keeping external sub as i said stupid things. :sniffle:
I thought your mpeg2 export was in dvd format, and requantized to feet in a 4.5dvd for ex.


As it's not the case, there's no interest to remux the subs in the mpeg file.

edt: About using SSH to launch commands on localhost, why not using "at" command to start scripts outside xbmc process ?
Or using "screen" if you prefer ?
It should be more proper than creating a user without using keys ( i use auth with private key for sshd ) for localhost only ?

That would give us a command like this:

/usr/bin/at now -f /usr/bin/yourcommand

or with screen:

screen -d -m -S dvd-ripper yourscript yourscriptargs

( -d will reattach a former dvd-ripper screen if there is one not closed, but when your script dies, it should close the screen session too )

linuxluemmel
2009-07-25, 00:36
Mhh I answer myself about keeping external sub as i said stupid things. :sniffle:
I thought your mpeg2 export was in dvd format, and requantized to feet in a 4.5dvd for ex.


As it's not the case, there's no interest to remux the subs in the mpeg file.

edt: About using SSH to launch commands on localhost, why not using "at" command to start scripts outside xbmc process ?
Or using "screen" if you prefer ?
It should be more proper than creating a user without using keys ( i use auth with private key for sshd ) for localhost only ?

That would give us a command like this:

/usr/bin/at now -f /usr/bin/yourcommand

or with screen:

screen -d -m -S dvd-ripper yourscript yourscriptargs

( -d will reattach a former dvd-ripper screen if there is one not closed, but when your script dies, it should close the screen session too )

As long you wont only to play the mpeg2 local on the xbmc system it is enough to have
the subtitles with the same name like the movie ...
Ok I do not longer try to multiplex the subfile into the mpeg2 stream ....

If you select to transcode a subtitle the native sub / idx file has the same name like
the export name ....


Yes ... there a inside the python script a lot of ways to start the script

- Over at now ~/dvdrip.sh p1 p2 p3
- or with screen
- or wihtout any python script by hand
- or with ssh
- witch cron


But I would like to have a solution witch do work over the network ... I do this way on
my home sytem ....

I have 2 dvd-roms inside ... I can force a command like user@10.0.1.10 ~/dvdrip.sh /dev/sr0 /dvdrip iso-1.iso

and 10 secounds later user@10.0.1.10 ~/dvdrip.sh /dev/sr1 /dvdrip iso-2.iso

in later version of the scripts I would like to send the dd output over a pipe

rip it local and set it to a remote maschine and vice versa

and of course I allready made a ssh key for the remote ssh-server under witch the xbmc system is running.

I will try to puplish 0.5C at monday ... I still have a lot work because the school at witch
I teach begins in 2 weeks again ... My students should also have some documents
and a few nice scripts .... not only the xbmc community ....

Best regards
Hans

linuxluemmel
2009-07-26, 12:35
It looks good now.

You can expect to burn a iso file with 0.5C within the next days.

Let us make example.

1.) You rip a dvd an save it to the folder /dvdrip

2.) In the transcode screen will be a option "Transcode to iso-image"

3.) Depend on the size of the iso it will be called burning_ss.01 or
burning_ds.01

4.) Go to main-screen and select Burn iso-image ...

select the iso-file and execute

Pastebin from a very early stage of dvd2iso.sh .. but it shows in witch direction it comes ...

http://www.pastebin.ch/2674

remember it is alpha script .... I could may finsh 0.5C soon ...

I know burning is the most wanted feature for all of you ...

Regards
Hans

linuxluemmel
2009-07-27, 12:37
Hello to all ;-)

The new release 0.5c is allmost ready ...

- Gui for the settings has to be finished
- All scripts has ben rewriten and tested
- Generating ISO images is working

Before the above things be made .. I need testers with ntsc dvd's

All the burning tests I made was with pal material ...

I don't have any ntsc dvd's therefore I can not test the new script dvd2iso.sh

Today I could make a testsrcript.rar in witch the 2 scripts are placed.
If someone with ntscs dvd's could make a test would be fine ....

the script dvd2iso.sh is a new script ...

- As source a dvd-device or a allready ripped iso-file could be used
- All chapter points from the dvd remain intact
- Up to 2 audio-tracks could be added
- Up to 1 subtitle track could be added
- Inside the rip-directrory a subdirectory is created.
- I do not upscale the video or audio tracks ... (they are 1:1)
- All the steps to produce the iso-file are automated (dvdauthotr,mkisofs)

I did a few test .... and if select one audio and one subtitle the
generated iso fits perfectly on a single layer dvd.

By this tests I saw that if I add a secound audio-track the generated
iso-image was 90 mb to big for a single layer dvd.

I guess most of you can overburn a standart single dvd a little bit more
than the offical cap. with 4.7GB


In the evening I make the download of testsrcript.rar to test with
ntsc material.

the script is called like follows.


./dvd2iso.sh /dvdrip/alien.iso /dvdrip 1 0 -a 3 -s 0

p1. Device or ripp-file
p2 Directory
p3 Title select 1..x
p4 Audio select 0 ...x

p5 p6 -a 3 secound audio language

or

p7 p8 -s 0 subtitle select

Regards
Hans

Frozone
2009-07-27, 13:07
I did a few test .... and if select one audio and one subtitle the
generated iso fits perfectly on a single layer dvd.

By this tests I saw that if I add a secound audio-track the generated
iso-image was 90 mb to big for a single layer dvd.

I guess most of you can overburn a standart single dvd a little bit more
than the offical cap. with 4.7GB



This depends a lot on which DVD ur ripping. I have a lot DVDs that are much smaller then 4GB (with more then 1 Audio). But then I have some that are 7GB (with 1 Audio).

linuxluemmel
2009-07-27, 20:27
Ok the script for testing is here

http://luemmels-dvd-ripper.googlecode.com/files/testscript.rar

Please do copy both files to your home directory and make them executable

You have to install

dvdauthor
mkisofs
subtitleripper

Please make a few tests that the included script encode2mpeg
also do encode ntsc dvds (Standart without an paramter would be pal ...)

Regards
hans

Rardgerard
2009-07-28, 20:40
Luemmels. everything is looking good with this script. Not to get you off the subject entirely, but in the future do see your script at being able to rip blu-ray to its native .m2ts file? I know you can do it with AnyDVD HD and was wondering if yours would soon be able to as well. Thanks, keep up the awesomeness.

linuxluemmel
2009-07-28, 21:10
Luemmels. everything is looking good with this script. Not to get you off the subject entirely, but in the future do see your script at being able to rip blu-ray to its native .m2ts file? I know you can do it with AnyDVD HD and was wondering if yours would soon be able to as well. Thanks, keep up the awesomeness.

Well ... so you tested the script with ntsc dvd ... ok expect 0.5C in the next days ...

Well , in the future plans I see that my script could rip blue-ray ... to h264 ...
Native blue ray would need to mutch space .... 10 movies and your hd would be filled ..

But rembember ,,,, my little project that I started at june 2009 ist still beta ....
it is ugly ... it may works ... and in the near future there is may a release far away from beta

Regards
hans

linuxluemmel
2009-07-28, 21:26
hello to all .-=)

After the confirmation that the script dvd2iso.sh is working fine I would like
to integrate burning this isos ...

What size should I use for a single layer dvd ..... ?


The exact size in bytes ..... 47........... bytes ?

Or should I add the paramter to overburn ... ?

The question is how many bytes could most of you overburn without any problem ?

If I do set the size of the overburn size to big .... There is may a damaged dvd-burner ....

Regards
Hans

blittan
2009-07-28, 22:25
if you use dvd-r you should be fine with almost all isos.

Rardgerard
2009-07-30, 16:25
Well , in the future plans I see that my script could rip blue-ray ... to h264 ...
Native blue ray would need to mutch space .... 10 movies and your hd would be filled ..

I totally agree with that with size of a blu-ray you would need to compress to h264 or maybe mkv?


But rembember ,,,, my little project that I started at june 2009 ist still beta ....
it is ugly ... it may works ... and in the near future there is may a release far away from beta

First off I think that you are doing great since you just started this script in June. The rest is kinda of hard for me to understand. Are you trying to say that you are close to having a script out that is far better than the Beta version?

linuxluemmel
2009-07-30, 22:14
I
First off I think that you are doing great since you just started this script in June. The rest is kinda of hard for me to understand. Are you trying to say that you are close to having a script out that is far better than the Beta version?

Many thanks .-)

Yes .... In the moment I call my build 0.5c but there are so many changes since
the last release I think about to rename it not longer Beta .... Release RC 1

* All settings are stored inside a configuration file
* Transcoding up to 2 audio languages and one subtitle
* Generating a iso ready to burn is working properly
* Allmost all shell scripts are allmost rewritten from the ground.
* All directory and file selection text-boxes has replaced by native
xbmc selection-boxes ....

Things to do in the next days ....

1.) Survive 1. august ... This date is national-day for switzerland ....
And I do normaly drink a lot of beer .... LOL :) and my wife has a so called
drinking problem ,--) ;LOL

2.) write and integrate a iso2disk.sh script
3.) test all settings and scripts again ....
4.) Replace string 0.5C with 0.5F beause allmost anything has changed ...
5.) Puplish 0.5F in englisch and german

The french and spanish release comes 2-3 days later .....
I may speek very good french and spanisch but I don't like to translate
them at my own .... (the same nightmare like my written english)
The translations are made by members of this forum.

regards Hans

linuxluemmel
2009-08-02, 18:27
Hello anyone ;-)

Ok in here is the release 0.5F for linux (english only)

http://luemmels-dvd-ripper.googlecode.com/files/dvd-red-linux-0.5F.tar

readme for 0.5F

http://code.google.com/p/luemmels-dvd-ripper/wiki/Redpill05F

The languages German / French / Spain coming soon also....

In my opinion this release is a great milestone .....

- Yes it can burn iso-files
- Yes , all settings are stored inside a configuration file
- It has 2 modes of operation (confirmed or with default values)
- I removed vcd / svcd and ogg-vorbis from the transcode menu
- for transcoding up to 2 audio languages and one subtitle can be selected

After starting the script the first time you have to adapt the settings..

Goto settings and change the settings to your needs

* 0 dvd-device
* 1 rip-directory
* 2 transcode directory
* 3 ssh user@localhost
* 4 default 1. audio language
* 5 default 2. audio language or none
* 6 default subtitle or none
* 7 Default Menu Entry for transcoding
* 8 default size single side dvd

you can change the settings over the script or with a editor

AND DO NOT FORGET TO COPY ALL SCRIPTS TO YOUR HOME-DIRECTORY
AND MAKE THEM EXECUTABLE !!!!!!!!!!!!!!!

On important thing about burning :

I only tested iso witch where generated over the transcode screen.
I did not test directly burn a ripped iso because inside switzerland
this dual layer dvd's are so expensive ....

And yes ... this iso-generating shell-script needs a lot space ...


Regards
Hans

BTW : I survived national-day yesterday ... :-)

flobbes
2009-08-03, 00:28
Why isnt it possible to leave the shell-scripts in the script/ssh folder?

Im not so happy about so many files in my home dir.

Grats for surviving and already up and going again :)

patito
2009-08-06, 10:20
damn... no windows version .... hopefully soon ;)

linuxluemmel
2009-08-06, 10:41
damn... no windows version .... hopefully soon ;)

If I reach version 0.5G on the red-pill I do work on the blue pill to the same
level if possible. (There are may functions that I do not code for Windows)

The main problem with the blue-pill is a os called windows ....

It is IMHO a limited OS.... because ....

- there is no transcode. It may works with vlc ?
- there is no encode2mpeg.sh
- no awk
- no lsdvd
- no dvdauthor
- ps -axu | grep $1 > tmp.001
- all this little tools -> a nice operating-system should have are not
inside windows (even dd ist no part of the os)

I don't wont to start a os-war inside this forum ... This is my point of view...

Best regards
Hans

linuxluemmel
2009-08-06, 10:50
Why isnt it possible to leave the shell-scripts in the script/ssh folder?

Im not so happy about so many files in my home dir.

Grats for surviving and already up and going again :)


Yes ... You're right ... I can leave the scripts inside the ssh directory and
call them with a longer path .

I the next release 0.5G the scripts remaining in the ssh directory.
Thanks for the feedback ....

Is there anyone out there who is using 0.5F ?
Does the burning part work for you ?
Has anyone burned a ripped-iso with the script ?
I did not test this because the price of dual-layer dvd inside switzerland
is very high. (7-8 Euro)

Regards Hans

linuxluemmel
2009-08-08, 18:18
Hello to all .-)

In the moment I do work for the release 0.5G for linux

Yes I promised to work for the blue pill after 0.5G ...

This are the main features witch I do (try to ...) integrate into the new release

* All scripts will be called from ssh-directory and not longer from the home-directory
* ripping to a remote network-xbmc or from a remote xbmc system should work
* The communicaton will be made with netcat
* Streaming to network over vlc
* I guess 2-3 weeks are the timeline for the new release.

What about 0.5F ?

I don't have any feedback ....

Besta regards from a land where the rain never stops ....
(It only rains at the weekends ... :no: )
Hans

linuxluemmel
2009-08-08, 22:16
Hello ;-)

There is a bug in transcoding from device to other formats with default value ....
Fix it soon ...

I wonna make a interim release 0.5G with this error fixed
and all scripts are called inside the ssh directory ....

linuxluemmel
2009-08-09, 20:40
Hello to all.)

http://luemmels-dvd-ripper.googlecode.com/files/dvd-red-linux-0.5G.tar

Ok this uggly bug was fixed in this release .....
Here are the changes from the changelog :

08/08/09 0.5G We

- german resource file added
- script iso2disk.sh was not executable
- Off by one failure with audio-language (default)
- Show Error if default audio language is not found
- Show Error if secound audio language is not found
- Show Error if subtitle language is not found
- String ID 33066 for error-box added
- Search argument for pid dvd2mpeg2.sh was wrong
- Sleep-time after starting dvd2h264.sh was to short
therefore the start-window was not displayed


Ok in this release I did not changed the scripts. If you allready installed 0.5F you don't
need to copy the scripts to the home-folder.

All you need to do is to replace the python-file (default.py) and all directorys without the config directory.
If you replace the config-directory you have to change the settings again.

In the next comming release 0.5H all scripts are called from inside the ssh directory.


Happy ripping and burning
Hans

My translators did not send back the translations for spain and french ....
here would be the strings.xml to translate ....
If I would try to translate them with my poor writen spain and french skill ... I guess the result would be funny ...
I speak the 2 above languages very good .. but not writing .... (LOL result would be a typo desaster ;-)

linuxluemmel
2009-08-09, 20:49
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<strings>
<string id="32000">DVD-RIPPER 0.5G</string>
<string id="32001">Please select the device for dvd</string>
<string id="32002">Where should the rip be saved ?</string>
<string id="32003">Edit the name of the rip including the file extension .iso</string>
<string id="32004">Would you like to execute the command ?</string>
<string id="32005">command : </string>
<string id="32006">Canceld by user</string>
<string id="32007">Ripping was sucessfull started</string>
<string id="32008">Error by execution of the the dd command.Log-file (dvdimport.log)</string>
<string id="32009">reserved</string>
<string id="32010">Should the job be canceld ?</string>
<string id="32011">Should the inserted dvd be ripped ?</string>
<string id="32012">DVD-drive is not ready</string>
<string id="32013">No disc found inside the drive</string>
<string id="32014">Wrong Operating-System for the script !</string>
<string id="32015">No write access to dvd-rip directory !</string>
<string id="32016">There is allready a rip-job running in the background !</string>
<string id="32017">User and host for ssh communication</string>
<string id="32018">Mainmenu DVD-Ripper</string>
<string id="32019">Burn a DVD from a iso-image (default values)</string>
<string id="32020">Ripp a DVD to a iso-image (default-values)</string>
<string id="32021">Transcode DVD to other formats (default values)</string>
<string id="32022">Info</string>
<string id="32023">Exit</string>
<string id="32024">Settings</string>
<string id="32025">Confirmed burning</string>
<string id="32026">Confirmed ripp</string>
<string id="32027">Confirmed transcode</string>
<string id="32028">Tools</string>
<string id="32029">No write access to transcode directory !</string>
<string id="32030">Insert a empty single-layer dvd for burning and close tray</string>
<string id="32038">Insert a empty dual-layer dvd for burning and close tray</string>
<string id="32031">Please select dvd-iso to burn</string>
<string id="32032">Ripping job is active </string>
<string id="32033">Kill active rip-job and remove iso</string>
<string id="32034">Show progress-bar</string>
<string id="32035">Suspend active rip-job</string>
<string id="32036">Continue suspended rip-job</string>
<string id="32037">Back to mainmenu</string>
<string id="32039">Burning was sucessfull started</string>


<string id="32050">Transcode DVD</string>
<string id="32051">mpeg2</string>
<string id="32052">iso for burning</string>
<string id="32053">xvid</string>
<string id="32054">h264</string>
<string id="32055">Back to mainmenu</string>
<string id="32057">Please select dvd-video-source</string>
<string id="32058">dvd-device</string>
<string id="32059">ripped dvd-iso from hd</string>
<string id="32060">Please select dvd-audio-source</string>
<string id="32061">Where should the transcoded file be saved ?</string>
<string id="32062">Edit the name of the transcoded file wihtout any extension including "."</string>
<string id="32066">Would you like to add a secound audio-language ?</string>
<string id="32067">Would you like to use subtitles for this transcoding ?</string>
<string id="32068">Please select the subtitle for the transcoding</string>
<string id="32069">Please select the iso-file for transcoding</string>
<string id="32070">Please select the directory for transcoding (default directory is shown)</string>
<string id="32071">Transcoding was sucessfull started</string>

<string id="33000">EULA</string>
<string id="33001">Please read this End User Lincence carefully.</string>
<string id="33002">By activate the "Accept" line below you accept</string>
<string id="33003">this Ender User Licence.</string>
<string id="33004"> </string>
<string id="33005">- This programm is gpl-licenced. The gpl licence </string>
<string id="33006"> licence is included inside the script. </string>
<string id="33007">- Neither the author of this script or the creators of </string>
<string id="33008"> xbmc are responsible if you break a law by ripping or</string>
<string id="33009"> transcode a dvd inside your current country. </string>
<string id="33010">- This reminder (EULA) will only be shown once. </string>
<string id="33011">- You are aware that all functions of this script are </string>
<string id="33012"> used at own risk and depend on the law in witch you </string>
<string id="33013"> use this script. </string>
<string id="33014"> </string>
<string id="33015">Accept </string>
<string id="33016">I do not use this script </string>

<string id="33050">Settings</string>
<string id="33051">default dvd-device</string>
<string id="33052">default rip-directory</string>
<string id="33053">default transcode-directory</string>
<string id="33054">default ssh-command</string>
<string id="33055">default 1. audio language</string>
<string id="33056">default 2. audio language</string>
<string id="33057">default subtitle</string>
<string id="33058">default transcoding</string>
<string id="33059">Back to mainmenu</string>
<string id="33060">please type in your 2 audio-code like en / de / fr</string>
<string id="33061">please type in your 2 audio-code like en / de / fr or none if you dont use this feature</string>
<string id="33062">configuration-file could not be opened</string>
<string id="33063">Please select the default-directory for rip-files</string>
<string id="33064">Please select the default-directory for transcoding-files</string>
<string id="33065">default size single-layer dvd</string>
<string id="33066"> not found on this dvd</string>

<string id="33070">Tools</string>
<string id="33071">Start ripp-master (rip over the network to here)</string>
<string id="33072">Start ripp-client (rip from here to a network-master)</string>
<string id="33073">Streaming to network</string>
<string id="33074">Check software dependencies</string>
<string id="33075">Back to mainmenu</string>

</strings>

Pete_London
2009-08-10, 15:18
I'm having all sorts of troubles trying to get 0.5G working - as a proof of concept, of course. It would be illegal to use it where I am.

Could somebody write an 'idiot's how-to' for jaunty? I seem to have everything installed but it just doesn't work.

Many thanks in advance..

Pete

linuxluemmel
2009-08-10, 15:36
I'm having all sorts of troubles trying to get 0.5G working - as a proof of concept, of course. It would be illegal to use it where I am.

Could somebody write an 'idiot's how-to' for jaunty? I seem to have everything installed but it just doesn't work.

Many thanks in advance..

Pete

As a proof of concept I would insert the dvd called "Catch me if you can"
this is the best concept dvd I found on the internet..

Install all the scripts from the ssh-folder to your home directory
make them executable

chmod +x dvd2*; chmod +x iso2*

After you start the script you have to adapt your settings
ssh command / dvd-device / rip-directory / transcode-directory

and very importand :
Creat a ssh-key for your user and do a test login to see that ssh is
working proberly. If this is working you can make a test with a single
script. I would make the tests with dvdripp.sh

http://code.google.com/p/luemmels-dvd-ripper/wiki/sshCommands

BTW this is only a proof of concept and we help in this case ;_)

If you still have problems feel free to email me

linuxluemmel.ch@gmail.com

Regards
Hans

Pete_London
2009-08-11, 11:09
OK.. so it turns out I just needed to install mencoder.

Seems to be working... I'll test it when I get home from work :o)

Thanks!

Pete_London
2009-08-11, 12:08
I had a quick look before I left and the preview file was just green.

Any ideas?

linuxluemmel
2009-08-11, 12:33
I had a quick look before I left and the preview file was just green.

Any ideas?

Ok I never saw this ....

What Linux-System do you use ?
Are you using at least transcode 1.07 ?
I could send you a list of my versions of all

- libdvdread
- ffmpeg

Ok as it seems the preview is made ....
Do you have a iso file if you rip ??

Or is the rip only a few mb long ... this would indicate a problem
with libdvdcss

Do you use a transcode version witch is not linked against libdvdcss ?

I'm sure we find a way to make your proof of concept workable ... LOL

Greetings from the land of rain.
Hans

Pete_London
2009-08-11, 22:09
OK.. am about to get stuck into getting this working... and it's okay because the system will be based in Spain.

The ISO is only 4.5MB so you've given me ideas to look at.

Will try what you've said and reply again soon.

Pete_London
2009-08-11, 22:16
OK... here's what's happening:

xbmc@yes:~$ ./dvdrip.sh /dev/sr0 /dvdrip catch22.iso
transcode v1.0.7 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg, 2004-2008 Transcode Team
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Invalid title IFO (VTS_01_0.IFO).
Can't open the title 1 info file.
(probe_dvd.c) failed to probe DVD title information
[transcode] auto-probing source /dev/sr0 (failed)
[transcode] V: import format | unknown (V=(null)|A=(null))
[transcode] warning : no option -x found, option -i ignored, reading from "/dev/zero"
[transcode] V: import frame | 720x576 1.25:1
XXX: zoom=yes pre_clip=yes
[transcode] V: pre clip frame | 720x540 (18,0,18,0)
[transcode] V: zoom | 352x288 1.15:1 (Lanczos3)
[transcode] V: bits/pixel | 0.710
[transcode] V: decoding fps,frc | 25.000,0
[transcode] V: Y'CbCr | YV12/I420
[transcode] A: import format | 0x2000 AC3 [48000,16,2]
[transcode] A: export format | 0x50 MPEG layer-2 [48000,16,2] 128 kbps
[transcode] V: encoding fps,frc | 25.000,3
[transcode] A: bytes per frame | 7680 (7680.000000)
[transcode] A: adjustment | 0@1000
[transcode] V: IA32/AMD64 accel | sse2 (sse2 sse mmxext mmx asm C)
[transcode] V: IA32/AMD64 accel | using sse memcpy
[transcode] V: video buffer | 10 @ 720x576
[import_null.so] v0.2.0 (2002-01-19) (video) null | (audio) null
[export_mp2enc.so] v1.0.10 (2004-09-27) (audio) MPEG 1/2
[export_mpeg2enc.so] v1.1.10 (2003-10-30) (video) MPEG 1/2
[export_mpeg2enc.so] *** init-v *** !
[export_mp2enc.so] *** init-v *** !
[export_mpeg2enc.so] cmd=mpeg2enc -v 0 -I 0 -f 1 -F 3 -n p -a 2 -o "/dev/null"
[export_mp2enc.so] export profile changed samplerate: 48000 -> 44100 Hz.
[export_mp2enc.so] export profile changed bitrate: 128 -> 224 kbps.
[export_mp2enc.so] (46/4096) cmd=mp2enc -v 0 -r 44100 -b 224 -s -o "/dev/null"


clean up | frame threads | unload modules | cancel signal | internal threads | done
[transcode] encoded 1 frames (0 dropped, 0 cloned), clip length 0.04 s
starting dvdpreview.sh script
dvdpreview.sh runs now in the background
starting dvddd.sh script
dd runs now in the background


Unfortunately while I'm great at fixing lots of techie stuff, this is going right over my head until I grasp the concept... hopefully that will be soon..

Thanks

Pete

linuxluemmel
2009-08-12, 01:11
OK... here's what's happening:

[CODE]xbmc@yes:~$ ./dvdrip.sh /dev/sr0 /dvdrip catch22.iso
transcode v1.0.7 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg, 2004-2008 Transcode Team
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Invalid title IFO (VTS_01_0.IFO).
Can't open the title 1 info file.
(probe_dvd.c) failed to probe DVD title information



Hello pete

As I see you are using transcode 1.07 ... this is good .)

But the message

Can't open the title 1 info file.

Indicates a problem ....

Could you use a lsdvd -a /dev/sr0 or as a alnternativr lsdvd -a /dev/dvd

Get you any error from the above commands ?

On my workstation I did ....

user@user-laptop:~$ dpkg -l | grep libdvd
ii libdvdcss2 1.2.10-0.2medibuntu1 Simple foundation for reading DVDs - runtime
ii libdvdnav4 4.1.3-3 DVD navigation library
ii libdvdread4 4.1.3-4ubuntu2 library for reading DVDs
user@user-laptop:~$



Do you also have a Ubuntu based System ?

Greetings
Jon

Pete_London
2009-08-12, 01:20
OK... turns out I didn't have lsdvd installed... and yes.. I'm running the latest ubuntu.

Here's what lsdvd says:

xbmc@yes:~$ lsdvd -a /dev/sr0
libdvdread: Using libdvdcss version 1.2.10 for DVD access
Disc Title: EC_100465
Title: 01, Length: 01:56:41.000 Chapters: 22, Cells: 22, Audio streams: 06, Subpictures: 29
Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined, Stream id: 0x80
Audio: 2, Language: fr - Francais, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x81
Audio: 3, Language: de - Deutsch, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x82
Audio: 4, Language: it - Italiano, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x83
Audio: 5, Language: es - Espanol, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x84
Audio: 6, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x85

Title: 02, Length: 00:03:21.000 Chapters: 01, Cells: 01, Audio streams: 01, Subpictures: 00
Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x80

Title: 03, Length: 00:00:00.090 Chapters: 01, Cells: 01, Audio streams: 00, Subpictures: 00

Longest track: 01


and here's the latest result:

xbmc@yes:~$ ./dvdrip.sh /dev/sr0 /dvdrip catch22.iso
transcode v1.0.7 (C) 2001-2003 Thomas Oestreich, 2003-2004 T. Bitterberg, 2004-2008 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/3: 22 chapter(s), 1 angle(s), title set 1
(dvd_reader.c) title playback time: 01:56:41.00 7002 sec
(dvd_reader.c) [Chapter 01] 00:00:00.000 , block from 0 to 230235
(dvd_reader.c) [Chapter 02] 00:07:23.480 , block from 230236 to 436408
(dvd_reader.c) [Chapter 03] 00:13:51.880 , block from 436409 to 643950
(dvd_reader.c) [Chapter 04] 00:20:22.640 , block from 643951 to 841848
(dvd_reader.c) [Chapter 05] 00:26:41.440 , block from 841849 to 967318
(dvd_reader.c) [Chapter 06] 00:30:36.520 , block from 967319 to 1120349
(dvd_reader.c) [Chapter 07] 00:35:24.120 , block from 1120350 to 1207292
(dvd_reader.c) [Chapter 08] 00:38:07.400 , block from 1207293 to 1271146
(dvd_reader.c) [Chapter 09] 00:40:07.720 , block from 1271147 to 1636558
(dvd_reader.c) [Chapter 10] 00:51:38.840 , block from 1636559 to 1714539
(dvd_reader.c) [Chapter 11] 00:54:06.360 , block from 1714540 to 1834835
(dvd_reader.c) [Chapter 12] 00:57:55.920 , block from 1834836 to 1971115
(dvd_reader.c) [Chapter 13] 01:02:12.920 , block from 1971116 to 2117484
(dvd_reader.c) [Chapter 14] 01:06:48.560 , block from 2117485 to 2273084
(dvd_reader.c) [Chapter 15] 01:11:39.440 , block from 2273085 to 2391881
(dvd_reader.c) [Chapter 16] 01:15:25.960 , block from 2391882 to 2570582
(dvd_reader.c) [Chapter 17] 01:21:04.560 , block from 2570583 to 2787083
(dvd_reader.c) [Chapter 18] 01:27:53.920 , block from 2787084 to 3008129
(dvd_reader.c) [Chapter 19] 01:34:53.480 , block from 3008130 to 3205144
(dvd_reader.c) [Chapter 20] 01:41:11.680 , block from 3205145 to 3266476
(dvd_reader.c) [Chapter 21] 01:43:07.680 , block from 3266477 to 3467039
(dvd_reader.c) [Chapter 22] 01:49:29.440 , block from 3467040 to 3694890
[transcode] (probe) suggested AV correction -D 0 (0 ms) | AV 0 ms | 0 ms
[transcode] auto-probing source /dev/sr0 (ok)
[transcode] V: import format | MPEG-2 DVD PAL (V=dvd|A=dvd)
[transcode] V: AV demux/sync | (1) sync AV at initial MPEG sequence
[transcode] V: import frame | 720x576 1.25:1 encoded @ 16:9
XXX: zoom=yes pre_clip=yes
[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: Y'CbCr | YV12/I420
[transcode] A: import format | 0x2000 AC3 [48000,16,2]
[transcode] A: export format | 0x50 MPEG layer-2 [48000,16,2] 128 kbps
[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 | sse2 (sse2 sse mmxext mmx asm C)
[transcode] V: IA32/AMD64 accel | using sse memcpy
[transcode] V: video buffer | 10 @ 720x768
[import_dvd.so] v0.4.0 (2003-10-02) (video) DVD | (audio) MPEG/AC3/PCM
[export_mp2enc.so] v1.0.10 (2004-09-27) (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 -L | 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
[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 yv12
[import_dvd.so] delaying DVD access by 3 second(s)
.libdvdread: Using libdvdcss version 1.2.10 for DVD access

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 0x00000136
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000008a1
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000021d4
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x00388341
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x00388346
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x0039adfa
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0039cd90
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_03_1.VOB (0x0039cd90)!!
libdvdread: Elapsed time 0
libdvdread: Found 3 VTS's
libdvdread: Elapsed time 0
..[export_mpeg2enc.so] *** init-v *** !
[export_mp2enc.so] *** init-v *** !
[export_mpeg2enc.so] cmd=mpeg2enc -v 0 -I 0 -f 1 -F 3 -n p -a 2 -o "/dev/null"
[export_mp2enc.so] export profile changed samplerate: 48000 -> 44100 Hz.
[export_mp2enc.so] export profile changed bitrate: 128 -> 224 kbps.
[export_mp2enc.so] (46/4096) cmd=mp2enc -v 0 -r 44100 -b 224 -s -o "/dev/null"
libdvdread: Using libdvdcss version 1.2.10 for DVD access
[decode_mpeg2.c] libmpeg2 acceleration: none (plain C)
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 0x00000136
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000008a1
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x000021d4
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x00388341
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x00388346
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x0039adfa
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0039cd90
libdvdread: Error cracking CSS key for /VIDEO_TS/VTS_03_1.VOB (0x0039cd90)!!
libdvdread: Elapsed time 0
libdvdread: Found 3 VTS's
libdvdread: Elapsed time 0


clean up | frame threads | unload modules | cancel signal | internal threads | done
[transcode] encoded 1 frames (0 dropped, 0 cloned), clip length 0.04 s
starting dvdpreview.sh script
dvdpreview.sh runs now in the background
starting dvddd.sh script
dd runs now in the background


The file size for the iso now looks like it might be right..... preview.mpg looks like it's worked - I'll look at the iso in the morning and then move onto transcoding :)

Thank you muchly so far!

Pete

linuxluemmel
2009-08-12, 01:38
OK... turns out I didn't have lsdvd installed... and yes.. I

The file size for the iso now looks like it might be right..... preview.mpg looks like it's worked - I'll look at the iso in the morning and then move onto transcoding :)

Thank you muchly so far!

Pete

Ok ... LOL you're welcome anytime with your proof of concept ;-=
Jon

BTW lsdvd was not in the list of sofware to install ?
OK I did changed the list of software to install -> lsdvd is now included ....

In my mythbuntu system 9.04 it was not needed to install lsdvd ...
Thanks for the tip

Pete_London
2009-08-12, 10:17
Hi Jon,

I have not yet used the interface, but it seems to be working with a few points worth noting:

1. lsdvd says the english track is track 1 but your script needs it to be track 0. This resulted in an error when I tried to burn track 6 (track 7 not found) and in getting french (track 2) when I asked for track 1.

2. The DVD I am using transcodes to about 2GB in h264. Is there a way to optionally make this a bit smaller for older movies that don't look that great to begin with?

3. Can we place the transcoded movies into a network share that exists in xbmc without having to create a samba share from linux?

Thanks,

Pete

Telko
2009-08-12, 11:03
Hello.

I´ve tryed both scripts (04GBlued and 05GRed) on my Mythbuntu 9.04 machine. The blue one seems to work well in a sample DVD.

I have a problem with ssh configuration to run the red one. Following the readme file:

- ssh-keygen -t rsa: asks for a password twice and I leave it blank hiting Enter. Then says that the public key has been generated and shows a picture of dots and stars (kind of signature)

- ssh-copy-id -i ~/.ssh/id_rsa.pub user@localhost (changin user by "my user"): asks about trusting localhost; I answer yes; says that localhost has been added to trusted hosts. Then it seems to make a connection; asks for the password; I hit Enter and says connection refused

- Testing ssh with "ssh user@localhost ./dvdrip.sh /dev/sr0 /dvdrip change-me.iso" (changin user by "my user"): it asks for the password; I hit Enter; it says thath it is a wrong password and disconnects.

Any idea about what may I be doing wrong?

Thank you.

linuxluemmel
2009-08-12, 11:40
Hi Jon,

I have not yet used the interface, but it seems to be working with a few points worth noting:

1. lsdvd says the english track is track 1 but your script needs it to be track 0. This resulted in an error when I tried to burn track 6 (track 7 not found) and in getting french (track 2) when I asked for track 1.

xbmc@yes:~$ lsdvd -a /dev/sr0
libdvdread: Using libdvdcss version 1.2.10 for DVD access
Disc Title: EC_100465
Title: 01, Length: 01:56:41.000 Chapters: 22, Cells: 22, Audio streams: 06, Subpictures: 29
Audio: 1, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 6, AP: 0, Content: Undefined, Stream id: 0x80
Audio: 2, Language: fr - Francais, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x81
Audio: 3, Language: de - Deutsch, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x82
Audio: 4, Language: it - Italiano, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x83
Audio: 5, Language: es - Espanol, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x84
Audio: 6, Language: en - English, Format: ac3, Frequency: 48000, Quantization: drc, Channels: 2, AP: 0, Content: Undefined, Stream id: 0x85

This is the output your dvd

All indexes are shown as 1-6 but my scripts translate the entrys to 0-5 (witch is correct)



2. The DVD I am using transcodes to about 2GB in h264. Is there a way to optionally make this a bit smaller for older movies that don't look that great to begin with?

3. Can we place the transcoded movies into a network share that exists in xbmc without having to create a samba share from linux?

Thanks,

Pete


hello Pete

1.) The scrip is right ... Indexes for the audio-languages do not start with 1
they start with 0 (transcode starts with index 0). The Indexes for
the titles of a dvd do start with 1.

2.) The transcode process to h264 is made with handbrake. As I remember
correctly there was a quality factor as a optional parameter to handbrake.

3.) No,sorry ! because the script only see the file-system of the linux itself
If you add a smb share to xbmc and this share is not mounted the script
doesn't see the remote filesystem.


Best regards
Hans

linuxluemmel
2009-08-12, 11:46
Hello.

Any idea about what may I be doing wrong?

Thank you.

1.) Did it generate the ssh file in your home directory ~/.ssh
2.) Are you running the system with uid 0 / root ?
3.) Let us make a example ....

you created the ssh-key ...
you did copy the ssh-key

After this copy of the key the ssh-server deamon should never asking anymore for a password ...

you username is for example xbm
try :

ssh xbmc@localhost

and you should be inside your home-directory loged in wihtout any password.
Could you send the ssh-logs to a pastebin ?

Best regards
Hans

Pete_London
2009-08-12, 12:17
Thanks Hans..

I think I had another failure as I walked out the door to come to work... I'll be back on the case in 10 hours.

Cheers,

Pete

Telko
2009-08-12, 17:27
Problem with ssh solved.

The key was in the 2nd step. When I did "ssh-copy-id -i ~/.ssh/id_rsa.pub user@localhost " I was prompted for a password. I thought it was the ssh password so I left it empty. Finally I realized that it was asking my user password in my PC.

When I entered the password, the key was copied and it worked as described.

May be you should add this in the readme so that no one makes the same mistake.

Thank you.

linuxluemmel
2009-08-12, 17:46
Problem with ssh solved.

The key was in the 2nd step. When I did "ssh-copy-id -i ~/.ssh/id_rsa.pub user@localhost " I was prompted for a password. I thought it was the ssh password so I left it empty. Finally I realized that it was asking my user password in my PC.

When I entered the password, the key was copied and it worked as described.

May be you should add this in the readme so that no one makes the same mistake.

Thank you.

This will be written in the readme
Thanks for the feedback

On the point to copy the id .... you have to put in your own password ... because only after the ssh-key is copyd you
can login without a password ...


Best regards
Jon

Pete_London
2009-08-12, 23:25
Hi Jon, or is it Hans (or both?)

Everything works fine from the command line but nada happens from the XBMC interface... how do I find a log of what's going wrong? the ones in ~/dvdripper are empty.

Thanks,

Pete

linuxluemmel
2009-08-13, 00:35
Hi Jon, or is it Hans (or both?)

Everything works fine from the command line but nada happens from the XBMC interface... how do I find a log of what's going wrong? the ones in ~/dvdripper are empty.

Thanks,

Pete

inn german I call me hans in english jon in french jean in spain juan in italiano jovanni in russan ivan

Ok did you adapt the settings from the script ... ? the command ssh as one of the main-parts ?

Regards
Linuxluemmel

linuxluemmel
2009-08-13, 00:45
Hi Jon, or is it Hans (or both?)

Everything works fine from the command line but nada happens from the XBMC interface... how do I find a log of what's going wrong? the ones in ~/dvdripper are empty.

Thanks,

Pete

I guess you have a problem with ssh
If you can login without a password under your user ... all logs are written to the directory
if you can not login ... nothings is written because all log-files are written from the scripts....

Regards
hans (german)

Pete_London
2009-08-13, 01:18
ok... I'll try it in the morning...

Pete / Pierre / Pablo / Pieter / Pedro :laugh:

kizer
2009-08-13, 02:02
Man I was so excited to see this and followed the entire thread. Any luck on the windows side as of yet?

Sorry to pressure you if I am.

linuxluemmel
2009-08-13, 13:42
Man I was so excited to see this and followed the entire thread. Any luck on the windows side as of yet?

Sorry to pressure you if I am.

I allready said that after release 0.5H I work for the blue-pill.

- Blue pill will have the folliowing

- All settings are stored in a configuration file
- You can burn iso
- 2 modes of operartion (confirmend / default values)
- Dialog-Boxes to select directorys

But one thing I do not implement inside the blue-pill for linxu and windows
(I wonna call it Version 0.5H)

- Transcode

Because this would bypass the css or remove the css and make the script
illegal in a few countrys (france as example)

Regards
Hans

PS : At first I would like to make the red-pill release 0.5H

linuxluemmel
2009-08-13, 13:52
Hi Jon, or is it Hans (or both?)

Everything works fine from the command line but nada happens from the XBMC interface... how do I find a log of what's going wrong? the ones in ~/dvdripper are empty.

Thanks,

Pete

Every command I send over the script is written in clear-text inside the python-window.
Open the script -> do some action
and close the script

Right-click with the mouse "Debug-mode" and you should see a lot messages
including the commands that are send over ssh


As you allready said that all scripts are working ... the error must be by ssh.
Could you make a ssh like ssh user@localhost without prompting for any password ?

Regards
Hans

kizer
2009-08-13, 17:16
I allready said that after release 0.5H I work for the blue-pill.

- Blue pill will have the folliowing

- All settings are stored in a configuration file
- You can burn iso
- 2 modes of operartion (confirmend / default values)
- Dialog-Boxes to select directorys

But one thing I do not implement inside the blue-pill for linxu and windows
(I wonna call it Version 0.5H)

- Transcode

Because this would bypass the css or remove the css and make the script
illegal in a few countrys (france as example)

Regards
Hans

PS : At first I would like to make the red-pill release 0.5H

Thanks I must of some how miss-read it. I also got your dd.exe file to work in windows tinkering around with the command that the script generates, but didn't seem to work directly from XBMC, which you already know. I just thought I'd pass that along.

linuxluemmel
2009-08-13, 19:20
Thanks I must of some how miss-read it. I also got your dd.exe file to work in windows tinkering around with the command that the script generates, but didn't seem to work directly from XBMC, which you already know. I just thought I'd pass that along.

Of course does it work ...
Jus play a few secounds of the movie inside xbmc and do exit.

After this you can call dd with the right commands inside a batch-file ..
the iso would be created.

Regards
Hans

linuxluemmel
2009-08-13, 19:31
Every command I send over the script is written in clear-text inside the python-window.
Open the script -> do some action
and close the script

Right-click with the mouse "Debug-mode" and you should see a lot messages
including the commands that are send over ssh


As you allready said that all scripts are working ... the error must be by ssh.
Could you make a ssh like ssh user@localhost without prompting for any password ?

Regards
Hans

I could do the following in the next release ....

In the moment the log file for any process in generated at at the start of
of the script with
> path-to-log
after this any log will be append with
>> path-to-log

If would create the log file with

ssh ....... > path-to-log &

and if for some reason the ssh command is not accepted you would see it inside
the logs ...


Regards
Hans

kizer
2009-08-13, 20:50
Of course does it work ...
Jus play a few secounds of the movie inside xbmc and do exit.

After this you can call dd with the right commands inside a batch-file ..
the iso would be created.

Regards
Hans

Hmm, I'll test that this evening. I thought I caught a brief mention of that earlier. I'll report back later. :grin:

Pete_London
2009-08-14, 10:28
Hi Jon,

Still getting no luck from the interface... I can ssh xbmc@localhost without being asked for a password, but when I try to transcode from the menu, the dvd drive light comes on for a second and then everything stops. The system just goes back to the dvd-red menu.

There's no log files generated. Any ideas?

Thanks,

Pete

linuxluemmel
2009-08-14, 10:39
Hi Jon,

Still getting no luck from the interface... I can ssh xbmc@localhost without being asked for a password, but when I try to transcode from the menu, the dvd drive light comes on for a second and then everything stops. The system just goes back to the dvd-red menu.

There's no log files generated. Any ideas?

Thanks,

Pete

Ok in the settings your user xbmc is written correct ? xbmc@localhost

Did you have a look in the debug-mode of the script to see the ssh-commands the script is generating ?

Regards
Hans

linuxluemmel
2009-08-14, 10:47
Hey Pete

As a sugestion I would make following enhancments in the function to transcode ?


################################################## #####
# Function : show_transcode_menu #
################################################## #####
# Parameter #
# Device DVD file or Device for transcoding #
# Directory Directory for storing the file #
# FileName Filename of the transcoded file #
# VSelect Selected Video Chapter #
# ASelect Selected 1.Audio Track #
# Dual Boolen Use Dual-Audio #
# ASelect2 Selected 2.Audio Track #
# ask Boolean of confirmation #
# do_default Default menu entry #
# subyes Boolean use subtitles #
# subaudio Selected subtitle track #
# #
# Returns 0 False 1 True #
################################################## #####
def show_transcode_menu(Device,Directory,FileName,Vsel ect,ASelect,Dual,ASelect2,ask,do_default,subyes,su baudio):

if (ask):

# Ask for the ssh-command

kb = xbmc.Keyboard('default', 'heading', True)
kb.setDefault(configuration[3])
kb.setHeading(__language__(32017))
kb.setHiddenInput(False)
kb.doModal()
if (kb.isConfirmed()):
SSH = kb.getText()
else:
return(1)
else:
SSH = configuration[3]

if (ask):
dialog = xbmcgui.Dialog()
choice = dialog.select(__language__(32050) , [ __language__(32051), __language__(32052),__language__(32053),__language __(32054),
__language__(32055)])
else:
choice = do_default

if (choice == 0):
print 'transcode mpeg2'
if (Dual == False) and (subyes == False):
command = SSH + ' ./dvd2mpeg2.sh ' + Device + ' ' + Directory + ' ' + FileName + ' ' + str(Vselect) + ' ' + str(ASelect) + ' &'
if (Dual) and (subyes == False):
command = SSH + ' ./dvd2mpeg2.sh ' + Device + ' ' + Directory + ' ' + FileName + ' ' + str(Vselect) + ' ' + str(ASelect) + ' -a ' + str(ASelect2) + ' &'
if (Dual == False) and (subyes):
command = SSH + ' ./dvd2mpeg2.sh ' + Device + ' ' + Directory + ' ' + FileName + ' ' + str(Vselect) + ' ' + str(ASelect) + ' -s ' + str(subaudio) + ' &'
if (Dual) and (subyes):
command = SSH + ' ./dvd2mpeg2.sh ' + Device + ' ' + Directory + ' ' + FileName + ' ' + str(Vselect) + ' ' + str(ASelect) + ' -a ' + str(ASelect2) + ' -s ' + str(subaudio) + ' &'
sys.platform.startswith('linux')
pid_process = 'dvd2mpeg2.sh'
status = os.system("%s" % (command))

# Inserted for better error-handling
# special for pete ;_)

print 'command with will be executed ->' + command


if (choice == 1):
print 'transcode iso'
if (Dual == False) and (subyes == False):
command = SSH + ' ./dvd2iso.sh ' + Device + ' ' + Directory + ' ' + str(Vselect) + ' ' + str(ASelect) + ' &'
if (Dual) and (subyes == False):
command = SSH + ' ./dvd2iso.sh ' + Device + ' ' + Directory + ' ' + str(Vselect) + ' ' + str(ASelect) + ' -a ' + str(ASelect2) + ' &'
if (Dual == False) and (subyes):
command = SSH + ' ./dvd2iso.sh ' + Device + ' ' + Directory + ' ' + str(Vselect) + ' ' + str(ASelect) + ' -s ' + str(subaudio) + ' &'
if (Dual) and (subyes):
command = SSH + ' ./dvd2iso.sh ' + Device + ' ' + Directory + ' ' + str(Vselect) + ' ' + str(ASelect) + ' -a ' + str(ASelect2) + ' -s ' + str(subaudio) + ' &'

sys.platform.startswith('linux')
pid_process = 'dvd2iso.sh'
status = os.system("%s" % (command))

# Inserted for better error-handling
# special for pete ;_)

print 'command with will be executed ->' + command


if (choice == 2):
print 'transcode xvid '
if (Dual == False) and (subyes == False):
command = SSH + ' ./dvd2divx.sh ' + Device + ' ' + Directory + ' ' + FileName + ' ' + str(Vselect) + ' ' + str(ASelect) + ' &'
if (Dual) and (subyes == False):
command = SSH + ' ./dvd2divx.sh ' + Device + ' ' + Directory + ' ' + FileName + ' ' + str(Vselect) + ' ' + str(ASelect) + ' -a ' + str(ASelect2) + ' &'
if (Dual == False) and (subyes):
command = SSH + ' ./dvd2divx.sh ' + Device + ' ' + Directory + ' ' + FileName + ' ' + str(Vselect) + ' ' + str(ASelect) + ' -s ' + str(subaudio) + ' &'
if (Dual) and (subyes):
command = SSH + ' ./dvd2divx.sh ' + Device + ' ' + Directory + ' ' + FileName + ' ' + str(Vselect) + ' ' + str(ASelect) + ' -a ' + str(ASelect2) + ' -s ' + str(subaudio) + ' &'
sys.platform.startswith('linux')
pid_process = 'dvd2divx.sh'
status = os.system("%s" % (command))

# Inserted for better error-handling
# special for pete ;_)

print 'command with will be executed ->' + command


if (choice == 3):
print 'transcode h264'
if (Dual == False) and (subyes == False):
command = SSH + ' ./dvd2h264.sh ' + Device + ' ' + Directory + ' ' + FileName + ' ' + str(Vselect) + ' ' + str(ASelect) + ' &'
if (Dual) and (subyes == False):
command = SSH + ' ./dvd2h264.sh ' + Device + ' ' + Directory + ' ' + FileName + ' ' + str(Vselect) + ' ' + str(ASelect) + ' -a ' + str(ASelect2) + ' &'
if (Dual == False) and (subyes):
command = SSH + ' ./dvd2h264.sh ' + Device + ' ' + Directory + ' ' + FileName + ' ' + str(Vselect) + ' ' + str(ASelect) + ' -s ' + str(subaudio) + ' &'
if (Dual) and (subyes):
command = SSH + ' ./dvd2h264.sh ' + Device + ' ' + Directory + ' ' + FileName + ' ' + str(Vselect) + ' ' + str(ASelect) + ' -a ' + str(ASelect2) + ' -s '+ str(subaudio) + ' &'
sys.platform.startswith('linux')
status = os.system("%s" % (command))
pid_process = 'mp4.sh'

# Inserted for better error-handling
# special for pete ;_)

print 'command with will be executed ->' + command


if (choice == 4):
print 'goto mainmenu'

if (pid_process):

print 'we search for : ' + pid_process

# Inserted for better error-handling
# special for pete ;
# Increased time to sleep

time.sleep(5)

complet_command = "ps -axu |grep " + pid_process + " |grep -v grep |awk '{print $2}' > ~/TRANSCODE_PID"
status = os.system("%s" % (complet_command))

# if PID contains zero size .... whe have a problem ...

pid_path = (os.getenv("HOME") + '/TRANSCODE_PID')
stat_info = os.stat(pid_path)
file_of_pid_transcode = stat_info[stat.ST_SIZE]

if (file_of_pid_transcode != 0):
f = open(pid_path,'r')
pid_transcode = int(f.readline())
f.close
os.remove(pid_path)
if (pid_transcode):
transcode_startet()

print 'leave transcode menu'
return(0)
################################################## #####

Pete_London
2009-08-14, 11:11
OK.. time to sound dumb... how do I do that?

linuxluemmel
2009-08-14, 11:57
OK.. time to sound dumb... how do I do that?

Make a copy of default.py to default-py-red and insert the above function
with a editor of your choice .... the old function do please delete ....
I added a few lines of code for better error-handling

print 'command with will be executed ->' + command

This will print the ssh-command

CU Hans

kizer
2009-08-14, 18:48
Windows version let the disc run for a little bit and then tried and it more or less said it was running and then quit.

I know its not on your getting around to doing things with it at the moment just wanted to let you know what I've tried doesn't work at all in windows well at least for me running XP. The dd.exe file does directly, but not through XBMC.

linuxluemmel
2009-08-14, 20:24
Windows version let the disc run for a little bit and then tried and it more or less said it was running and then quit.

I know its not on your getting around to doing things with it at the moment just wanted to let you know what I've tried doesn't work at all in windows well at least for me running XP. The dd.exe file does directly, but not through XBMC.

Normaly this happens if the key to css is not open ....
Let me guess ... Your iso has a size of 5-6 MB and it is finished ....
Did you watch a few secounds of the movie ?
As long the door (css) is closed , the dd process can not copy the dvd.
At the moment you watch the movie , the door (css) is open wide and you can copy the dvd.
Aslong the door is not opened .... dd could not copy the dvd.
Under windows the scheduler service must be running to start the dd process.
Regards
Hans

linuxluemmel
2009-08-15, 17:48
Hello ;-)

I do work on the network ripping part with netcat ... I would like to test two scripts I working on ...

Later I made them puplic to be tested by a few other geeks :_=

Regards
Hans

linuxluemmel
2009-08-15, 20:03
Here is the script for the master part


#!/bin/bash
################################################## #########
# scriptname : dvdmaster.sh #
################################################## #########
# #
# RELEASE 0.5H luemmels-dvd-ripper #
# #
# This script is part of luemmels-dvd-ripper script for #
# xbmc and is licenced under the gpl-licence #
# #
# http://code.google.com/p/luemmels-dvd-ripper #
# #
################################################## #########
# #
# author : hans weber #
# #
# parameters : #
# #
# $1 port for communication #
# $2 directory to store the remote-dvd rip #
# #
# description : #
# stores a remote ripped dvd iso-image on the local disk #
################################################## #########


# Define the counting commands we expect inside the script

EXPECTED_ARGS=2

# Error-codes

E_BADARGS=1
E_TOOLNOTF=2


OUTPUT_ERROR=~/dvdripper/dvdmaster-error.log

if [ $# -lt $EXPECTED_ARGS ]; then
echo "Usage: dvdmaster.sh p1 p2"
echo " "
echo "[p1] port for netcat to listen"
echo "[p2] directory for rip"
echo " "
echo "dvdmaster.sh was called with wrong arguments" > $OUTPUT_ERROR
exit $E_BADARGS
fi

# Define the commands we will be using inside the script ...

REQUIRED_TOOLS=`cat << EOF
nc
date
EOF`

# Check if all commands are found on your system ...

for REQUIRED_TOOL in ${REQUIRED_TOOLS}
do
which ${REQUIRED_TOOL} >/dev/null 2>&1
if [ $? -eq 1 ]; then
echo "ERROR! \"${REQUIRED_TOOL}\" is missing. ${0} requires it to operate." > $OUTPUT_ERROR
echo " Please install \"${REQUIRED_TOOL}\"." > $OUTPUT_ERROR
exit $E_TOOLNOTF
fi
done

cd $2

# Generate a filename based on time

NOW=$(date +"%b-%d-%y-%H-%M")
ISOFILE="ripped-iso-$NOW.iso"
COMMAND="dd of=$2/$ISOFILE"

echo netcat will be startet as server with the following arguments
echo nc -l -p $1 -w 3600 -c "$COMMAND"
nc -l -p $1 -c "$COMMAND"

exit


and here is the slave part

#!/bin/bash
################################################## #########
# scriptname : dvdslave.sh #
################################################## #########
# #
# RELEASE 0.5H luemmels-dvd-ripper #
# #
# This script is part of luemmels-dvd-ripper script for #
# xbmc and is licenced under the gpl-licence #
# #
# http://code.google.com/p/luemmels-dvd-ripper #
# #
################################################## #########
# #
# author : hans weber #
# #
# parameters : #
# #
# $1 port for communication #
# $2 device for ripping #
# $3 ip-adress of remote system where the rip is saved #
# #
# description : #
# stores a dvd iso-image on a remote network disk #
################################################## #########


# Define the counting commands we expect inside the script

EXPECTED_ARGS=3

# Error-codes

E_BADARGS=1
E_TOOLNOTF=2


OUTPUT_ERROR=~/dvdripper/dvdslave-error.log

if [ $# -lt $EXPECTED_ARGS ]; then
echo "Usage: dvdslave.sh p1 p2 p3"
echo " "
echo "[p1] port for netcat to listen"
echo "[p2] dvd-device"
echo "[p3] IP-Adress of remote-system"
echo " "
echo "dvdslave.sh was called with wrong arguments" > $OUTPUT_ERROR
exit $E_BADARGS
fi

# Define the commands we will be using inside the script ...

REQUIRED_TOOLS=`cat << EOF
nc
EOF`

# Check if all commands are found on your system ...

for REQUIRED_TOOL in ${REQUIRED_TOOLS}
do
which ${REQUIRED_TOOL} >/dev/null 2>&1
if [ $? -eq 1 ]; then
echo "ERROR! \"${REQUIRED_TOOL}\" is missing. ${0} requires it to operate." > $OUTPUT_ERROR
echo " Please install \"${REQUIRED_TOOL}\"." > $OUTPUT_ERROR
exit $E_TOOLNOTF
fi
done


# Generate a filename based on time


transcode -i $2 -c 1-200 -o /dev/null --export_prof vcd > /dev/null 2>&1


echo netcat will be startet as client with the following arguments
echo nc $3 $1 -q 10 -c "dd if=$2"

nc $3 $1 -q 10 -c "dd if=$2"

exit



Any kind of feedback would be nice ....
At least there is allmost no feedback at all ;-(

Regards hans

Pete_London
2009-08-18, 11:56
Hi Hans...

I just want to thank you for all your work and support... you really do embrace the spirit of open source :)

It's very much appreciated.

Pete

linuxluemmel
2009-08-18, 12:31
Hi Hans...

I just want to thank you for all your work and support... you really do embrace the spirit of open source :)

It's very much appreciated.

Pete

Hey Paul

Thanks for the roses ;-)

It is a pleasure to help poeple like you ;-)

BTW Has anybody out there tested the 2 scripts above ?
They do work over localhost and should also work over any
network connection ?

Thanks for testing
Hans

linuxluemmel
2009-08-22, 21:50
Hello to all users of my users ...

There is still a feedback form ....

http://code.google.com/p/luemmels-dvd-ripper/wiki/Feedback

I do still working on 0.5H for linux ....

Regards
Hans

PS :
What about to burning recorded shows to dvd from mythtv ????

Rardgerard
2009-08-27, 17:56
Are you able to select a drive on the network to rip the disc to as opposed to a local drive?

linuxluemmel
2009-08-27, 21:29
Are you able to select a drive on the network to rip the disc to as opposed to a local drive?

Yes ....

Of course ... You have a few options

1.) make the network drive permament ... make a entry inside fstab

2.) make a little change to my scripts .... do the mount inside the scripts...

The remote filesystem can be allmost anything ....

smb
cif
nfs
fuse

I would prefer 1.) over 2.)

Regards
Hans

poundman
2009-08-29, 17:47
I need some help. I read the instructions but still can't figure out how to get this thing working. I'm using Win XP sp3 and I installed the DD.exe.

My problem is installing the script. I put the default.py file in the scripts directory but when I go to the scripts menu I don't see this script to run.

Also, i'm unclear about the value for the DVD ? If my dvd is G: what should I make this value?

linuxluemmel
2009-08-30, 13:43
I need some help. I read the instructions but still can't figure out how to get this thing working. I'm using Win XP sp3 and I installed the DD.exe.

My problem is installing the script. I put the default.py file in the scripts directory but when I go to the scripts menu I don't see this script to run.

Also, i'm unclear about the value for the DVD ? If my dvd is G: what should I make this value?

1.) Weclcome to the xbmc forum :-)

2.) There is a section insde FAQ on http://www.xbmc.org how to install scripts properly

3.) The dd needs to be installed inside C:\Windows\system32

4.) try dd --list to show the values for your dvd-drive

5.) The scheduler-service on windows hase to be running or my script makes nothing

6.) Everey DVD you would like to rip has to be viewed .... a few secounds long.


Regards
Linuxluemmel

linuxluemmel
2009-08-31, 00:42
hello to all ;-)

Like you see on the screenshoot ... The progress-bar for the rip-process is working


http://luemmels-dvd-ripper.googlecode.com/files/05h-progress.bar.png


Has someone tested the netcat scripts ?

Regards Hans

Sakero
2009-08-31, 11:28
Hello ;-

There are some important notes on my script :

- If your Linux-Box automaticly mount inserted dvds disable this behavior.
If the dvd is in use mounted the command dd will not start proberly ....

- As soon the Job could be killed signal -9 over the script I post the new version
0.1C

- Should now running on Mac too ...

CU Hans

linuxluemmel
2009-08-31, 14:17
Hello ;-

There are some important notes on my script :

- If your Linux-Box automaticly mount inserted dvds disable this behavior.
If the dvd is in use mounted the command dd will not start proberly ....

- As soon the Job could be killed signal -9 over the script I post the new version
0.1C

- Should now running on Mac too ...

CU Hans

Do I guess right you are a MacUser ?
I removed the MacPart since version 0.3

I had none feedback (for Mac) about :

- that dd is working to copy a dvd
- that a mac has ssh client and server
- The dvd-device name for a mac
- The directory-structure about mac
- That a part of the scripts do run on mac (should they run ?)

That's the reason I completly removed the mac-part from the source.


The plue-pill (for linux and windows) has version 0.4G

The red-pill (only for linux) has version 0.5G

Release 0.1C was not more than a concept-study of me. (not even beta)

Regards
Hans

Budha
2009-08-31, 21:24
Really really cool program, exactly what i was looking for. Would be super great if you could implement support for blue ray =)
keep up the good work



Well ... so you tested the script with ntsc dvd ... ok expect 0.5C in the next days ...

Well , in the future plans I see that my script could rip blue-ray ... to h264 ...
Native blue ray would need to mutch space .... 10 movies and your hd would be filled ..

But rembember ,,,, my little project that I started at june 2009 ist still beta ....
it is ugly ... it may works ... and in the near future there is may a release far away from beta

Regards
hans

linuxluemmel
2009-08-31, 22:18
Really really cool program, exactly what i was looking for. Would be super great if you could implement support for blue ray =)
keep up the good work

Thanks for the roses ;-=)

I would like to implement this function but there are three reasons I can not make this
function in the moment.

1.) I don't own a blue-ray drive ... (ok I wonna buy a new notebook on christmas)
2.) I don't have any blue-ray disks to make a few tests ....
3.) I don't have any experience with blue-ray (this could change soon ,-) )

At first I would like to implement all functions (progress-bar/network-ripping/streaming) for dvd to version 0.5H (linux).
After that I do implement blue-pill version 0.5H (settings / burning )

Yes ... bluray is in the pipe ....

Happy rippings and greeting from switzerland ;-)
Hans

BTW : As many of you may saw that the progress-bar for local ripping is now working ....

Would you like to see also a progress-bar for the network-ripping part ?

linuxluemmel
2009-09-10, 19:06
This software is okay. But I much prefer Free DVD Ripper (http://www.free-star.org/free-dvd-ripper-freeware.html). It has more sets.

Yes could be.
But there a few things to be said.

1.) Welcome to the board
2.) Your ripper is may faster and have more options, but is it free ?

Where is the souce-code ?
What is the licence ? GPL ? Freeware ?
Happen to be you may work for http://www.free-star.org/blog/ ????

Regards
Hans

spiff
2009-09-10, 21:02
you've been punked by a spambot ;)

linuxluemmel
2009-09-10, 21:50
you've been punked by a spambot ;)


If I see one ... there will be a little street fight ;_) LOL

hotlobster
2009-09-11, 13:45
Hi



I have a problm when trying to enter in setting menu:

NOTICE: File "/home/xbmc/.xbmc/scripts/dvd-red/default.py", line 1340, in __init__
12:57:39 T:2863659920 M:1245786112 NOTICE: show_settings_menu()
12:57:39 T:2863659920 M:1245786112 NOTICE: File "/home/xbmc/.xbmc/scripts/dvd-red/default.py", line 144, in show_settings_menu
12:57:39 T:2863659920 M:1245786112 NOTICE: settings_menu.append(__language__(33052) + " : [" + configuration[1] + "]")
12:57:39 T:2863659920 M:1245786112 NOTICE: UnicodeDecodeError
12:57:39 T:2863659920 M:1245786112 NOTICE: :
12:57:39 T:2863659920 M:1245786112 NOTICE: 'ascii' codec can't decode byte 0xc3 in position 16: ordinal not in range(128)
12:57:39 T:2863659920 M:1245786112 ERROR: Scriptresult: Error



Regards.

linuxluemmel
2009-09-11, 15:34
Hi



I have a problm when trying to enter in setting menu:

NOTICE: File "/home/xbmc/.xbmc/scripts/dvd-red/default.py", line 1340, in __init__
12:57:39 T:2863659920 M:1245786112 NOTICE: show_settings_menu()
12:57:39 T:2863659920 M:1245786112 NOTICE: File "/home/xbmc/.xbmc/scripts/dvd-red/default.py", line 144, in show_settings_menu
12:57:39 T:2863659920 M:1245786112 NOTICE: settings_menu.append(__language__(33052) + " : [" + configuration[1] + "]")
12:57:39 T:2863659920 M:1245786112 NOTICE: UnicodeDecodeError
12:57:39 T:2863659920 M:1245786112 NOTICE: :
12:57:39 T:2863659920 M:1245786112 NOTICE: 'ascii' codec can't decode byte 0xc3 in position 16: ordinal not in range(128)
12:57:39 T:2863659920 M:1245786112 ERROR: Scriptresult: Error



Regards.

Could you please post the config-file ?
Regards
Hans

On what version xbmc 9.04 or svn ?

hotlobster
2009-09-11, 17:34
I'm on svn build 22856, on linux 32 bits.

Here is the config file:

/dev/dvd
/mnt/Storage/Vidéos/FILMS/DVD/
/mnt/Storage/Vidéos/FILMS/DVD/
ssh xbmc@localhost
en
fr
fr
3
4706074624

linuxluemmel
2009-09-12, 13:41
I'm on svn build 22856, on linux 32 bits.

Here is the config file:

/dev/dvd
/mnt/Storage/Vidéos/FILMS/DVD/
/mnt/Storage/Vidéos/FILMS/DVD/
ssh xbmc@localhost
en
fr
fr
3
4706074624

Ok this is a Bug ...
rename the directory
/mnt/Storage/Vidéos/FILMS/DVD/
to
/mnt/Storage/Videos/FILMS/DVD/


and it should work .... it is the non asci-char é witch produces the error

I wonna try to fix error in version 0.5H

BTW Thanks for the feedback
Linuxluemmel

linuxluemmel
2009-09-16, 17:39
Hello ;-)

I do still work release 0.5h on my free time (witch is spare)

I did a lot of changes and enhancements (changelog 0.5H until now)


08/11/09 0.5H We - Typo in the EULA fixed
- All log for ssh-communication will be written to
~/dvdripper/ssh.log
- Implement netcat functions to ripp over the network
- dvdmaster.sh and dvdslave.sh are shell-scripts
08/21/09 We - call all ssh scripts from the ssh-directory.
- multiple corrections to the shell-scripts because
they are all started from a other place than home
- First part for a progress-bar is done. (dvd2size.sh)
- Added size parameter to function working_window
08/29/09 We - hide script until ripp is finished (inside menu).
- Added section for ssh inside README
- Added string-id 32040 - 32043 for english and german
- Logical Error removed .... If the dd script was killed
by hand or any other reason was not finished properly the
following files inside the home directory remains and
therefore the rip-menu comes not up longer to the screen.

RIPPING_STARTET
RIPPING_FILE
RIPPING_PREVIEW
RIPPING_SIZE

If the dd process is not running and the file are inside
the home directory ... the files are removed.
- RIPPING_PREVIEW was never deleted
- Ripping menu not longer showed if you killed the process or
showed progress-bar and the process was finished.
08/31/09 WE - Testing background process to monitor end of dd
(I know now how it not works very well ,-( )

09/05/09 WE - Try a diffrent thing because progress.bar still crash xbmc
Ok it works now ... not as a own progress.py (removed)

09/07/09 WE - Suspend rip-job / continue rip-job do work
- Progress-bar (local ripping) do works
- Prepare script for progress-bar (network ripping)
- settings port tcp for netcat communication
(only start-number of 5 ports)
- Added string 33067 for english and german
- dvdmaster.sh will have a timeout of 3 minutes
If no dvdslave.sh is connecting to the master it will
be killed from inside the script.
09/15/09 WE - send back progress state to a connected slave




The limits are :

- Do not use any Spaces or non-ascci chars inside the directory-names

Be patient ;-) I release it as soon it is ready ....
and If I survive the Müchner Oktoberfest ;-=)

Regards
Hans

linuxluemmel
2009-10-05, 20:35
[QUOTE=linuxluemmel;403272]Hello ;-)

I do still work release 0.5h on my free time (witch is spare)

I would like to release 0.5H for linux an saturday ,-)
I survived the Oktoberfest in Munich ...
In the moment I do still test the release ...
Is there someone who would like to have the release in a other language than
english and german ?
I guees there is not update to the string.xml until saturday ....

Greetings from switzerland
Hans

linuxluemmel
2009-10-12, 22:16
Hello to all users of my script ;-)

The newest release is here ->

http://luemmels-dvd-ripper.googlecode.com/files/dvd-red-linux-0.5H.tar

- Calculate the size of a rip
- Progressbar for local and remote ripping
- Ripping over network with netcat (nc)
- Suspend and Resume local rip-job
- All shell-scripts are called from the script-directory
(No need to copy all scripts to your home-dir)

changelog version 0.5 for Linux :



08/11/09 0.5H We - Typo in the EULA fixed
- All log for ssh-communication will be written to
~/dvdripper/ssh.log
- Implement netcat functions to ripp over the network
- dvdmaster.sh and dvdslave.sh are shell-scripts
08/21/09 We - call all ssh scripts from the ssh-directory.
- multiple corrections to the shell-scripts because
they are all started from a other place than home
- First part for a progress-bar is done. (dvd2size.sh)
- Added size parameter to function working_window
08/29/09 We - hide script until ripp is finished (inside menu).
- Added section for ssh inside README
- Added string-id 32040 - 32043 for english and german
- Logical Error removed .... If the dd script was killed
by hand or any other reason was not finished properly the
following files inside the home directory remains and
therefore the rip-menu comes not up longer to the screen.

RIPPING_STARTET
RIPPING_FILE
RIPPING_PREVIEW
RIPPING_SIZE

If the dd process is not running and the file are inside
the home directory ... the files are removed.
- RIPPING_PREVIEW was never deleted
- Ripping menu not longer showed if you killed the process or
showed progress-bar and the process was finished.
08/31/09 WE - Testing background process to monitor end of dd
(I know now how it not works very well ,-( )

09/05/09 WE - Try a diffrent thing because progress.bar still crash xbmc
Ok it works now ... not as a own progress.py (removed)

09/07/09 WE - Suspend rip-job / continue rip-job do work
- Progress-bar (local ripping) do works
- Prepare script for progress-bar (network ripping)
- settings port tcp for netcat communication
(only start-number of 6 ports)

Warning :

If you have any kind of firewall installed localy
or between master and slave this 6 ports has to be
forwarded !!!

- Added string 33067 for english and german
- dvdmaster.sh will have a timeout of 3 minutes
If no dvdslave.sh is connecting to the master it will
be killed from inside the script.
09/15/09 WE - send back progress state to a connected slave is working.
- Master-script tested and integrated.
- Slave-script tested and integrated.
- This script needs to be installed inside the following directory
"$HOME/.xbmc/scripts/My Scripts/dvd-red/ssh"
Otherwise the netcat-script dvdmaster.sh and dvdslave.sh do not
work properly.
- Shellscript test-commands.sh for testing the installed software
- The state of the dvd was not tested by calling dvdslave.sh
- Integrate "Check software dependencies" into tools-menu.
- Do check for spaces inside directory-names for settings and choosen directorys
- On startup do check that the script is installed in the right
directory.(Otherwise the script will exit...)
- Cancel network slave and report back to master
- Cancel network master and report back to slave
- Network-part neeeds now 6 tcp-ports (not longer 5)
- Cancel from master to slave is working
- Cancel from slave to master is working
- Integrate logic to cancel into gui :-)


10/12/09 WE - Version 0.5h is ready ;-)

It was very hard to inplement the network ripping
feature into the script.
This is the last beta-release of the script


Known limits :
- Only use ascii-chars for ripp-directory name
(exlcuding space)
- The shell-scripts for network ripping do only
send the ip-adress of interface eth0 to the master.
- The script directory is fixed and can not be
channged.
- The master-timeout is set to 180 secounds.




Best regards from switzerland
Hans

BTW This release is a great milestone for me ......

- Allmost 2500 lines of Python-Code
- A few houndreds lines of shell-scripts

linuxluemmel
2009-10-16, 14:57
Hello to all users ;-)

I had a feedback that in the release 0.5H inside the ssh-directory a script
is not included.

http://xbmc.org/forum/showthread.php?p=420274#post420274

The missing script is named dvdpreview.sh

I do repack version 0.5H with the file tonight.

Sorry ...

As a workaround do extract the file from the prior release 0.5G inside ssh-directory

Best regards
Hans

linuxluemmel
2009-10-16, 18:05
Hellot scripters

By my fault .... in the old 0.5H have been 2 scripts not the right one ....


Here is the corrected release ....
Version 0.5Ha

http://luemmels-dvd-ripper.googlecode.com/files/dvd-red-linux-0.5Ha-corrected.tar

Regards
Hans

linuxluemmel
2009-10-17, 16:05
Hello to all ,.)

Here comes a screenshoot from the coming release 0.5H for the blue-pill.
The network-part for linux and windows comes with the release 0.5I

* All settings stored in a configuration file
* Confirmend and default ripping
* Progress-bar for local-ripping

http://luemmels-dvd-ripper.googlecode.com/files/screenshoot-dvd-blue-0.5H.png

Best regards from switzerland
Hans

linuxluemmel
2009-10-18, 14:55
Hello scripters and users ;-)

As I saw on the project-side of my project there have been a few downloads
from the latest release.

I hope it works now ...

I do develop now 05.H for the blue-pill and 05.I fot the red-pill to the same time..

Any feedback would be nice ....

http://code.google.com/p/luemmels-dvd-ripper/wiki/Feedback

it was very hard to implement this network-ripping into the script including to make
the hole thing visible with a progress-bar.

Best regards
Hans

It seems to me nobody using the script ... only download and put it into trashcan ...

linuxluemmel
2009-10-18, 21:18
For all user of the blue-pill with linux

I made a very early alpha script 0.5H blue-pill witch do run as expected ...

1.) you need a running at daemon and the command dd and a few others (ps,kill,isoinfo)

http://luemmels-dvd-ripper.googlecode.com/files/dvd-blue-linux-only-no-windows-0.5H.tar

The windows part needs longer ... but it comes ...
But I need help for scripting ...

Regards
Hans

linuxluemmel
2009-10-20, 16:37
http://code.google.com/p/luemmels-dvd-ripper/wiki/Bluepill05H?ts=1256045741&updated=Bluepill05H

http://luemmels-dvd-ripper.googlecode.com/files/dvd-blue-linux-only-no-windows-0.5H.tar

linuxluemmel
2009-10-21, 16:05
Hello users :-)

The blue bill 0.5H for windows and linux is allmost finished ....
I need some Beta-Testers ....
Who is willing to test it ? Expect it on weekend ... but not puplic ...

Compared to the old release 0.4G it has a few enhancements

* All Settings are stored inside a configuration file
* Confirmend and default ripping
* Progress bar
* Hide script until ripp is finished ...

Ok ... Is anyone out there who whould like to beta-test ?


From the red-pill side I have no feedback so I guess it works ....

http://code.google.com/p/luemmels-dvd-ripper/wiki/Feedback

Regards
Hans

kizer
2009-10-22, 00:57
I'm willing to test it. ;) Windows that is.

linuxluemmel
2009-10-22, 11:45
I'm willing to test it. ;) Windows that is.

Mhm ... I'm a little bit disappointet and upset !!

There are allmost 600 Downloads for the blue-pill and only one person
is willing test the new release for windows ?


and by the way there are 12 Downloads for the alpha blue 0.5H ....

no feedback .....


There are at least over 30 Downloads of the new red-pill 0.5Ha ....

no feedback .....


How should I develop a script wihtout any feedback ?
I do not command you to give feedback ... but from my point of view
I do talk to wall ...

Regards
Hans

Fiasco
2009-10-22, 18:03
Would it be possible that when you get to the point where it asks "where would you like the rip to be saved" that all the predefined "video" source folders in XBMC can be offered up as an option instead of having to type in the location every time?

linuxluemmel
2009-10-22, 18:22
Would it be possible that when you get to the point where it asks "where would you like the rip to be saved" that all the predefined "video" source folders in XBMC can be offered up as an option instead of having to type in the location every time?

Allready done ... If you rip in default mode it stores the rip inside
the directory witch is stored inside the configuration ....

If you rip in confirmend mode ... you must set the directory over a file-dialog.

Regards
Hans

Fiasco
2009-10-22, 21:55
Hans,

Is that just the linux version? (I'm using windows).

The dvd-blue was lastu updated on Jun 22 according to your page.


Lets say I have 3 video sources defined in XBMC.

TV Shows
Movies
Videos

It would be nice if your script asked "which source would you like to save the rip to" and you could just click the XBMC source where you want the file saved.

Fiasco
2009-10-22, 22:33
Here is what I did to your script to achieve the result I'm talking about.

As you can see I manually added my video sources to the dvd-blue script. It would be nice if the script could query XBMC and add the video shares automatically.


# Ask for Directory
dialog = xbmcgui.Dialog()
choice = dialog.select("Where Should The Video Be Saved?" , [ "Movies", "Videos", "TV Shows", "Choose Directory" ])
if (choice == 0):
DVD_dir = "Z:\\Movies"
if (choice == 1):
DVD_dir = "Z:\\Videos"
if (choice == 2):
DVD_dir = "Z:\\TV Shows"
if (choice == 3):
kb = xbmc.Keyboard('default', 'heading', True)
kb.setDefault(dvd_dir)
kb.setHeading(__language__(32002))
kb.setHiddenInput(False)
kb.doModal()
if (kb.isConfirmed()):
DVD_dir = kb.getText()
else:
return(1)

linuxluemmel
2009-10-22, 22:56
Here is what I did to your script to achieve the result I'm talking about.

As you can see I manually added my video sources to the dvd-blue script. It would be nice if the script could query XBMC and add the video shares automatically.


# Ask for Directory
dialog = xbmcgui.Dialog()
choice = dialog.select("Where Should The Video Be Saved?" , [ "Movies", "Videos", "TV Shows", "Choose Directory" ])
if (choice == 0):
DVD_dir = "Z:\\Movies"
if (choice == 1):
DVD_dir = "Z:\\Videos"
if (choice == 2):
DVD_dir = "Z:\\TV Shows"
if (choice == 3):
kb = xbmc.Keyboard('default', 'heading', True)
kb.setDefault(dvd_dir)
kb.setHeading(__language__(32002))
kb.setHiddenInput(False)
kb.doModal()
if (kb.isConfirmed()):
DVD_dir = kb.getText()
else:
return(1)


Sorry by now in the release 0.5H is one default directory written inside
the configuration file.
If you chose to rip in confirmed mode you can chose any directory you wish ...

Regards
Hans

Fiasco
2009-10-23, 18:53
I was playing around with the script some more and noticed something.

When I execute the script and write to a hard drive on the PC running the script it works fine. If I try to write to a mapped network drive it doesn't work. It executes the command but nothing is ever written to the mapped network drive.

If I comment out this line (where you add the At and time function to the command string)

# command = 'at ' + str(hh) + ':' + str(mm) + ' %WINDIR%\\SYSTEM32\\' + command

It will write to the network drive.

Any thoughts as to why that happens?

linuxluemmel
2009-10-24, 19:07
Hello to windows users of blue-pill ,-)

I have created the batch-files for windows release 0.5h.
By now I need to know that the scripts are working

1.) Download the test-script

http://luemmels-dvd-ripper.googlecode.com/files/batch-files-windows-05h.zip

3.) Unpack the files to c:\test-script
2.) open a terminal
3.) mkdir %windir%\dvdripper
4.)
open testblue.cmd and replace d:\dvdrip with your own rip-place
open testvol.cmd and replace the F: with the drive-Letter of your dvd.
5.) Inside the directory are 2 files to test
6.) Insert a dvd and look a few secounds of the movie
7.) execute testvol.cmd -> It should resturn the name of the dvd
execute testblue.cmd -> It should start the ripp process with dd
and write a few files inside %windir%

I would like to hear .. that the scripts do work with
- windows xp ?
- vista `?
and may windows 7 ?

On a german windows xp with sp3 they run well ....

Feedback would be nice..
Without confirmation I do not release 0.5H for windows.

linuxluemmel
2009-10-26, 16:04
I had one single feedback ....

That my script is not running on a svn build for linux ...

Is that true ?

Could this be confirmed ?
Hans

Fiasco
2009-10-26, 20:37
I got file not found on the blue-pill link.

linuxluemmel
2009-10-26, 22:09
I got file not found on the blue-pill link.

Thats , correct

After 39 Downloads and no feedback I decidet to delete the file ...
If I ask for Feedback (this means any kind ... good or bad) and nothing cames back to me, the script must be useless or not working.
This is not the way the spirit of Open-Source is working.
I do not command to give feedback but a single email or a little
posting inside the forum would be enough...

Regards
hans

Fiasco
2009-10-26, 23:07
Thats , correct

After 39 Downloads and no feedback I decidet to delete the file ...
If I ask for Feedback (this means any kind ... good or bad) and nothing cames back to me, the script must be useless or not working.
This is not the way the spirit of Open-Source is working.
I do not command to give feedback but a single email or a little
posting inside the forum would be enough...

Regards
hans

You posted it on a Saturday in the evening and took it down before Monday morning.

What did you expect?

kizer
2009-10-27, 20:07
I didn't even know it was up. I had word that it might be up this weekend, but honestly I didn't check this thread and I guess I missed it. :sad:

linuxluemmel
2009-10-28, 02:44
For those of you that have password from me .....

http://luemmels-dvd-ripper.googlecode.com/files/NOT-PUPLIC-BETA-002-dvd-blue-windows-linux-0.6A.zip


I guess now are all bugs removed ...
Test it until Sunday ... On Sunday I would like to release 0.6A for
the blue-pill and red-pill

Regards
Hans

linuxluemmel
2009-10-28, 02:51
Hello scripters ...

By now the blue-pill and red-pill do share the same rescource-files
for translations

English / German / French is ready to use ....
If someone would like to see a other languages .... .translate this
strings.xml and send it to me ....

Very Important : I neeed to know how the resource-directory has to be written
(example English German France)

This is the dump of strings.xml



<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<strings>
<string id="32000">DVD-RIPPER 0.6A</string>
<string id="32001">Please select the device for dvd</string>
<string id="32002">Where should the rip be saved ?</string>
<string id="32003">Edit the name of the rip including the file extension .iso</string>
<string id="32004">Would you like to execute the command ?</string>
<string id="32005">command :</string>
<string id="32006">Cancelled by user</string>
<string id="32007">Ripping was sucessfull started</string>
<string id="32008">Error by execution of the the dd command</string>
<string id="32009">reserved</string>
<string id="32010">Should the job be cancelled ?</string>
<string id="32011">Should the inserted dvd be ripped ?</string>
<string id="32012">DVD-drive is not ready</string>
<string id="32013">No disc found inside the drive</string>
<string id="32014">Wrong Operating-System for the script !</string>
<string id="32015">No write access to dvd-rip directory !</string>
<string id="32016">There is allready a rip-job running in the background !</string>
<string id="32017">User and host for ssh communication</string>
<string id="32018">Mainmenu DVD-Ripper</string>
<string id="32019">Burn a DVD from a iso-image (default values)</string>
<string id="32020">Ripp a DVD to a iso-image (default-values)</string>
<string id="32021">Transcode DVD to other formats (default values)</string>
<string id="32022">Info</string>
<string id="32023">Exit</string>
<string id="32024">Settings</string>
<string id="32025">Confirmed burning</string>
<string id="32026">Confirmed ripp</string>
<string id="32027">Confirmed transcode</string>
<string id="32028">Tools</string>
<string id="32029">No write access to transcode directory !</string>
<string id="32030">Insert an empty single-layer dvd for burning and close tray</string>
<string id="32038">Insert an empty dual-layer dvd for burning and close tray</string>
<string id="32031">Please select dvd-iso to burn</string>
<string id="32032">Ripping job is active</string>
<string id="32033">Kill active rip-job and remove iso</string>
<string id="32034">Show progress-bar</string>
<string id="32035">Suspend active rip-job</string>
<string id="32036">Continue suspended rip-job ?</string>
<string id="32037">Back to mainmenu</string>
<string id="32039">Burning was sucessfull started</string>
<string id="32040">Ripping completed wihtout errors</string>
<string id="32041">Ripping started without error</string>
<string id="32042">Progress-Ripping</string>
<string id="32043">Cancel do only close this window</string>
<string id="32044">Hide script until ripp is finished</string>
<string id="32045">Script is in the wrong directory</string>
<string id="32046">Space-chars inside the directory-names are not supported</string>
<string id="32047">This function is not active in Windows</string>
<string id="32048">Windows Drive-Letter for DVD</string>

<string id="32050">Transcode DVD</string>
<string id="32051">mpeg2</string>
<string id="32052">iso for burning</string>
<string id="32053">xvid</string>
<string id="32054">h264</string>
<string id="32055">Back to mainmenu</string>
<string id="32057">Please select dvd-video-source</string>
<string id="32058">dvd-device</string>
<string id="32059">ripped dvd-iso from hd</string>
<string id="32060">Please select dvd-audio-source</string>
<string id="32061">Where should the transcoded file be saved ?</string>
<string id="32062">Edit the name of the transcoded file wihtout any extension including "."</string>
<string id="32066">Would you like to add a secound audio-language ?</string>
<string id="32067">Would you like to use subtitles for this transcoding ?</string>
<string id="32068">Please select the subtitle for the transcoding</string>
<string id="32069">Please select the iso-file for transcoding</string>
<string id="32070">Please select the directory for transcoding (default directory is shown)</string>
<string id="32071">Transcoding was sucessfull started</string>

<string id="33000">EULA</string>
<string id="33001">Please read this End User Lincence carefully.</string>
<string id="33002">By activate the "Accept" line below you accept</string>
<string id="33003">this Ender User Licence.</string>
<string id="33004"> </string>
<string id="33005">- This programm is gpl-licenced. The gpl licence</string>
<string id="33006">is included inside the script.</string>
<string id="33007">- Neither the author of this script or the creators of</string>
<string id="33008">xbmc are responsible if you break a law by ripping or</string>
<string id="33009">transcode a dvd inside your current country.</string>
<string id="33010">- This reminder (EULA) will only be shown once.</string>
<string id="33011">- You are aware that all functions of this script are</string>
<string id="33012">used at own risk and depend on the law in witch</string>
<string id="33013">country you use this script.</string>
<string id="33014"> </string>
<string id="33015">Accept</string>
<string id="33016">I do not use this script</string>

<string id="33050">Settings</string>
<string id="33051">default dvd-device</string>
<string id="33052">default rip-directory</string>
<string id="33053">default transcode-directory</string>
<string id="33054">default ssh-command</string>
<string id="33055">default 1. audio language</string>
<string id="33056">default 2. audio language</string>
<string id="33057">default subtitle</string>
<string id="33058">default transcoding</string>
<string id="33059">Back to mainmenu</string>
<string id="33060">please type in your 2. audio-code like en / de / fr</string>
<string id="33061">please type in your 2. audio-code like en / de / fr or none if you dont use this feature</string>
<string id="33062">configuration-file could not be opened</string>
<string id="33063">Please select the default-directory for rip-files</string>
<string id="33064">Please select the default-directory for transcoding-files</string>
<string id="33065">default size single-layer dvd</string>
<string id="33066"> not found on this dvd</string>
<string id="33067">default netcat start-port (6 tcp-ports needed)</string>

<string id="33070">Tools</string>
<string id="33071">Start ripp-master (rip over the network to here)</string>
<string id="33072">Start ripp-client (rip from here to a network-master)</string>
<string id="33073">Reserved for streaming to network</string>
<string id="33074">Check software dependencies</string>
<string id="33075">Back to mainmenu</string>
<string id="33076">Transfer from the slave was successfull</string>
<string id="33077">No client did connect to this master (timeout)</string>
<string id="33078">Network-ripp cancelled</string>
<string id="33079">IP-Adress of master to connect</string>
<string id="33080">Client could not connect to the master (timeout)</string>
<string id="33081">Transfer to the master was successfull</string>
<string id="33082">Network-ripp canceld</string>

</strings>

linuxluemmel
2009-10-28, 23:16
http://luemmels-dvd-ripper.googlecode.com/files/SECOUND-NOT-PUPLIC-BETA-dvd-blue-windows-linux-0.6A.zip

This is not a puplic release ....
The public release 0.6A for the red-pill / blue-pill comes on the weekend.

regards
Hans

linuxluemmel
2009-10-29, 21:25
Hello to all testers ....

If youd would like to test the blue-pill for Linux ..... there is a little bug....
As I created the zip-file under windows .... I was not aware that winzip
knows nothing about rights (x) under linux ....

Please go the linux-shell directory and type ...
chmod +x *
And the release is working ...

The final release will be packed with tar .... under linux ....

linuxluemmel
2009-10-30, 13:16
Ok the final Release 0.6B for the red-pill and blue-pill is finished .....
I changed on both releases small code-parts and now they are allmost identical.

What is common in both (red and blue pill)

* All settings are stored in configuration file
* Using the same rescource-files for languages
* Supported languages are English / German and French
* Show a progress-bar for local rips
* The script can be run minimized until a ripp is finished
* Rips can be suspendet and later be continued (Runs only on Linux)
* The dvd-name will be used inside the script

If I dont receive any feedback from the testers I guess the scripts
are working like expected.
In this case the release will be puplic on saturday or sunday.

The script will not longer be a beta -> It 's Release Candidate 1

What are enhanced features of the red-pill compared to the blue ?

* Ripping to the network (Master / Slave)
* Transcode dvd to native mpeg2 / divx / h264 / iso
* Burning transcoded iso's to dvd
* Check to see if all required software is installed

Regards
Hans

linuxluemmel
2009-10-31, 15:28
Blue Pill for Windows and Linux

http://luemmels-dvd-ripper.googlecode.com/files/dvd-blue-windows-linux-0.6B.tar


Red-Pill

http://luemmels-dvd-ripper.googlecode.com/files/dvd-red-linux-0.6B.tar

heavydz
2009-11-03, 08:59
thanks for the development.
this sounds great and i will do a first tryout now...

feedback comes later ;)

linuxluemmel
2009-11-05, 01:07
Anyone who would like to see the script in other native language could
donwload this strings.xmls (english) and send back the translation to me.

http://luemmels-dvd-ripper.googlecode.com/files/xmlt.tar

In the moment the release 0.6B spreaks English / French / German / Polish

What about spain or portuges ?
Or Russian ?

Regards
Hans


PS : Please do not send only the strings.xml back ... Do it pack inside the right-folder
name for the language.

I have downloads from other 45 countrys worldwide .... (Google-Analaytics reports this to me )
- Even china and japan are on the list ..
- thailand ....
and many more .... including us and uk and germany ... LOL LOL LOL

nxD4n
2009-11-06, 10:10
Hi Hans,
in resources/language/ you put the french string.xml in the "France" folder. Should probably better be /french no?

I'll check the 6b this weekend even that I already ripped all my DVDs with 0.5h ;-) )
Daniel

linuxluemmel
2009-11-06, 13:50
Hi Hans,
in resources/language/ you put the french string.xml in the "France" folder. Should probably better be /french no?

I'll check the 6b this weekend even that I already ripped all my DVDs with 0.5h ;-) )
Daniel

OK thanks for the feedback ... I guess this was my fault.
I do repack both packages (blue and red() with the resource-folder called /french.

Confirmend -> Resource-Folder should be /French

I also do include polish inside the resource-directory.


Regards
Hans

linuxluemmel
2009-11-07, 14:59
OK thanks for the feedback ... I guess this was my fault.
I do repack both packages (blue and red() with the resource-folder called /french.

Confirmend -> Resource-Folder should be /French

I also do include polish inside the resource-directory.


Regards
Hans

I did update both packages ... red and blue
now they contains following languages : English / French / German / Polish

The only change was the resource-folder ....

Regards
Hans

linuxluemmel
2009-11-10, 01:18
I did update both packages ... red and blue
now they contains following languages : English / French / German / Polish

The only change was the resource-folder ....

Regards
Hans

Ok, one language more ..... now release 0.6B blue-and red speaking

- English
- German
- French
- Polish
- Dutch

Feel free to send me more translated strings.xml
Regards
Hans

tbergman
2009-11-10, 07:22
I'm using Windows XP
Running Windows SP3
Settings:
\\?\Device\CdRom0
D:\dvdrip
F:


Then I get this:
ERROR Python script failed: special://home/scripts/dvd-blue/default.py

Whats wrong?

linuxluemmel
2009-11-10, 09:22
I'm using Windows XP
Running Windows SP3
Settings:
\\?\Device\CdRom0
D:\dvdrip
F:


Then I get this:
ERROR Python script failed: special://home/scripts/dvd-blue/default.py

Whats wrong?

Could you post the log ?

Regards
Hans

Please try the following ...
Inside the windows-shell folder are 2 cmd files.

ddrun.cmd
blue.cmd

replace inside the 2 files the following
grep "dd.exe"
with the replacement
grep dd.exe

tbergman
2009-11-10, 16:18
Alright, I'll try to post a log soon. Side note, does anyone know what the "Default DVD-Device" is supposed to be?

tbergman
2009-11-10, 16:28
Alright, here's debug log:
http://pastebin.com/m2b35964d (http://pastebin.com/m2b35964d)

linuxluemmel
2009-11-10, 19:08
Alright, here's debug log:
http://pastebin.com/m2b35964d (http://pastebin.com/m2b35964d)


The following entry has spaces inside the name and is not qoted with "


C:\Documents and Settings\Travis\Application Data\XBMC\scripts\dvd-blue\windows-shell\hstart /NOCONSOLE


Because this the application hstart.exe is never executed ....


"C:\Documents and Settings\Travis\Application Data\XBMC\scripts\dvd-blue\windows-shell\hstart"


Try first to watch the dvd a few secounds long ... and after this do do starte volname.cmd and
blue.cmd from the commandline

Eatmeimadanish
2009-11-11, 00:13
I have gotten transcoding to work using HandBreakCLI. You can just name your file your ripping. If anyone is interested let me know and I can send you my files.

linuxluemmel
2009-11-11, 11:46
I have gotten transcoding to work using HandBreakCLI. You can just name your file your ripping. If anyone is interested let me know and I can send you my files.

I dont see the meaning of this post ...

My ripper script is using handbrake and the programm is included



Following external gpl-software is used inside my script and is included. There is no need to install them seperate.

* http://handbrake.fr (For transcoding dvd to h264)
* http://encode2mpeg.sourceforge.net/encode2mpeg.html (For the creation of dvd-iso's)
* http://unxutils.sourceforge.net (Used inside the batches for Windows)

linuxluemmel
2009-11-12, 14:25
I guess there is a issue if you run version 0.6B for Windows and
you store the scripts inside your home directory (C:\Documents and Settings)


Do change the following lines inside the script


Line 814 default.py

complet_command = spath + '\\hstart /NOCONSOLE /D="' + spath + '" "cmd.exe /c "' + spath + '\\blue.cmd ' + device + ' ' + directory + ' ' + name + ' ' + spath + '""'


to


complet_command = '"' + spath + '\\hstart" /NOCONSOLE /D="' + spath + '" "cmd.exe /c "' + spath + '\\blue.cmd ' + device + ' ' + directory + ' ' + name + ' ' + spath + '""'



Line 899 to

check_command = '"' + spath + '\\hstart" /NOCONSOLE /D="' + spath + '" "cmd.exe /c "' + spath + '\\ddrun.cmd ' + spath + '""'




If you do run the scripts inside a path witch doesn't contains " " all
should work like expected ....

linuxluemmel
2009-11-17, 10:30
Emicsoft DVD Ripper for Mac is a wonderful tool to help you..... LOL


Emicsoft DVD Ripper is only 35$ and of course you are not working
for Emicsoft.. You are a user of this ripper .... LOL


1.) BTW welcome to the forum ....
2.) You are welcome to open a new thread about comercial rippers
3.) My ripper is a GPL licenced ripper ....
4.) Primary it is a wonderfull tool to earn Money for Emicsoft

For a Macuser I would recomend to install Handbrake ...
and move this ripper where it belongs ... to the trash-icon

The-Boxhead
2009-11-17, 21:38
Somebody please ban this spambot ;)

just another spambot lummel.

Mike34
2009-11-21, 20:08
Just wanted to say what a great script this is, every new dvd i get now i just run this script on one of my xbmc's and then store the dvd away never needing it again.
:grin:
I do not know much about the handbrake options so can anyone tell me what to change in the script so it will transcode to H264 with AC3 sound intact? ???