dvd2hd

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
dvd2hd [2012/02/18 13:12] – old revision restored brotdvd2hd [2012/02/18 13:41] (current) brot
Line 1: Line 1:
-check the optacil disc door if it says DVD Romif it doesnt says thatthen it cannot play DVD'sIf it says there then you should get a codec for playing DVD+===== DVD -> Festplatte mit mencoder ===== 
 + 
 +=== vorbereitung === 
 + 
 +        mplayer -dvd-device /dev/scd1 dvd://1 
 +schaun dass man nicht s menü speichert ;) 
 + 
 +        mplayer -dvd-device /dev/scd1 -dumpstream -dumpfile movie.vob dvd://1 
 +stream saven 
 + 
 +        dvdxchap -t 1 /dev/scd1 > chapters.txt 
 +die kapitel auslesen und in chapters.txt speichern 
 + 
 +        mplayer -aid 137 -dumpaudio -dumpfile movie.dts movie.vob 
 +in dem fall wolln wir d dts tonspur behaltenalso die einfach so speichern 
 + 
 +        mplayer movie.vob -vf cropdetect -sb 50000000 
 +position und größe der schwarzen balken erkennen 
 + 
 +==== x264 ==== 
 +        mencoder movie.vob -vf pullup,softskip,crop=688:432:18:72,harddup -nosound -ovc x264 -x264encopts bitrate=1000:threads=2:subq=4:frameref=2:bframes=3:b_adapt:b_pyramid:weight_b:pass=1 -of rawvideo -o movie.x264 
 +erster pass braucht keine sooo hohe qualitätder untersucht nur die komplexität der bilder 
 + 
 +        mencoder movie.vob -vf pullup,softskip,crop=688:432:18:72,harddup -nosound -ovc x264 -x264encopts bitrate=1000:threads=2:subq=6:frameref=5:partitions=all:bframes=3:b_adapt:b_pyramid:weight_b:pass=2 -of rawvideo -o movie.x264 
 +zweiter pass dann mit recht hohem rechenaufwand, dafür sehr gute quali :) 
 + 
 +        mkvmerge --title "Donnie Darko" -o donnie.mkv --chapters chapters.txt movie.x264 movie.dts 
 +bild und ton in n praktisches mkv verpacken, und die kapitel berücksichtigen ( mkvmerge ist im mkvtoolnix ebuild ) 
 +==== theora ==== 
 + 
 +  mplayer -dvd-device /dev/dvd -aid 128 -vc null -vo null -ao pcm:fast:waveheader:file=pilot_en.wav dvd://1 
 +   
 +  mplayer -dvd-device /dev/dvd -aid 129 -vc null -vo null -ao pcm:fast:waveheader:file=pilot_de.wav dvd://1 
 +   
 +  mplayer -dvd-device /dev/dvd -dumpvideo -dumpfile pilot_vid.mpg dvd://1 
 +   
 +ton und video extrahieren 
 +   
 +  oggenc -q 3 *wav 
 +   
 +  ffmpeg2theora --noaudio --speedlevel 0 --videoquality 7 pilot_vid.mpg  
 +   
 +ton in ogg umwandeln ( -q 3 sind ~110 kbit/s avg ) und video in theora wandeln ( --videoquality 7 sollte für die meisten quellen fast ohne qualitätsverlust sein ) 
 +   
 +  oggz-merge -o pilot.ogg pilot_vid.ogv pilot_de.ogg pilot_en.ogg 
 +   
 +alles in den ogg container stecken ;)
  • dvd2hd.txt
  • Last modified: 2012/02/18 13:41
  • by brot