Difference between revisions of "Konversi DVD ke DivX Avi"

From OnnoWiki
Jump to navigation Jump to search
(New page: Sumber: http://jeltsch.org/node/127 Nonton DVD menggunakan xine atau mplayer xine dvd:// mplayer dvd://3 Konversi DVD ke iso dd if=/dev/dvd of=rosenstrasse.iso iso dapat di mount ...)
 
 
Line 18: Line 18:
 
  xine dvd://media/isos/movie.iso
 
  xine dvd://media/isos/movie.iso
  
For conversion to e.g. DivX/XviD the easiest is to use Mplayer/mencoder. First I extracted audio:
+
Untuk konversi ke DivX/XviD yang paling mudah adalah menggunakan Mplayer/mencoder. Pertama-tama, extract audio menggunakan perintah:
  
 
  mencoder dvd://1 -ovc frameno -o frameno.avi -oac mp3lame -lameopts abr:br=128
 
  mencoder dvd://1 -ovc frameno -o frameno.avi -oac mp3lame -lameopts abr:br=128
  
Then the 1. pass encoding:
+
Pertama kali pass 1. untuk encoding:
  
  mencoder dvd://1 -nosound -oac copy -o /dev/null -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=800:vhq:vpass=1:vqmin=1:vqmax=31 -vop scale -zoom -xy 640 -vf pp lb
+
  mencoder dvd://1 -nosound -oac copy -o /dev/null -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=800:vhq:vpass=1:vqmin=1:vqmax=31 -vf scale -zoom -xy 640 -vf pp lb
  
Then the 2. pass encoding:
+
Kemudian pass 2. encoding:
  
  mencoder dvd://1 -oac copy -o file.avi -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=800:vhq:vpass=2:vqmin=1:vqmax=31 -vop scale -zoom -xy 640 -vf pp lb
+
  mencoder dvd://1 -oac copy -o file.avi -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=800:vhq:vpass=2:vqmin=1:vqmax=31 -vf scale -zoom -xy 640 -vf pp lb
  
 
It is more difficult to extract the subtitles. You can either extract them as images (easier but bigger filesize) or then convert these images into textfiles (requires an OCR step).
 
It is more difficult to extract the subtitles. You can either extract them as images (easier but bigger filesize) or then convert these images into textfiles (requires an OCR step).
 +
 
Extract subtitle images (from mounted iso image in this case):
 
Extract subtitle images (from mounted iso image in this case):
  

Latest revision as of 07:24, 29 March 2011

Sumber: http://jeltsch.org/node/127

Nonton DVD menggunakan xine atau mplayer

xine dvd://
mplayer dvd://3

Konversi DVD ke iso

dd if=/dev/dvd of=rosenstrasse.iso

iso dapat di mount

sudo mount -o loop rosenstrasse.iso /media/temp/

xine dapat menjalankan DVD dari iso

xine dvd://media/isos/movie.iso

Untuk konversi ke DivX/XviD yang paling mudah adalah menggunakan Mplayer/mencoder. Pertama-tama, extract audio menggunakan perintah:

mencoder dvd://1 -ovc frameno -o frameno.avi -oac mp3lame -lameopts abr:br=128

Pertama kali pass 1. untuk encoding:

mencoder dvd://1 -nosound -oac copy -o /dev/null -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=800:vhq:vpass=1:vqmin=1:vqmax=31 -vf scale -zoom -xy 640 -vf pp lb

Kemudian pass 2. encoding:

mencoder dvd://1 -oac copy -o file.avi -ovc lavc -lavcopts vcodec=mpeg4:vbitrate=800:vhq:vpass=2:vqmin=1:vqmax=31 -vf scale -zoom -xy 640 -vf pp lb

It is more difficult to extract the subtitles. You can either extract them as images (easier but bigger filesize) or then convert these images into textfiles (requires an OCR step).

Extract subtitle images (from mounted iso image in this case):

cat /media/temp/VIDEO_TS/VTS_01_?.VOB | tcextract -x ps1 -t vob -a 0x20 > movie.ps1

Convert subtitle images:

subtitle2vobsub -i /media/temp/VIDEO_TS/VTS_01_0.IFO -p movie.ps1 -o movie_name

Copy metadata:

cp /media/temp/VIDEO_TS/VTS_01_0.IFO movie_name.ifo

Play from VOB file directly:

mplayer /media/temp/VIDEO_TS/VTS_01_1.VOB -vobsub movie_name -vobsubid 0

Play from avi file:

mplayer movie.avi -vobsub movie_name -vobsubid 0




Referensi

Pranala Menarik