Re: Ripping DVDs to HDD
Rhys Hardwick wrote:
Hey people,
I am looking to back up my DVDs to hard disk, and was wondering what
software was available to do that with Debian Sarge.
I have been recommended Vobcopy. Is there another peice of software
better for this, and some piece of software for converting to ogm, mpeg,
Divx etc.
Cheers,
I do as in the attachment, it is in italian, but the command are the
same. If you want I can translate it for you!
Boto
--
Francesco Cioffi
Linux User id #340148 (http://counter.li.org)
Debian GNU/Linux user (http://www.debian.org)
Universita` del Sannio di Benevento (http://www.grace.ing.unisannio.it)
SannioLUG (http://www.sanniolug.org)
DVD to DivX
1 RIPPING
$ mencoder dvd:// -ovc copy -oac copy -alang it
2 ENCODING
2.1 AUDIO & SOTTOTITOLI
$ mencoder -ovc frameno -o frameno.avi -oac mp3lame -lameopts
abr:br=128 test.avi
Alla fine dell'encoding audio otterrete un output che permettera` di
stabilire il video bitrate da utilizzare.
2.2 VIDEO
2.2.1 CROPPING
$ mplayer -vf cropdetect test.avi
E così vedrete sulla linea di status di mplayer le coordinate precise
per croppare il film. Dato che spesso variano a seconda che stiate
guardando l'inizio o meno del film vi suggerisco di posizionarvi a film
già iniziato. A questo punto sulla linea di status vedrete qualcosa di
simile a questo:
crop area: X: 21..703 Y: 1..569 (-vf crop=*682:568:22:2*) 4.1% 617 0 0%
potrete quindi vedere col seguente comando l'area da croppare disegnata,
verificando se è più o meno precisa:
$ mplayer -vop rectangle=682:568:22:2 test.avi
E poi vederla croppata:
$ mplayer -vop crop=682:568:22:2 test.avi
2.2.2 PASS 1
Dividere la risoluzione orrizzontale scelta per l'aspect (in questo
caso 16:9 = 1.777778). E cioè 640:16/9=360. L'aspect lo trovate nell'output
di mplayer.
-vf scale=640:360,crop=720:552:0:12
$ mencoder -o /dev/null -oac copy -ovc lavc -vop
scale=640:360,crop=720:552:0:12 -lavcopts
vcodec=mpeg4:vbitrate=896:vhq:vqmin=2:vqmax=31:vpass=1
-sws 2 test.avi
2.2.3 PASS 2
$ mencoder -o Film.divx -oac copy -ovc lavc -vop
scale=640:360,crop=720:552:0:12 -lavcopts
vcodec=mpeg4:vbitrate=896:vhq:vqmin=2:vqmax=31:vpass=2
-sws 2 test.avi
3 APPENDICE A: COMANDI UTILI
3.1 PORZIONI DI FILM
Per verificare la qualità video del filmato facendone un semplice preview di
pochi minuti usare le opzioni:
-ss 00:00
-endpos 03:00
3.2 SOTTOTITOLI
Per estrarre i sottotitoli:
$ mencoder dvd:// -vobsubout kb2 -vobsuboutindex 0 -sid 4
-nosound -ovc copy -o /dev/null
3.3 INTERLACING
Per deinterlacciare usare l'opzione:
-vf pp=lb
Reply to: