dvd2mkv_mencoder

This is an old revision of the document!


      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 behalten, also die einfach so speichern

      mplayer movie.vob -vf cropdetect -sb 50000000

position und größe der schwarzen balken erkennen

      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ät, der 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 )

  • dvd2mkv_mencoder.1267041645.txt.gz
  • Last modified: 2010/02/24 20:00
  • by brot