Kodi Community Forum

Full Version: [RELEASE] Luemmel's DVD-Ripper (Script) for Linux, Mac, and Windows
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
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 ...
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
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

Image


In the next days the new release will be published ....
Greetings Hans
Exelent news ! Smile looking forward to test !
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.
Frozone Wrote: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...
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.
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
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
Quote: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:

Code:
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:

Quote: 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.
Vote: Only need native DVD and H264
Frozone Wrote:Vote: Only need native DVD and H264

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

++
Yeah Native DVD and H264 keep DTS/AC3.
hotlobster Wrote: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:

Code:
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 Big 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:Confusedpumux, version 0.6.14.
Build options: gnugetopt magick iconv freetype
Send bugs to <[email protected]>

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
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44