Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
dvd2hd [2012/02/18 13:12] – old revision restored brot | dvd2hd [2012/02/18 13:41] (current) – brot | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | check the optacil disc door if it says DVD Rom, if it doesnt says that, then it cannot play DVD's. If 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 behalten, also 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, | ||
+ | erster pass braucht keine sooo hohe qualität, der untersucht nur die komplexität der bilder | ||
+ | |||
+ | mencoder movie.vob -vf pullup, | ||
+ | zweiter pass dann mit recht hohem rechenaufwand, | ||
+ | |||
+ | mkvmerge --title " | ||
+ | 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: | ||
+ | |||
+ | mplayer -dvd-device /dev/dvd -aid 129 -vc null -vo null -ao pcm: | ||
+ | |||
+ | 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 ;) |