annotate DOCS/French/encoding.html @ 8696:4e97f3c10edc

new options
author michael
date Wed, 01 Jan 2003 14:59:41 +0000
parents 3158c0e8e7e1
children bfbf482b01de
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8381
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
2 <HTML>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
3
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
4 <HEAD>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
5 <TITLE>Encodage - MEncoder - L'encodeur vidéo pour Linux</TITLE>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
6 <LINK REL="stylesheet" TYPE="text/css" HREF="default.css">
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
7 <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
8 </HEAD>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
9
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
10 <BODY>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
11
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
12
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
13 <H2><A NAME="encoding">2.4 Encodage avec MEncoder</A></H2>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
14
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
15 <P>Pour avoir la liste complète des options disponibles de MEncoder et des exemples,
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
16 voir la page de man.</P>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
17
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
18 <H3><A NAME="2pass">2.4.1 Encodage DIVX4 2 ou 3-passes</A></H3>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
19
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
20 <P><U><B>Encodage 2-passes:</B></U> le nom vient du fait que cette méthode encode
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
21 le fichier <I>deux fois</I>. Le premier encodage (<I>passe</I> doublée)
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
22 créé quelques fichiers temporaires (*.log) avec une taille de quelques méga-octets,
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
23 ne les détruisez pas tout de suite (vous pouvez effacer l'AVI). Dans la seconde
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
24 passe, la fichier de sortie 2-passes est créé, en utilisant les données bitrate des
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
25 fichiers temporaires. Le fichier résultant aura une image de bien meilleur qualité.
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
26 Si c'est la première fois que vous entendez parler de ça, vous devriez consulter les
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
27 guides disponibles sur le Net.</P>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
28
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
29 <P>Cet exemple montre comment encoder un DVD en AVI DIVX4 2-passes. Seulement
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
30 deux commandes sont requises:<BR>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
31 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;rm frameno.avi</CODE> - enlevez ce fichier, qui peut
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
32 provenir d'un encodage 3-passes précédent (il interfère avec l'actuel)<BR>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
33 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -ovc lavc -lavcopts
8502
nicolas
parents: 8457
diff changeset
34 vcodec=mpeg4:vpass=1 -oac copy -o film.avi<BR>
8381
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
35 &nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -ovc lavc -lavcopts
8502
nicolas
parents: 8457
diff changeset
36 vcodec=mpeg4:vpass=2 -oac copy -o film.avi</CODE></P>
8381
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
37
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
38 <P><U><B>Encodage 3-passes:</B></U> c'est une extension de l'encodage 2-passes,
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
39 où l'encodage audio prends place dans une passe séparée. Cette méthode permet
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
40 l'estimation du bitrate vidéo recommandé de façon à tenir sur un CD. De plus,
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
41 l'audio n'est encodé qu'une fois, au contraire du mode 2-passes. Le principe:</P>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
42
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
43 <OL>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
44 <LI>Supprimez les fichiers temporaires conflictuels:
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
45 <P><CODE>rm frameno.avi</CODE></P></LI>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
46 <LI>Première passe:
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
47 <P><CODE>mencoder &lt;fichier/DVD&gt; -ovc frameno -oac mp3lame -lameopts vbr=3:more_options -o frameno.avi</CODE></P>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
48 <P>Un fichier avi en lecture seule sera créé, contenant <B>uniquement</B>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
49 le flux audio demandé. N'oubliez pas <CODE>-lameopts</CODE>,
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
50 si vous en avez besoin. Si vous encodez un long film, MEncoder
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
51 affiche le bitrate recommandé pour les tailles 650Mo, 700Mo, et 800Mo,
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
52 après la fin de cette passe.</P></LI>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
53 <LI>Seconde passe:
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
54 <P><CODE>mencoder &lt;fichier/DVD&gt; -oac copy
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
55 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1:vbitrate=&lt;bitrate&gt;</CODE></P>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
56 <P>Faites un alias de la première passe de l'encodage DivX4.
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
57 Éventuellement spécifiez le bitrate vidéo que MEncoder à affiché à la
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
58 fin de la passe précédente.</P></LI>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
59 <LI>Troisième passe:
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
60 <P><CODE>mencoder &lt;fichier/DVD&gt; -oac copy
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
61 -ovc lavc -lavcopts vcodec=mpeg4:vpass=2:vbitrate=&lt;bitrate&gt;</CODE></P>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
62 <P>Faites un alias de la seconde passe de l'encodage DivX4.
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
63 Éventuellement spécifiez le bitrate vidéo que MEncoder à affiché à la
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
64 fin de la passe précédente. Dans cette passe, l'audio de <CODE>frameno.avi</CODE>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
65 sera inséré dans le fichier de destination.. et c'est tout prêt!</P></LI>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
66 </OL>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
67
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
68 <H4>Exemple d'encodage 3-passes:</H4>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
69
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
70 <P><CODE>&nbsp;&nbsp;&nbsp;&nbsp;rm frameno.avi</CODE> - enlevez ce fichier, qui peut
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
71 provenir d'un encodage 3-passes précédent (il interfère avec l'actuel)<BR>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
72 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -ovc frameno
8502
nicolas
parents: 8457
diff changeset
73 -o frameno.avi -oac mp3lame -lameopts vbr=3<BR>
8381
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
74 &nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -ovc lavc
8502
nicolas
parents: 8457
diff changeset
75 -lavcopts vcodec=mpeg4:vpass=1 -oac copy -o film.avi<BR>
8381
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
76 &nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -ovc lavc
8502
nicolas
parents: 8457
diff changeset
77 -lavcopts vcodec=mpeg4:vpass=2 -oac copy -o film.avi</CODE></P>
8381
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
78
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
79 <H3><A NAME="rescaling">2.4.2 Redimensionnement des films</A></H3>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
80
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
81 <P>Souvent le besoin de redimmensionner les images d'un film se fait sentir.
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
82 Les raisons peuvent être multiples: diminuer la taille du fichier, la bande-passante
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
83 du réseau, etc. La plupart des gens redimmensionnent même en convertissant des
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
84 DVDs ou SVCDs en AVI DivX. <B>C'est mauvais.</B> Plutôt que faire ça, lisez la
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
85 section <A HREF="#aspect">Préserver l'aspect ratio</A>.</P>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
86
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
87 <P>Le processus de zoom est géré par le filtre vidéo <I>'scale'</I>:
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
88 <CODE>-vop scale=largeur:hauteur</CODE>. Ca qualité peut être réglée avec l'option
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
89 <CODE>-sws</CODE>. Si elle n'est pas spécifiée, MEncoder utilisera 0:
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
90 fast bilinear.</P>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
91
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
92 <H5>Utilisation:</H5>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
93
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
94 <P><CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder entree.mpg -ovc lavc -lavcopts
8502
nicolas
parents: 8457
diff changeset
95 vcodec=mpeg4 -vop scale=640:480 -oac copy -o
8381
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
96 sortie.avi</CODE></P>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
97
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
98
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
99 <H3><A NAME="copying">2.4.3 Copie de flux</A></H3>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
100
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
101 <P>MEncoder peut gérer les flux entrant de deux façons: les <B>encoder</B>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
102 ou les <B>copier</B>. Cette section parle de la <B>copie</B>.</P>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
103
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
104 <UL>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
105 <LI><B>Flux vidéo</B> (option <CODE>-ovc copy</CODE>): on peut faire
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
106 des choses sympa :)<BR>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
107 Comme, placer (pas convertir) de la vidéo FLI ou VIVO ou MPEG1 dans
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
108 un fichier AVI. Bien sûr seul MPlayer peut lire de tels fichiers :) et
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
109 ça n'a probablement pas de valeur réelle du tout. Concrètement: copier des
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
110 flux vidéo peut être utile par exemple quand seul le flux audio doit être
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
111 encodé (comme du PCM non-compressé en MP3).</LI>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
112
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
113 <LI><B>Flux audio</B> (option <CODE>-oac copy</CODE>): très simple.
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
114 Il est possible de prendre un fichier audio externe (MP3, Vorbis) et de le
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
115 muxer dans le flux sortant. Utilisez l'option <CODE>-audiofile &lt;nomfichier&gt;</CODE>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
116 pour cela.</LI>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
117 </UL>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
118
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
119
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
120 <H3><A NAME="fixing">2.4.4 Réparer les fichiers AVIs ayant un index défectueux</A></H3>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
121
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
122 <P>Facile. Nous copions simplement les flux vidéo et audio, et
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
123 MEncoder génère l'index. Bien sûr cela ne peut pas réparer les bogues possibles
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
124 dans les flux vidéo et/ou audio. Il répare également les fichiers avec un
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
125 entrelacement endommagé, ainsi l'option <CODE>-ni</CODE> ne sera plus requise.</P>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
126
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
127 <P>Commande: <CODE>mencoder -idx entree.avi -ovc copy -oac copy -o sortie.avi</CODE></P>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
128
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
129
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
130 <H3><A NAME="libavcodec">2.4.5 Encodage avec la famille de codecs libavcodec</A></H3>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
131
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
132 <P><A HREF="codecs.html#libavcodec">libavcodec</A> permet un encodage simple dans plein
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
133 formats audio et vidéo intéressants (actuellement ses codecs audio ne sont pas
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
134 supportés). Vous pouvez encoder avec les codecs suivants:</P>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
135
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
136 <UL>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
137 <LI>mjpeg - Motion JPEG</LI>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
138 <LI>h263 - H263</LI>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
139 <LI>h263p - H263 Plus</LI>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
140 <LI>mpeg4 - DivX4</LI>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
141 <LI>msmpeg4 - le vieux DivX</LI>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
142 <LI>msmpeg4v2 - Micro$oft MPEG4 V2 (DivX alias le prédecesseur de MP43)</LI>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
143 <LI>rv10 - un vieux codec RealVideo</LI>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
144 <LI>mpeg1video - MPEG1 video :)</LI>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
145 </UL>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
146
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
147 <P>La première colonne contient le nom du codec qui devrait être passé après la
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
148 config <CODE>vcodec</CODE>, comme: <CODE>-lavcopts vcodec=msmpeg4</CODE></P>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
149
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
150 <P>Un exemple, avec compression MJPEG:<BR>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
151 <CODE>&nbsp;&nbsp;&nbsp;&nbsp;mencoder -dvd 2 -o titre2.avi -ovc lavc
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
152 -lavcopts vcodec=mjpeg -oac copy</CODE></P>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
153
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
154
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
155 <H3><A NAME="image_files">2.4.6 Encodage à partir de multiples fichiers image (JPEGs, PNGs ou TGAs)</A></H3>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
156
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
157 <P>MEncoder est capable de créer des fichiers à partir de un ou plusieurs fichiers JPEG,
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
158 PNG ou TGA. Avec une simple copie de trame il peut créer des fichiers
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
159 MJPEG (Motion JPEG), MPNG (Motion PNG) ou MTGA (Motion TGA).</P>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
160
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
161 Explication du processus:
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
162
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
163 <OL>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
164 <LI>MEncoder <I>décode</I> le(s) image(s) d'origine avec
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
165 <CODE>libjpeg</CODE> (pour encoder des PNGs, il utilisera <B>libpng</B>).</LI>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
166
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
167 <LI>Mencoder envoie alors l'image décodée au compresseur vidéo demandé
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
168 (DivX4, Xvid, ffmpeg msmpeg4, etc...). Regardez pour le décodeur PN, car
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
169 actuellement il ne peut sortir qu'au format RGB, ainsi il ne peut être utilisé avec
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
170 des codecs qui requièrent de l'YUV en entrée, comme DivX4 ou msmpeg4 de ffmpeg.</LI>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
171 </OL>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
172
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
173 <H4>Exemples</H4>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
174
8457
nicolas
parents: 8415
diff changeset
175 <P>Une explication de l'option <CODE>-mf</CODE> peut être trouvée plus bas dans la section des
nicolas
parents: 8415
diff changeset
176 <A HREF="#options">options</A> globales et dans la page de man.</P>
8381
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
177
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
178 <P><I>Créer un fichier DivX4 à partir de tous les fichiers JPEG du rép courant:</I><BR>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
179 &nbsp;&nbsp;<CODE>mencoder \*.jpg -mf on:w=800:h=600:fps=25 -ovc divx4
8457
nicolas
parents: 8415
diff changeset
180 -o sortie.avi</CODE></P>
8381
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
181
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
182 <P><I>Créer un fichier DivX4 à partir de quelques fichiers JPEG du rép courant:</I><BR>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
183 &nbsp;&nbsp;<CODE>mencoder trame001.jpg,trame002.jpg -mf on:w=800:h=600:fps=25
8457
nicolas
parents: 8415
diff changeset
184 -ovc divx4 -o sortie.avi</CODE></P>
8381
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
185
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
186 <P><I>Créer un fichier Motion JPEG (MJPEG) à partir de tous les fichiers JPEG du rép courant:</I><BR>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
187 &nbsp;&nbsp;<CODE>mencoder \*.jpg -mf on:w=800:h=600:fps=25 -ovc copy
8457
nicolas
parents: 8415
diff changeset
188 -o sortie.avi</CODE></P>
8381
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
189
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
190 <P><I>Créer un fichier non-compressé à partir de tous les fichiers PNG du rép courant:</I><BR>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
191 &nbsp;&nbsp;<CODE>mencoder \*.png -mf on:w=800:h=600:fps=25:type=png -ovc raw
8457
nicolas
parents: 8415
diff changeset
192 -o sortie.avi</CODE></P>
8381
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
193
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
194 <P><I>Créer un fichier Motion PNG (MPNG) à partir de tous les fichiers PNG du rép courant:</I><BR>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
195 &nbsp;&nbsp;<CODE>mencoder \*.png -mf on:w=800:h=600:fps=25:type=png -ovc copy
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
196 -oac copy -o sortie.avi</CODE></P>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
197
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
198 <P><I>Créer un fichier Motion TGA (MTGA) à partir de tous les fichiers TGA du rép courant:</I><BR>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
199 &nbsp;&nbsp;<CODE>mencoder \*.tga -mf on:w=800:h=600:fps=25:type=tga -ovc copy
8457
nicolas
parents: 8415
diff changeset
200 -o sortie.avi</CODE></P>
8381
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
201
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
202
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
203 <H3><A NAME="vobsub">2.4.7 Extractaction des sous-titres DVD dans un fichier Vobsub</A></H3>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
204
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
205 <P>MEncoder est capable d'extraire les sous-titres d'un DVD dans des fichiers au format
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
206 VobSub. Ils consistent en une paire de fichiers terminant par <CODE>.idx</CODE> et
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
207 <CODE>.sub</CODE> et sont généralement compressés dans une seule archive <CODE>.rar</CODE>.
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
208 Mplayer peut les lire avec les options <CODE>-vobsub</CODE> et <CODE>-vobsubid</CODE>.</P>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
209
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
210 <P>Vous spécifiez le nom de base (c-a-d sans l'extension <CODE>.idx</CODE> ou
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
211 <CODE>.sub</CODE>) des fichiers de sortie avec <CODE>-vobsubout</CODE> et
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
212 l'index pour ces sous-titres dans le fichier final avec <CODE>-vobsuboutindex</CODE>.</P>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
213
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
214 <P>Si l'entrée n'est pas un DVD vous pouvez utiliser <CODE>-ifo</CODE> pour
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
215 indiquer le fichier <CODE>.ifo</CODE> requis pour construire le fichier
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
216 <CODE>.idx</CODE> final.</P>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
217
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
218 <P>Si l'entrée n'est pas un DVD et que vous n'avez pas de fichier <CODE>.ifo</CODE>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
219 vous aurez besoin d'utiliser l'option <CODE>-vobsubid</CODE> pour lui permettre
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
220 de savoir quel id langue placer dans le fichier <CODE>.idx</CODE>.</P>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
221
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
222 <P>Chaque étape ajoutera les sous-titres actifs dans les fichiers <CODE>.idx</CODE>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
223 et <CODE>.sub</CODE> dans les fichiers déjà existants. Vous devrez donc les
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
224 enlever avant de commencer.</P>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
225
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
226 <H4>Exemples</H4>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
227
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
228 <P><I>Copier deux sous-titres d'un DVD pendant l'encodage 3-passes</I><BR>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
229 &nbsp;&nbsp;<CODE>rm soustitres.idx soustitres.sub</CODE><BR>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
230 &nbsp;&nbsp;<CODE>mencoder -dvd 1 -vobsubout soustitres -vobsuboutindex 0
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
231 -sid 2 -o frameno.avi -ovc frameno -oac mp3lame -lameopts vbr=3</CODE><BR>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
232 &nbsp;&nbsp;<CODE>mencoder -dvd 1 -oac copy -ovc divx4 -divx4opts pass=1</CODE><BR>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
233 &nbsp;&nbsp;<CODE>mencoder -dvd 1 -oac copy -ovc divx4 -divx4opts pass=2 -vobsubout
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
234 sous-titres -vobsuboutindex 1 -sid 5</CODE></P>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
235
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
236 <P><I>Copier les sous-titres français depuis un fichier MPEG</I><BR>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
237 &nbsp;&nbsp;<CODE>rm soustitres.idx soustitres.sub</CODE><BR>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
238 &nbsp;&nbsp;<CODE>mencoder film.mpg -ifo film.ifo -vobsubout soustitres
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
239 -vobsuboutindex 0 -vobsuboutid fr -sid 1</CODE></P>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
240
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
241
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
242 <H3><A NAME="aspect">2.4.8 Préserver l'aspect ratio</A></H3>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
243
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
244 <P>Les fichiers des DVDs et des SVCDs (c-a-d MPEG1/2) contiennent une valeur
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
245 d'aspect ratio, qui décrit comment le lecteur devrait dimensionner le flux
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
246 vidéo, pour que les humains n'aient pas des têtes d'oeuf (ex. 480x480 + 4:3 = 640x480).
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
247 De toute façon, quand vous encodez un fichier AVI (DivX), vous devez être conscients
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
248 que les entêtes AVI ne stockent pas cette valeur. Redimmensionner le film est
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
249 dégouttant et coûteux en temps, il doit y avoir une meilleur fonction!</P>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
250
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
251 <P>Il y en a une.</P>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
252
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
253 <P>MPEG4 a une fonction unique: le flux vidéo peut contenir l'aspect ratio requis.
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
254 Oui, tout comme les fichiers MPEG1/2 (DVD, SVCD). Malheureusement, il n'y a pas
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
255 de lecteurs vidéo au dehors qui supportent cet attribut. Excepté Mplayer.</P>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
256
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
257 <P>Cette fonction ne peut être utilisé qu'avec le codec <CODE>mpeg4</CODE>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
258 de <B>libavcodec</B>. Gardez à l'esprit: bien que MPlayer lise correctement
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
259 le fichier créé, les autres lecteurs utiliseront un mauvais aspect ratio.</P>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
260
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
261 <P>Vous devriez sérieusement couper les bandes noires au dessus et en dessous de l'image.
8415
b230b50b5014 French translation synced by Nico Tourmentine <n@tourmentine.com>.
diego
parents: 8381
diff changeset
262 Voir la page de man pour l'utilisation des filtres <CODE>cropdetect</CODE> et
b230b50b5014 French translation synced by Nico Tourmentine <n@tourmentine.com>.
diego
parents: 8381
diff changeset
263 <CODE>crop</CODE>.</P></P>
8381
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
264
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
265 <H5>Utilisation:</H5>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
266
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
267 <P><CODE>$ mencoder sample-svcd.mpg -ovc lavc -lavcopts
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
268 vcodec=mpeg4:aspect=16.0/9.0 -vop crop=714:548:0:14 -oac copy -o sortie.avi</CODE></P>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
269
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
270 </BODY>
212b54e0d10f New shiny French translation by Nicolas Le Gaillart < n@tourmentine.com >.
diego
parents:
diff changeset
271 </HTML>