<?xml version="1.0" encoding="utf-8"?>
<!-- in sync with r22951 -->
<!-- missing cosmetic commit 21537 -->
<chapter id="usage">
<title>Gebrauch</title>
<sect1 id="commandline">
<title>Kommandozeile</title>
<para>
<application>MPlayer</application> verwendet einen komplexen Wiedergabebaum. Er besteht aus
globalen Optionen, die zuerst geschrieben werden, zum Beispiel
<screen>mplayer -vfm 5</screen>
und Optionen, die hinter den Dateinamen geschrieben werden und die sich nur auf die
angegebene Datei/URL/sonstwas beziehen, zum Beispiel:
<screen>mplayer -vfm 5 <replaceable>movie1.avi</replaceable> <replaceable>movie2.avi</replaceable> -vfm 4</screen>
</para>
<para>
Du kannst Dateinamen/URLs mit <literal>{</literal> und <literal>}</literal> gruppieren.
Dies ist nützlich mit der Option <option>-loop</option>:
<screen>mplayer { 1.avi -loop 2 2.avi } -loop 3</screen>
Der obige Befehl wird die Dateien in folgender Reihenfolge abspielen: 1, 1, 2, 1, 1, 2, 1, 1, 2.
</para>
<para>
Datei abspielen:
<synopsis><!--
--> <command>mplayer</command><!--
--> [<replaceable>Optionen</replaceable>]<!--
--> [<replaceable>Pfad</replaceable>/]<replaceable>dateiname</replaceable><!--
--></synopsis>
</para>
<para>
Eine andere Möglichkeit, eine Datei abzuspielen:
<synopsis><!--
--> <command>mplayer</command><!--
--> [<replaceable>Optionen</replaceable>]<!--
--> <replaceable>file:///uri-escaped-Pfad</replaceable> <!--
--></synopsis>
</para>
<para>
Mehrere Dateien abspielen:
<synopsis><!--
--> <command>mplayer</command><!--
--> [<replaceable>Standardoptionen</replaceable>]<!--
--> [<replaceable>Pfad</replaceable>/]<replaceable>dateiname1</replaceable><!--
--> [<replaceable>Optionen für dateiname1</replaceable>]<!--
--> <replaceable>dateiname2</replaceable><!--
--> [<replaceable>Optionen für dateiname2</replaceable>] ... <!--
--></synopsis>
</para>
<para>
VCD abspielen:
<synopsis><!--
--> <command>mplayer</command> [<replaceable>Optionen</replaceable>]<!--
--> vcd://<replaceable>tracknr</replaceable><!--
--> [-cdrom-device <replaceable>/dev/cdrom</replaceable>]<!--
--></synopsis>
</para>
<para>
DVD abspielen:
<synopsis><!--
--> <command>mplayer</command> [<replaceable>Optionen</replaceable>]<!--
--> dvd://<replaceable>titlenr</replaceable><!--
--> [-dvd-device <replaceable>/dev/dvd</replaceable>]<!--
--></synopsis>
</para>
<para>
Vom WWW abspielen:
<synopsis><!--
--><command>mplayer</command> [<replaceable>Optionen</replaceable>]<!--
--> http://<replaceable>site.com/datei.asf</replaceable><!--
--></synopsis> (es können auch Playlists benutzt werden)
</para>
<para>
Von RTSP abspielen:
<synopsis><!--
--> <command>mplayer</command> [<replaceable>Optionen</replaceable>]<!--
--> rtsp://<replaceable>server.example.com/streamName</replaceable><!--
--></synopsis>
</para>
<para>
Beispiele:
<screen>
mplayer -vo x11 <replaceable>/mnt/Films/Contact/contact2.mpg</replaceable>
mplayer vcd://<replaceable>2</replaceable> -cdrom-device <replaceable>/dev/hdc</replaceable>
mplayer -afm 3 <replaceable>/mnt/DVDtrailers/alien4.vob</replaceable>
mplayer dvd://<replaceable>1</replaceable> -dvd-device <replaceable>/dev/hdc</replaceable>
mplayer -abs 65536 -delay -0.4 -nobps <replaceable>~/movies/test.avi</replaceable><!--
--></screen>
</para>
</sect1>
<sect1 id="subosd">
<title>Untertitel und OSD</title>
<para>
<application>MPlayer</application> kann Untertitel bei Filmen darstellen.
Momentan werden die folgenden Formate unterstützt:
<itemizedlist>
<listitem><para>VOBsub</para></listitem>
<listitem><para>OGM</para></listitem>
<listitem><para>CC (closed caption)</para></listitem>
<listitem><para>MicroDVD</para></listitem>
<listitem><para>SubRip</para></listitem>
<listitem><para>SubViewer</para></listitem>
<listitem><para>Sami</para></listitem>
<listitem><para>VPlayer</para></listitem>
<listitem><para>RT</para></listitem>
<listitem><para>SSA</para></listitem>
<listitem><para>PJS (Phoenix Japanimation Society)</para></listitem>
<listitem><para>MPsub</para></listitem>
<listitem><para>AQTitle</para></listitem>
<listitem><para><ulink url="http://unicorn.us.com/jacosub/">JACOsub</ulink></para></listitem>
</itemizedlist>
</para>
<para>
<application>MPlayer</application> kann (<emphasis role="bold">außer den ersten drei</emphasis>)
die oben gelisteten Zielformate ausgeben (speichern), und zwar mit folgenden Optionen:
<itemizedlist>
<listitem><para>MPsub: <option>-dumpmpsub</option></para></listitem>
<listitem><para>SubRip: <option>-dumpsrtsub</option></para></listitem>
<listitem><para>MicroDVD: <option>-dumpmicrodvdsub</option></para></listitem>
<listitem><para>JACOsub: <option>-dumpjacosub</option></para></listitem>
<listitem><para>Sami: <option>-dumpsami</option></para></listitem>
</itemizedlist>
</para>
<para>
<application>MEncoder</application> kann DVD-Untertitel im
<link linkend="menc-feat-extractsub">VOBsub</link>-Format ausgeben.
</para>
<para>
Die Kommandozeilenoptionen unterscheiden sich leicht von den anderen Formaten:
</para>
<formalpara>
<title>VOBsub-Untertitel</title>
<para>
VOBsub-Untertitel bestehen aus einer (ein paar Megabyte) großen
<filename>.SUB</filename> Datei, und optional <filename>.IDX-</filename> und/oder
<filename>.IFO</filename>-Dateien. Wenn du Dateien hast wie
<filename><replaceable>beispiel.sub</replaceable></filename>,
<filename><replaceable>beispiel.ifo</replaceable></filename> (optional),
oder <filename><replaceable>beispiel.idx</replaceable></filename>, musst du
<application>MPlayer</application> die Optionen
<option>-vobsub beispiel [-vobsubid <replaceable>id</replaceable>]</option>
übergeben (vollständige Pfadangabe optional).
Die Option <option>-vobsubid</option> verhält sich wie
die Option <option>-sid</option> für DVDs, du kannst damit Tracks (Sprachen) wählen.
Im Falle, dass <option>-vobsubid</option> nicht angegeb
|