Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
vid2dvd [2012/02/18 13:12] – old revision restored brot | vid2dvd [2012/02/18 13:46] (current) – brot | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | I aseloutbly agree about the state of video standardization | + | ===== Erstellen von Video DVDs ===== |
+ | |||
+ | ==== Umwandeln des Quellvideos ins richtige Format ==== | ||
+ | |||
+ | Das Videoformat auf einer DVD ist recht eng festgelegt. Deswegen müssen wir erstmal unser Video ins passende Format wandeln. Dafür haben wir den mencoder | ||
+ | mencoder -sid 107 -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd: | ||
+ | |||
+ | Immer anpassen muss man | ||
+ | * die Dateinamen ;) | ||
+ | * die Werte für scale und expand (das expand macht um das skalierte | ||
+ | * das aspect ratio (für das es allerdings nen [[http:// | ||
+ | |||
+ | Die erlaubten Werte für eine DVD kann man in der [[http:// | ||
+ | |||
+ | ==== Optional: Untertitel einfügen ==== | ||
+ | |||
+ | geht ziemlich simpel: | ||
+ | |||
+ | neue datei sub.xml: | ||
+ | < | ||
+ | < | ||
+ | <textsub filename=" | ||
+ | font=" | ||
+ | /> | ||
+ | </ | ||
+ | </ | ||
+ | für mehr mehrere Subs einfach nen neuen Tag machen. | ||
+ | |||
+ | Warnungen: | ||
+ | * Zickt gerne wegen charset. Einfach in UTF-8 umbaun. | ||
+ | * das font-file muss nach ~/.spumux/ *facepalm* | ||
+ | |||
+ | und | ||
+ | spumux sub.xml < in.mpg > out.mpg | ||
+ | |||
+ | mit hilfe von z.B. mkvextract kommt man da auch ganz leicht ran (vielleicht noch konvertieren). | ||
+ | mehr infos im [[http:// | ||
+ | |||
+ | ==== Erstellen der DVD-Video Struktur ==== | ||
+ | |||
+ | Hat man das Video endlich im richtigen Format, muss man eine DVD-Video Struktur erstellen. Dafür gibts [[http:// | ||
+ | |||
+ | Theoretisch könnte das auch Kapitel und Menüs, aber wir wollen die DVD einlegen und dann ohne Umwege den Film sehn. Also schreiben wir folgendes in die dvd.xml: | ||
+ | |||
+ | < | ||
+ | <vmgm /> | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | <vob file=" | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | Dann nurnoch drauf achten dass der Dvdautor dass nicht alles ins jetzige Verzeichnis schreibt | ||
+ | dvdauthor -o dvdroot -x dvd.xml | ||
+ | |||
+ | ==== Mit mplayer kurz Testen ob alles stimmt ==== | ||
+ | |||
+ | Bevor man das Ganze auf einen Rohling brennt kann man mit mplayer kurz kontrollieren ob alles stimmt | ||
+ | | ||
+ | |||
+ | ==== Auf DVD brennen ==== | ||
+ | |||
+ | Wenn alles funktioniert kann man endlich die DVD brennen | ||
+ | growisofs -dvd-compat -Z /dev/dvdrw -dvd-video ./ | ||
+ | |||
+ | ==== notes ==== | ||
+ | |||
+ | * Using " | ||
+ | * NOT using -ofps (the option that sets the output frame rate) prevents the output result to have artifacts during the first seconds of the video (to be exact it will have artifacts (grey pixels) until it reaches the first keyframe) | ||
+ | * Keeping an audio track during the video pass fixes pretty much all sync issues exept for wmv, h264 and any other codec that allows variable frame rate. In those cases using "-mc 0" fixes the sound sync. ' | ||
+ | * mencoder is made to fix A/V sync issues |