vid2dvd

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
vid2dvd [2010/11/14 19:55] relligvid2dvd [2012/02/18 13:12] – old revision restored brot
Line 1: Line 1:
-===== Erstellen von Video DVDs ===== +I aseloutbly agree about the state of video standardization  instead of getting better it seems to be getting worst.Oh you mean good old  STANDARD  Linux and which of the 20-30 slightly different releases would you be talking about?   
- +
-==== 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:tsaf -vf scale=720:432,expand=720:576,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=8000:keyint=15:trell:mbd=2:precmp=2:subcmp=2:cmp=2:dia=-10:predia=-10:cbp:mv0:vqmin=1:lmin=1:dc=10:vstrict=0:acodec=ac3:abitrate=192:aspect=16/9 -ofps 25 -o out.mpg in.mkv +
- +
-Immer anpassen muss man +
-  * die Dateinamen ;) +
-  * die Werte für scale und expand (das expand macht um das skalierte video dann noch balken, da sonst keine erlaubte auflösung) +
-  * das aspect ratio (für das es allerdings nen [[http://rellig.minad.de/resolution.php|praktischen rechner vom rellig]] gibt) +
- +
-Die erlaubten Werte für eine DVD kann man in der [[http://www.mplayerhq.hu/DOCS/HTML/en/menc-feat-vcd-dvd.html|mencoder Dokumentation]] nachlesen +
- +
-==== Optional: Untertitel einfügen ==== +
- +
-geht ziemlich simpel: +
-spumux subtitle.sub < in.mpg > out.mpg +
- +
-mit hilfe von z.B. mkvextract kommt man da auch ganz leicht ran (vielleicht noch konvertieren). +
- +
-==== Erstellen der DVD-Video Struktur ==== +
- +
-Hat man das Video endlich im richtigen Format, muss man eine DVD-Video Struktur erstellen. Dafür gibts [[http://dvdauthor.sourceforge.net/|dvdauthor]] +
- +
-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: +
- +
-  <dvdauthor> +
-    <vmgm /> +
-    <titleset> +
-        <titles> +
-            <pgc> +
-                <vob file="out.mpg" /> +
-            </pgc> +
-        </titles> +
-    </titleset> +
-  </dvdauthor> +
- +
-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 +
-   mplayer dvd:// -dvd-device ./dvdroot +
- +
-==== Auf DVD brennen ==== +
- +
-Wenn alles funktioniert kann man endlich die DVD brennen +
-  growisofs -dvd-compat -Z /dev/dvdrw -dvd-video ./dvdroot/+
  • vid2dvd.txt
  • Last modified: 2012/02/18 13:46
  • by brot