Thanx!
Have you looked into the vobcopy utility?
Vobcopy handles ripping the dvd to your harddisk, but how can you then
burn the vob files back to a dvdr?
I don't know of any graphical tool for this, but there a number of command
line tools that can do it. Transcode is one of them, and dvd::rip is a
front end for it, but as far as I know, it doesn't do dvd->dvd, only
dvd->divx*, etc. The sort of things that mplayer/mencoder can do.
Now here's the geek stuff.
If the dvd is unencrypted and under 4.7G, then
dd if=/dev/dvd of=backup.iso
dvdrecord -v dev=/dev/dvd backup.iso
That's about as simple as it gets.
If, however, either of the two conditions is not met, things are a little
more complicated. You can use any of
streamdvd+streamanalyze
dvdbackup
vobcopy
mjpegtools (auxiliary)
and, of course, the mother of all multimedia tools,
transcode (in particular tccat and tcrequant), which can do much more than
dumping streams.
All of these read (encrypted) dvds and dump the selected streams.
This solves the encryption problem. If, however, the dvd is larger than
4.7G, then it must be requantized, to fit on the physical media.
streamanalyze computes the requantization factor, and you can pass it to
streamdvd. It is self contained. dvdbackup does not requantize, so you
can't use it if the dvd is >4.7G.
Examples for streamdvd you can find in the docs. Here's how you would do
it with transcode:
#dump the audio and the video streams to separate files, so that we can
requantize the video. We do this in a single read from /dev/dvd!
mkfifo vid.fifo aud.fifo # create two pipes
tcextract -i vid.fifo -t vob -x mpeg2 > file.m2v # extract video
tcextract -i aud.fifo -t vob -x ac3 -a 0 > file.ac3 # extract audio
# Nothing happens until there's stuff actually going into the pipes.
# The next command is the actual read from /dev/dvd.
# It pumps stuff into both pipes simultaneously. How cool is that?
tccat -i /dev/dvd -T 1 -L -P | tee aud.fifo vid.fifo > /dev/null
# look at the sizes of file.m2v and file.ac3, and figure out by how much
you should shrink file.m2v so that requantized(file.m2v)+file.ac3 < 4.7G.
(or rather 4.4G). Quality is good up to a factor of about 1.5.
# requantize the video
tcrequant -i file.m2v -o file_req.m2v -f factor #factor = see above.
# put back together the audio and the requantized video.
mplex -f 8 -S 0 -o backup.mpeg file_req.m2v file.ac3
Then, once you have a backup.mpeg file of size < 4.7G (whether you used
streamdvd or transcode) you must create the dvd structure on it, by
breaking it into chapters, etc. (dvdbackup already creates the right
structure, so you can skip to mkisofs+dvdrecord). Currently, the one and
only tool for this is dvdauthor.
Using tcprobe and grep/cut/awk, etc, you can extract the
exact list of chapters from the original dvd and pass it to dvdauthor, so
that the backup copy will have the exact structure as the original.
For instance,
tcprobe -i /dev/dvd -T 1 -H 10 2>&1 | egrep "\[Chapter ..\] " | cut
-d " " -f 4 | perl -pi -e 's/\n/,/' | perl -pi -e 's/,$//' > ch.list
dvdauthor -t -c `cat ch.list` -o backup backup.mpeg # backquotes!
dvdauthor -T -o backup
creates a dvd tree
backup
AUDIO_TS VIDEO_TS
Finally, make an iso image, and burn it to dvd:
mkisofs -dvd-video -o backup.iso backup
dvdrecord dev=/dev/dvd backup.iso
Wheew!
> Augustus S.F.X Van Dusen wrote:
>> [quoted text muted]
>
> Vobcopy handles ripping the dvd to your harddisk, but how can you then
> burn the vob files back to a dvdr?
dvdauthor -t -c `cat chapters.list` -o backup movie.mpeg
dvdauthor -T -o backup
mkisofs -dvd-video -o backup.iso backup
dvdrecord -v dev=/dev/dvd backup.iso
I'll look into that, thank you.
Cool! Thank you so much for posting this info, I've been lookin for it
for quite some time.
I am a bit confused about how the dvd gets decrypted in your transcode
example though. tccat (if I understand correctly) reads directly from
the dvd and then tees the data to 2 copies of tcextract which dumps the
audio and video. When in there does the data get decrypted?
> Amadeus W.M. wrote:
>> [quoted text muted]
>
> Cool! Thank you so much for posting this info, I've been lookin for it
> for quite some time.
>
> I am a bit confused about how the dvd gets decrypted in your transcode
> example though. tccat (if I understand correctly) reads directly from
> the dvd and then tees the data to 2 copies of tcextract which dumps the
> audio and video. When in there does the data get decrypted?
tccat.
Anything that reads from /dev/dvd does decryption transparently. Except
dd, of course.
You're not confusing decryption with decoding, are you? Decryption has to
do with copy protection whereas decoding has to do with file formats and
(de)compression. There's no decompression in my examples, if that's what
you're asking. To the contrary, tcrequant compresses the video even more.
I was also searching a lot by googling about the same issue some weeks
ago, and and couldn't find an answer as clear as yours here.
The only one conclusion I got then was that for doing that I would have to
get into the command line and to learn dvdauthor. So I abandoned the idea,
because I was affraid it would be a "bit" difficult to me at the momment.
I haven't had the opportunity of trying it yet to see whether it really
works, but I suspect that it does...; anyway, there are a lot of clues and
suggestions to follow and researching.
I am very grateful for this!
M. Daniel R. M.
++++++++++
Please, let me: dvd backup DVD-R linux film structure layer how to
dvd::rip dvdr+-tools K3b wine dvdsrhink copiar estructura ripear película
manteniendo capa DVD-5 DVD-9 como
(Remain key words I think are included yet)
+++++++++++++
> Oh guy! Many many thanks!
>
> I was also searching a lot by googling about the same issue some weeks
> ago, and and couldn't find an answer as clear as yours here.
>
> The only one conclusion I got then was that for doing that I would have to
> get into the command line and to learn dvdauthor. So I abandoned the idea,
> because I was affraid it would be a "bit" difficult to me at the momment.
>
> I haven't had the opportunity of trying it yet to see whether it really
> works, but I suspect that it does...; anyway, there are a lot of clues and
> suggestions to follow and researching.
>
> I am very grateful for this!
>
> M. Daniel R. M.
>
> ++++++++++
>
> Please, let me: dvd backup DVD-R linux film structure layer how to
> dvd::rip dvdr -tools K3b wine dvdsrhink copiar estructura ripear
> pelicula manteniendo capa DVD-5 DVD-9 como
> (Remain key words I think are included yet)
>
> +++++++++++++
>
A great Howto many thanks to Amadeus. I would also like to recommend
Mplayer mencoder.
mencoder dvd:// 1 -o ~/Video/musathewarrior.avi -oac copy -ovc copy
and
mencoder dvd:// 1 -o ~/Video/musathewarrior.avi -oad copy -ovc lavc
-lavcopts vcodec=mpeg4:vhq:vbitrate=3600 -slang en
vbitrate=3600 cuts a 4.4Gb to about 2.2Gb
vbitrate=800 cuts a 4.4Gb to about 650Mb but the quality suffers
>
>
> El Tue, 27 Jul 2004 15:24:15 -0400, Amadeus W.M. escribio: