1
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>3.1.�Ligne de commande</title><link rel="stylesheet" href="default.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.68.1"><link rel="start" href="index.html" title="MPlayer - Le Lecteur Vid�o"><link rel="up" href="usage.html" title="Chapitre�3.�Utilisation"><link rel="prev" href="usage.html" title="Chapitre�3.�Utilisation"><link rel="next" href="control.html" title="3.2.�Contr�les"><link rel="preface" href="howtoread.html" title="Comment lire cette documentation"><link rel="chapter" href="intro.html" title="Chapitre�1.�Introduction"><link rel="chapter" href="features.html" title="Chapitre�2.�Fonctionnalit�s"><link rel="chapter" href="usage.html" title="Chapitre�3.�Utilisation"><link rel="chapter" href="faq.html" title="Chapitre�4.�Foire Aux Questions"><link rel="chapter" href="cd-dvd.html" title="Chapitre�5.�Utilisation des CD/DVD"><link rel="chapter" href="ports.html" title="Chapitre�6.�Ports"><link rel="chapter" href="mencoder.html" title="Chapitre�7.�Encodage avec MEncoder"><link rel="appendix" href="mailinglists.html" title="Annexe�A.�Listes de diffusion"><link rel="appendix" href="bugreports.html" title="Annexe�B.�Comment rapporter les bogues"><link rel="appendix" href="bugs.html" title="Annexe�C.�Bogues connus"><link rel="appendix" href="skin.html" title="Annexe�D.�Format de skins MPlayer"><link rel="appendix" href="users-vs-dev.html" title="Annexe�E.�Lamentations du d�veloppeur"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">3.1.�Ligne de commande</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="usage.html">Pr�c�dent</a>�</td><th width="60%" align="center">Chapitre�3.�Utilisation</th><td width="20%" align="right">�<a accesskey="n" href="control.html">Suivant</a></td></tr></table><hr></div><div class="sect1" lang="fr"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="commandline"></a>3.1.�Ligne de commande</h2></div></div></div><p>
2
<span class="application">MPlayer</span> utilise un ordre de lecture complexe.
3
Il consiste en les options globales �crites en premier, par exemple
5
</p><pre class="screen">mplayer -vfm 5</pre><p>
7
et les options �crites apr�s les noms de fichier, qui s'appliquent
8
uniquement au nom de fichier/URL/autre donn�, par exemple
10
</p><pre class="screen">mplayer -vfm 5 <em class="replaceable"><code>film1.avi</code></em> <em class="replaceable"><code>film2.avi</code></em> -vfm 4</pre><p>
12
Vous pouvez regrouper les noms de fichiers/URLs en utilisant <code class="literal">{</code>
13
et <code class="literal">}</code>. C'est utile avec l'option <tt class="option">-loop</tt>:
15
</p><pre class="screen">mplayer { 1.avi - loop 2 2.avi } -loop 3</pre><p>
17
La commande ci-dessus jouera les fichiers dans cet ordre: 1, 1, 2, 1, 1, 2, 1, 1, 2.
20
</p><pre class="synopsis">
21
<span><strong class="command">mplayer</strong></span> [<em class="replaceable"><code>options</code></em>] [<em class="replaceable"><code>chemin</code></em>/]<em class="replaceable"><code>fichier</code></em>
24
Autre fa�on de lire un fichier:
25
</p><pre class="synopsis">
26
<span><strong class="command">mplayer</strong></span> [<em class="replaceable"><code>options</code></em>] <em class="replaceable"><code>file:///chemin-uri-escaped</code></em>
29
Lecture de plusieurs fichiers:
30
</p><pre class="synopsis">
31
<span><strong class="command">mplayer</strong></span> [<em class="replaceable"><code>options par d�faut</code></em>] [<em class="replaceable"><code>chemin</code></em>/]<em class="replaceable"><code>fichier1</code></em> [<em class="replaceable"><code>options pour fichier1</code></em>] <em class="replaceable"><code>fichier2</code></em> [<em class="replaceable"><code>options pour fichier2</code></em>] ...
35
</p><pre class="synopsis">
36
<span><strong class="command">mplayer</strong></span> [<em class="replaceable"><code>options</code></em>] vcd://<em class="replaceable"><code>N�piste</code></em> [-cdrom-device <em class="replaceable"><code>/dev/cdrom</code></em>]
40
</p><pre class="synopsis">
41
<span><strong class="command">mplayer</strong></span> [<em class="replaceable"><code>options</code></em>] dvd://<em class="replaceable"><code>N�titre</code></em> [-dvd-device <em class="replaceable"><code>/dev/dvd</code></em>]
44
Lecture � partir du web:
45
</p><pre class="synopsis">
46
<span><strong class="command">mplayer</strong></span> [<em class="replaceable"><code>options</code></em>] http://<em class="replaceable"><code>site.com/fichier.asf</code></em>
48
(les listes de lecture peuvent �galement �tre utilis�es)
50
Lecture � partir de RTSP:
51
</p><pre class="synopsis">
52
<span><strong class="command">mplayer</strong></span> [<em class="replaceable"><code>options</code></em>] rtsp://<em class="replaceable"><code>serveur.exemple.com/nomFlux</code></em>
56
</p><pre class="screen">
57
mplayer -vo x11 <em class="replaceable"><code>/mnt/Films/Contact/contact2.mpg</code></em>
58
mplayer vcd://<em class="replaceable"><code>2</code></em> -cd-rom-device <em class="replaceable"><code>/dev/hdc</code></em>
59
mplayer -afm 3 <em class="replaceable"><code>/mnt/DVDtrailers/alien4.vob</code></em>
60
mplayer dvd://<em class="replaceable"><code>1</code></em> -dvd-device <em class="replaceable"><code>/dev/hdc</code></em>
61
mplayer -abs 65536 -delay -0.4 -nobps <em class="replaceable"><code>~/films/test.avi</code></em></pre><p>
62
</p></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="usage.html">Pr�c�dent</a>�</td><td width="20%" align="center"><a accesskey="u" href="usage.html">Niveau sup�rieur</a></td><td width="40%" align="right">�<a accesskey="n" href="control.html">Suivant</a></td></tr><tr><td width="40%" align="left" valign="top">Chapitre�3.�Utilisation�</td><td width="20%" align="center"><a accesskey="h" href="index.html">Sommaire</a></td><td width="40%" align="right" valign="top">�3.2.�Contr�les</td></tr></table></div></body></html>