Mercurial > mplayer.hg
annotate DOCS/xml/ru/mencoder.xml @ 20453:e2eafc5f8ce1
synced with r20468
author | Gabrov |
---|---|
date | Fri, 27 Oct 2006 17:15:42 +0000 |
parents | 63b31f7f42b8 |
children | bb605f1ccb4d |
rev | line source |
---|---|
19750
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
1 <?xml version="1.0" encoding="koi8-r"?> |
20040 | 2 <!-- synced with r20043 --> |
19750
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
3 <chapter id="mencoder"> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
4 <title>Основы использования <application>MEncoder</application></title> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
5 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
6 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
7 Полный список доступных опций <application>MEncoder</application> и примеры |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
8 смотрите на странице руководства man. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
9 |
20040 | 10 Ряд наглядных примеров и подробные руководства по использованию отдельных |
19750
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
11 параметров кодирования, можно узнать прочтя |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
12 <ulink url="../../tech/encoding-tips.txt">советы по кодированию</ulink>, которые мы |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
13 собрали из отдельных нитей[threads] рассылки MPlayer-users. В |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
14 <ulink url="http://lists.mplayerhq.hu/pipermail/mplayer-users/">архивах</ulink> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
15 найдется множество дискуссий, посвященных всех аспектам и проблемам кодирования |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
16 при помощи <application>MEncoder</application>. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
17 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
18 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
19 <sect1 id="menc-feat-selecting-codec"> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
20 <title>Выбор кодеков и формата файлов</title> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
21 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
22 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
23 Аудио и видео кодеки для кодирования выбираются опциями |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
24 <option>-oac</option> и <option>-ovc</option>, соответственно. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
25 Ниберите для примера: |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
26 <screen>mencoder -ovc help</screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
27 чтобы получить список всех видео кодеков поддерживаемых |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
28 версией <application>MEncoder</application>, установленной на вашей машине. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
29 Доступны следующие варианты: |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
30 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
31 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
32 Аудио кодеки: |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
33 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
34 <informaltable frame="all"> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
35 <tgroup cols="2"> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
36 <thead> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
37 <row><entry>Название кодека</entry><entry>Описание</entry></row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
38 </thead> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
39 <tbody> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
40 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
41 <entry>mp3lame</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
42 <entry>Кодируйте в VBR, ABR или CBR MP3 с LAME</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
43 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
44 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
45 <entry>lavc</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
46 <entry>Используйте один из кодеков библиотеки <link linkend="menc-feat-enc-libavcodec-audio-codecs"><systemitem class="library">libavcodec</systemitem></link> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
47 </entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
48 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
49 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
50 <entry>faac</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
51 <entry>FAAC AAC аудио кодер</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
52 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
53 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
54 <entry>toolame</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
55 <entry>MPEG Audio Layer 2 кодер</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
56 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
57 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
58 <entry>twolame</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
59 <entry>MPEG Audio Layer 2 кодер, основанный на tooLAME</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
60 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
61 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
62 <entry>pcm</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
63 <entry>Несжатый PCM звук</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
64 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
65 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
66 <entry>copy</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
67 <entry>Не перекодировать, просто копировать сжатые кадры</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
68 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
69 </tbody> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
70 </tgroup> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
71 </informaltable> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
72 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
73 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
74 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
75 Видео кодеки: |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
76 <informaltable frame="all"> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
77 <tgroup cols="2"> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
78 <thead> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
79 <row><entry>Название кодека</entry><entry>Описание</entry></row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
80 </thead> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
81 <tbody> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
82 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
83 <entry>lavc</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
84 <entry>Используйте один из кодеков библиотеки <link linkend="menc-feat-enc-libavcodec-video-codecs"><systemitem class="library">libavcodec</systemitem></link> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
85 </entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
86 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
87 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
88 <entry>xvid</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
89 <entry>XviD, MPEG-4 Advanced Simple Profile (ASP) кодек</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
90 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
91 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
92 <entry>x264</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
93 <entry>x264, MPEG-4 Advanced Video Coding (AVC), AKA[он же] H.264 кодек</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
94 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
95 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
96 <entry>nuv</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
97 <entry>nuppel видео, используемое некоторыми приложениями реального времени</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
98 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
99 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
100 <entry>raw</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
101 <entry>Несжатые видео кадры</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
102 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
103 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
104 <entry>copy</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
105 <entry>Не перекодировать, просто скопировать сжатые кадры</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
106 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
107 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
108 <entry>frameno</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
109 <entry>Использовался для 3-х проходного кодирования (не рекомендуется)</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
110 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
111 </tbody> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
112 </tgroup> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
113 </informaltable> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
114 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
115 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
116 Формат выходных файлов выбирается опцией <option>-of</option>. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
117 Наберите: |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
118 <screen>mencoder -of help</screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
119 чтобы получить список всех форматов, поддерживаемых версией |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
120 <application>MEncoder</application>, установленного на вашей машине. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
121 Доступны следующие варианты: |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
122 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
123 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
124 Форматы файлов: |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
125 <informaltable frame="all"> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
126 <tgroup cols="2"> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
127 <thead> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
128 <row><entry>Название формата</entry><entry>Описание</entry></row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
129 </thead> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
130 <tbody> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
131 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
132 <entry>lavf</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
133 <entry>Один из форматов, поддерживаемых библиотекой |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
134 <systemitem class="library">libavformat</systemitem></entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
135 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
136 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
137 <entry>avi</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
138 <entry>'Слоеное' Аудио-Видео</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
139 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
140 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
141 <entry>mpeg</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
142 <entry>MPEG-1 и MPEG-2 PS</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
143 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
144 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
145 <entry>rawvideo</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
146 <entry>сырой видео поток (без уплотнения[no muxing] - только видео поток)</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
147 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
148 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
149 <entry>rawaudio</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
150 <entry>сырой аудио поток (без уплотнения[no muxing] - только аудио поток)</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
151 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
152 </tbody> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
153 </tgroup> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
154 </informaltable> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
155 AVI является родным форматом для <application>MEncoder</application>, |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
156 что означает наилучшую его поддержку, |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
157 <application>MEncoder</application> изначально разрабатывался для этого формата. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
158 Как замечено выше, другие форматы тоже пригодны, но |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
159 вы можете столкнуться с проблемами при их использовании. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
160 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
161 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
162 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
163 форматы файлов библиотеки <systemitem class="library">libavformat</systemitem>: |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
164 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
165 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
166 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
167 Если вы выбрали <systemitem class="library">libavformat</systemitem> для |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
168 уплотнения[muxing] выходного файла (используя <option>-of lavf</option>), |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
169 подходящий формат файла будет определен по расширению выходного файла. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
170 Вы можете заставить использовать конкретный формат опцией |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
171 <option>format</option> библиотеки |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
172 <systemitem class="library">libavformat</systemitem>. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
173 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
174 <informaltable frame="all"> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
175 <tgroup cols="2"> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
176 <thead> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
177 <row><entry>название формата <systemitem class="library">libavformat</systemitem></entry><entry>Описание</entry></row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
178 </thead> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
179 <tbody> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
180 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
181 <entry>mpg</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
182 <entry>MPEG-1 и MPEG-2 PS</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
183 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
184 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
185 <entry>asf</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
186 <entry>Advanced Streaming Format</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
187 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
188 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
189 <entry>avi</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
190 <entry>'Слоеное' Аудио-Видео</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
191 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
192 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
193 <entry>wav</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
194 <entry>Waveform Аудио</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
195 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
196 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
197 <entry>swf</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
198 <entry>Macromedia Flash</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
199 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
200 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
201 <entry>flv</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
202 <entry>Macromedia Flash видео</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
203 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
204 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
205 <entry>rm</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
206 <entry>RealMedia</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
207 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
208 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
209 <entry>au</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
210 <entry>SUN AU</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
211 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
212 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
213 <entry>nut</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
214 <entry>открытый формат NUT (экспериментальный и пока не полностью соответствующий спецификации)</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
215 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
216 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
217 <entry>mov</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
218 <entry>QuickTime</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
219 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
220 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
221 <entry>mp4</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
222 <entry>MPEG-4 формат</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
223 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
224 <row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
225 <entry>dv</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
226 <entry>Sony Digital Видео формат</entry> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
227 </row> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
228 </tbody> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
229 </tgroup> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
230 </informaltable> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
231 Как видите, <systemitem class="library">libavformat</systemitem> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
232 позволяет <application>MEncoder</application> мультиплексировать[mux] во |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
233 множество форматов. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
234 К сожалению, поскольку <application>MEncoder</application> изначально не разрабатывался |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
235 для поддержки форматов, отличных от AVI, вам следует относиться к результирующему |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
236 файлу с определенной долей паранойи. Убедитесь, что в порядке Аудио/видео синхронихация, и |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
237 файл воспроизводится не только в <application>MPlayer</application>. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
238 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
239 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
240 <informalexample> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
241 <para>Пример:</para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
242 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
243 Создание видео Macromedia Flash, подходящего для воспроизведения в веб браузере плагином |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
244 Macromedia Flash: |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
245 <screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
246 mencoder <replaceable>input.avi</replaceable> -o <replaceable>output.flv</replaceable> -of lavf -oac mp3lame -lameopts abr:br=56 -ovc lavc \ |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
247 -lavcopts vcodec=flv:vbitrate=500:mbd=2:mv0:trell:v4mv:cbp:last_pred=3 \ |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
248 -srate 22050 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
249 </screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
250 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
251 </informalexample> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
252 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
253 </sect1> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
254 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
255 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
256 <sect1 id="menc-feat-selecting-input"> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
257 <title>Выбор входного файла или устройства</title> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
258 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
259 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
260 <application>MEncoder</application> может кодировать из файлов или непосредственно |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
261 с DVD или VCD диска. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
262 Просто укажите имя файла в командной строке для кодирования из файла, |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
263 или <option>dvd://</option><replaceable>номер_ролика</replaceable> или |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
264 <option>vcd://</option><replaceable>номер_дорожки</replaceable> для кодиросания |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
265 DVD ролика или VCD дорожки. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
266 Если вы уже скопировали DVD на жесткий диск (може воспользоваться утилитой вроде |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
267 <application>dvdbackup</application>, доступной на многих системах), |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
268 и желаете уодировать из копии, вледует по-прежнему использовать |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
269 <option>dvd://</option> синтаксис, вместе с <option>-dvd-device</option> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
270 с последующим путек к корню копии DVD. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
271 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
272 Опции <option>-dvd-device</option> и <option>-cdrom-device</option> также могут |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
273 быть исползованы для переопределения путей к файлам устройств для |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
274 чтения прямо с диска, если значения по-умолчанию |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
275 <filename>/dev/dvd</filename> и <filename>/dev/cdrom</filename> не подходят для |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
276 вашей системы. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
277 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
278 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
279 При кодировании с DVD, часто бывает желательно выбрать раздел или диапазон |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
280 разделов для кодирования. для этой цели можно использовать опцию |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
281 <option>-chapter</option>. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
282 Напрмер, <option>-chapter</option> <replaceable>1-4</replaceable> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
283 будет кодировать толко разделы DVD с 1-го по 4-й. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
284 Это особенно полезно при кодировании 1400Мб с целью уместить их на 2 CD, |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
285 так как вы можете разбить фильм точно на границе раздела, вместо |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
286 середины некоторой сцены. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
287 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
288 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
289 Если у вас есть поддерживаемая карта TV захвата, вы также можете |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
290 кодировать с TV входа. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
291 Используйте <option>tv://</option><replaceable>нмер_канала</replaceable> в качестве |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
292 имени файла, и опцию <option>-tv</option> для настройки различный параметров захвата. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
293 DVB вход работает аналогично. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
294 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
295 </sect1> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
296 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
297 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
298 <sect1 id="menc-feat-mpeg4"> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
299 <title>Двухпроходное кодирование MPEG-4 ("DivX")</title> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
300 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
301 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
302 Название происходит из того факта, что кодирование файла производится <emphasis>дважды</emphasis>. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
303 Первое кодирование (дублирующий проход) создает несколько временных файлов |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
304 (<filename>*.log</filename>) размером в несколько мегабайт, не удаляйте их пока |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
305 (вы можете удалить AVI или вообще не создавать видеофайл, перенаправив его |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
306 в <filename>/dev/null</filename>). На втором проходе, с использованием данных о |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
307 битпотоке из временных файлов, формуируется готовый выходной. Получившийся файл |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
308 будет иметь намного лучшее качество картинки. Если слышите об этом в первый раз, |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
309 обратитесь к руководствам, которые можно найти в интернет. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
310 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
311 |
20040 | 312 <example id="copy_audio_track"> |
19750
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
313 <title>копирование звуковой дорожки</title> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
314 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
315 Кодирование (двухпроходное) второй дорожки DVD в MPEG-4 ("DivX") AVI с |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
316 копированием звуковой дорожки. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
317 <screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
318 mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac copy -o /dev/null |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
319 mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:vpass=2 -oac copy -o <replaceable>output.avi</replaceable> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
320 </screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
321 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
322 </example> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
323 |
20040 | 324 <example id="encode_audio_track"> |
19750
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
325 <title>кодирование звуковой дорожки</title> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
326 <para> |
20040 | 327 Кодирование (в два прохода) DVD в MPEG-4 ("DivX") AVI с кодированием |
19750
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
328 звуковой дорожки в MP3. Будьте аккуратны, используя этот метод, так как в некоторых случаях |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
329 это может привести к рассинхронизации аудио/видео. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
330 <screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
331 mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -oac mp3lame -lameopts vbr=3 -o /dev/null |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
332 mencoder dvd://2 -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:vpass=2 -oac mp3lame -lameopts vbr=3 -o <replaceable>output.avi</replaceable> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
333 </screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
334 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
335 </example> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
336 </sect1> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
337 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
338 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
339 <sect1 id="menc-feat-handheld-psp"> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
340 <title>Кодирование в Sony PSP видео формат</title> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
341 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
342 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
343 <application>MEncoder</application> поддерживает кодирование в видео формат |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
344 Sony PSP, но, в зависимости от ревизии программного обеспечения PSP, |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
345 с различными ограничениями. Можете не беспокоиться, если не будете |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
346 нарушать следующие ограничения: |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
347 <itemizedlist> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
348 <listitem><para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
349 <emphasis role="bold">Битовый поток</emphasis>: не должен превышать 1500кбит/с, |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
350 тем не менее, последние версии очень хорошо поддерживали любой битрейт, пока |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
351 заголовок не требовал черезчур большого значения. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
352 </para></listitem> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
353 <listitem><para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
354 <emphasis role="bold">Размеры</emphasis>: ширина и высота PSP видео должна быть |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
355 кратна 16, а произведение ширина * высота не должно превышать 64000. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
356 В некоторых случаях возможно воспроизведение видео большего размера. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
357 </para></listitem> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
358 <listitem><para> |
20040 | 359 <emphasis role="bold">Звук</emphasis>: частота дискретизации должна быть |
19750
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
360 24кГц для MPEG-4, и 48кГц для H.264. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
361 </para></listitem> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
362 </itemizedlist> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
363 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
364 |
20040 | 365 <example id="encode_for_psp"> |
20041
63b31f7f42b8
Fix russian docs build error, caused by my r20046 commit
voroshil
parents:
20040
diff
changeset
|
366 <title>Кодирование для PSP</title> |
19750
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
367 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
368 <screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
369 mencoder -oac lavc -ovc lavc -of lavf -lavcopts aglobal=1:vglobal=1:vcodec=mpeg4:acodec=aac \ |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
370 -af lavcresample=24000 -vf harddup -lavfopts format=psp:i_certify_that_my_video_stream_does_not_use_b_frames \ |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
371 -ofps 30000/1001 input.video -o output.psp |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
372 </screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
373 Заметьте, что можно задать заголовок видео опцией |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
374 <option>-info name=<replaceable>Заголовок_Фильма</replaceable></option>. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
375 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
376 </example> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
377 </sect1> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
378 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
379 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
380 <sect1 id="menc-feat-mpeg"> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
381 <title>Кодирование в MPEG формат</title> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
382 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
383 <application>MEncoder</application> может создавать файлы формата MPEG (MPEG-PS). |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
384 MPEG-1 или MPEG-2 обычно используют по причине кодирования в более |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
385 ограниченные форматы, такие как SVCD, VCD или DVD. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
386 Особые требования для этих форматов описаны в |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
387 <link linkend="menc-feat-vcd-dvd"> руководстве по созданию VCD и DVD</link> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
388 section. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
389 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
390 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
391 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
392 Чтобы сменить формат выходного файла <application>MEncoder</application>, используйте |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
393 опцию <option>-of mpeg</option>. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
394 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
395 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
396 <informalexample> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
397 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
398 Пример: |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
399 <screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
400 mencoder <replaceable>input.avi</replaceable> -of mpeg -ovc lavc -lavcopts vcodec=mpeg1video -oac copy <replaceable>other_options</replaceable> -o <replaceable>output.mpg</replaceable> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
401 </screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
402 Создается файл MPEG-1 пригодный для воспроизведения на системах с минимальной поддержкой |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
403 мультимедиа, таких как только что установленные Windows: |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
404 <screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
405 mencoder <replaceable>input.avi</replaceable> -of mpeg -mpegopts format=mpeg1:tsaf:muxrate=2000 -o <replaceable>output.mpg</replaceable> -oac lavc -ovc lavc \ |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
406 -lavcopts acodec=mp2:abitrate=224:vcodec=mpeg1video:vbitrate=1152:keyint=15:mbd=2:aspect=4/3 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
407 </screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
408 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
409 </informalexample> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
410 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
411 <note><title>Подсказка:</title> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
412 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
413 Если по каким-то причинам видео после второго прохода вас не устраивает, |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
414 можно снова запустить кодирование с другими значениями битпотока, при |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
415 условии, что вы сохранили статистику предыдущего прохода. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
416 Это возможно, потому что основная задача файла со статистикой - записывать |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
417 сложность каждого кадра, которая жестко с битпотоком не связана. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
418 Следует иметь в виду, что, несмотря на это, лучшее качество получается если |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
419 значения результирующего битпотока всех проходов не сильно отличаются. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
420 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
421 </note> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
422 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
423 </sect1> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
424 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
425 <sect1 id="menc-feat-rescale"> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
426 <title>Масштабирование фильмов</title> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
427 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
428 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
429 Часто возникает потребность изменить размер изображения у фильма. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
430 Причин может быть много: уменьшение размера файла, пропускная способность сети, |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
431 и т.д. Большинство производят масштабирование даже при конвертации DVD или SVCD в AVI. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
432 Если есть желание провести масштабирование, прочтите раздел |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
433 <link linkend="aspect">Сохранение пропорций</link>. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
434 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
435 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
436 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
437 Процесс масштабирование осуществляется плагином <literal>scale</literal>: |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
438 <option>-vf scale=<replaceable>ширина</replaceable>:<replaceable>высота</replaceable></option>. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
439 Качество может быть установлено опцией <option>-sws</option>. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
440 Если не указано, <application>MEncoder</application> будет использовать 2: бикубическое. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
441 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
442 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
443 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
444 Использование: |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
445 <screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
446 mencoder <replaceable>input.mpg</replaceable> -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -vf scale=640:480 -o <replaceable>output.avi</replaceable> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
447 </screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
448 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
449 </sect1> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
450 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
451 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
452 <sect1 id="menc-feat-streamcopy"> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
453 <title>копирование потока</title> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
454 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
455 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
456 <application>MEncoder</application> может обрабатывать входные потоки двумя способыми: |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
457 <emphasis role="bold">кодировать</emphasis> или <emphasis role="bold">копировать</emphasis> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
458 их. Этот раздел о <emphasis role="bold">копировании</emphasis>. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
459 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
460 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
461 <itemizedlist> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
462 <listitem><para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
463 <emphasis role="bold">Видео поток</emphasis> (опция <option>-ovc copy</option>): |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
464 можно делать классные вещи :) Вроде помещения (не преобразования!) FLI или VIVO или |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
465 MPEG-1 видео в AVI файл! Конечно, проиграть такие файлы сможет только |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
466 <application>MPlayer</application> :) И, возможно, никакого реальной пользы в |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
467 этом нет. Реально: копирование видеопотока может быть полезно, если надо кодировать только |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
468 аудио поток (например, несжатый PCM в MP3). |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
469 </para></listitem> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
470 <listitem><para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
471 <emphasis role="bold">Аудио поток</emphasis> (опция <option>-oac copy</option>): |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
472 straightforward. Возможно взять внешний файл (MP3, WAV) и уплотнить[mux] его в выходной |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
473 поток. Воспользуйтесь опцией <option>-audiofile <replaceable>имя_файла</replaceable></option>, |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
474 чтобы сделать это. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
475 </para></listitem> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
476 </itemizedlist> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
477 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
478 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
479 Использование <option>-oac copy</option> для копирования из одного формата в другой |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
480 тожет потребовать указания <option>-fafmttag</option> для сохраниения тэга аудио формата |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
481 из оригинального файла. Например, если вы преобразовываете NSV файл со звуком AAC |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
482 в формат AVI, аудио формат будет неверен и должен быть изменен. Чтобы получить список |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
483 тэгов аудио формата проверьте <filename>codecs.conf</filename>. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
484 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
485 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
486 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
487 Пример: |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
488 <screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
489 mencoder <replaceable>input.nsv</replaceable> -oac copy -fafmttag 0x706D -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -o <replaceable>output.avi</replaceable> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
490 </screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
491 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
492 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
493 </sect1> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
494 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
495 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
496 <sect1 id="menc-feat-enc-images"> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
497 <title>Кодирование из нескольких входных файлов изображений (JPEG, PNG, TGA, SGI)</title> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
498 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
499 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
500 <application>MEncoder</application> может создавать фильмы из одного или более |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
501 JPEG, PNG или TGA файлов. Простым копированием кадров он может создавать MJPEG |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
502 (Motion JPEG), MPNG (Motion PNG) или MTGA (Motion TGA) файлы. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
503 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
504 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
505 <orderedlist> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
506 <title>Разъяснение процесса:</title> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
507 <listitem><para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
508 <application>MEncoder</application> <emphasis>декодирует</emphasis> изображение(я) с помощью |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
509 <systemitem class="library">libjpeg</systemitem> (при декодировании PNG, он будет |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
510 использовать <systemitem class="library">libpng</systemitem>). |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
511 </para></listitem> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
512 <listitem><para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
513 <application>MEncoder</application> затем скармливает декодированное изображение выбранному |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
514 видео компрессору (DivX4, XviD, FFmpeg msmpeg4, и .т.д). |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
515 </para></listitem> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
516 </orderedlist> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
517 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
518 <formalpara> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
519 <title>примеры</title> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
520 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
521 The explanation of the <option>-mf</option> option is in the man page. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
522 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
523 <informalexample> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
524 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
525 Создание файла MPEG-4 из всех JPEG файлов текущего каталога: |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
526 <screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
527 mencoder mf://*.jpg -mf w=800:h=600:fps=25:type=jpg -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -oac copy -o <replaceable>output.avi</replaceable> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
528 </screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
529 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
530 </informalexample> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
531 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
532 <informalexample> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
533 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
534 Создание файла MPEG-4 из некоторых JPEG файлов текущего каталога: |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
535 <screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
536 mencoder mf://<replaceable>frame001.jpg,frame002.jpg</replaceable> -mf w=800:h=600:fps=25:type=jpg -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -oac copy -o <replaceable>output.avi</replaceable> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
537 </screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
538 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
539 </informalexample> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
540 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
541 <informalexample> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
542 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
543 Создание файла MPEG-4 из явного списка JPEG файлов (list.txt в текущем каталоге содержит |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
544 список файлов, используемых в качестве источника, по одному в строке): |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
545 <screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
546 mencoder mf://<replaceable>@list.txt</replaceable> -mf w=800:h=600:fps=25:type=jpg \ |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
547 -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell -oac copy -o <replaceable>output.avi</replaceable> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
548 </screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
549 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
550 </informalexample> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
551 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
552 <informalexample> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
553 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
554 Создание файла Motion JPEG (MJPEG) из всех JPEG файлов текущего каталога: |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
555 <screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
556 mencoder mf://*.jpg -mf w=800:h=600:fps=25:type=jpg -ovc copy -oac copy -o <replaceable>output.avi</replaceable> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
557 </screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
558 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
559 </informalexample> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
560 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
561 <informalexample> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
562 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
563 Создание несжатого файла из всех PNG файлов текущего каталога: |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
564 <screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
565 mencoder mf://*.png -mf w=800:h=600:fps=25:type=png -ovc raw -oac copy -o <replaceable>output.avi</replaceable> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
566 </screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
567 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
568 </informalexample> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
569 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
570 <note><para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
571 Ширина должна быть целым числом, кратным 4, это ограничение формата RAW RGB AVI. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
572 </para></note> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
573 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
574 <informalexample> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
575 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
576 Создание файла Motion PNG (MPNG) из всех PNG файлов текущего каталога: |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
577 <screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
578 mencoder mf://*.png -mf w=800:h=600:fps=25:type=png -ovc copy -oac copy -o <replaceable>output.avi</replaceable> <!-- |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
579 --></screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
580 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
581 </informalexample> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
582 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
583 <informalexample> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
584 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
585 Создание файла Motion TGA (MTGA) из всех TGA файлов текущего каталога: |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
586 <screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
587 mencoder mf://*.tga -mf w=800:h=600:fps=25:type=tga -ovc copy -oac copy -o <replaceable>output.avi</replaceable><!-- |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
588 --></screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
589 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
590 </informalexample> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
591 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
592 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
593 </formalpara> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
594 </sect1> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
595 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
596 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
597 <sect1 id="menc-feat-extractsub"> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
598 <title>Извлечение DVD субтитров в файл VOBsub</title> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
599 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
600 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
601 <application>MEncoder</application> способен извлекать субтитры из DVD в файлы формата |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
602 VOBsub. Они состоят из пары файлов, оканчивающихся на |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
603 <filename>.idx</filename> и <filename>.sub</filename> и обычно |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
604 упакованы в один <filename>.rar</filename> архив. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
605 <application>MPlayer</application> может воспроизводить из при помощи опций |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
606 <option>-vobsub</option> и <option>-vobsubid</option>. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
607 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
608 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
609 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
610 Вы указываете базовое имя (т.е. без расширения <filename>.idx</filename> или |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
611 <filename>.sub</filename>) выходных файлов с помощью |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
612 <option>-vobsubout</option> и индекс этих субтитров в результирующем файле |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
613 при помощи <option>-vobsuboutindex</option>. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
614 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
615 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
616 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
617 Если источником является не DVD следует использовать <option>-ifo</option> для |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
618 указания указания файла <filename>.ifo</filename>, необходимого для создания |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
619 результирующего <filename>.idx</filename> файла. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
620 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
621 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
622 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
623 Если источником является не DVD и у вас нет <filename>.ifo</filename> файла, |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
624 используйте опцию <option>-vobsubid</option> для указания, какой ид языка |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
625 следует записать в <filename>.idx</filename> файл. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
626 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
627 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
628 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
629 При каждом запуске субтитры будут добавляться в конец файлов, если |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
630 <filename>.idx</filename> и <filename>.sub</filename> уже существуют. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
631 Так что вам следует удалять их перед началом. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
632 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
633 |
20040 | 634 <example id="copying_two_subtitles_from_a_dvd_while_doing_two_pass_encoding"> |
635 <title>копирование двух субтитров из DVD при выполнении двухпроходного кодирования</title> | |
19750
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
636 <screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
637 rm subtitles.idx subtitles.sub |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
638 mencoder dvd://1 -oac copy -ovc lavc -lavcopts vcodec=mpeg4:vpass=1 -vobsubout subtitles -vobsuboutindex 0 -sid 2 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
639 mencoder dvd://1 -oac copy -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:vpass=2 -vobsubout subtitles -vobsuboutindex 1 -sid 5<!-- |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
640 --></screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
641 </example> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
642 |
20040 | 643 <example id="copying_a_french_subtitle_from_an_mpeg_file"> |
19750
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
644 <title>Копирование французских субтитров из MPEG файла</title> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
645 <screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
646 rm subtitles.idx subtitles.sub |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
647 mencoder <replaceable>movie.mpg</replaceable> -ifo <replaceable>movie.ifo</replaceable> -vobsubout subtitles -vobsuboutindex 0 -vobsuboutid fr -sid 1 -nosound -ovc copy |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
648 </screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
649 </example> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
650 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
651 </sect1> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
652 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
653 <sect1 id="aspect"> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
654 <title>Сохранение пропорций</title> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
655 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
656 DVD и SVCD (т.е. MPEG-1/2) файлы содержат информацию о пропорции, которая описывает |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
657 как проигрыватель должен масштабировать видео поток, чтобы люди не становились яйцеголовыми. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
658 (напр.: 480x480 + 4:3 = 640x480). Хотя при кодировании в AVI (DivX) файлы вы избавлены от этой |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
659 проблемы, т.к. заголовки AVI не содержат это значение. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
660 Масштабирование изображения отвратительно и расточительно, есть лучший путь! |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
661 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
662 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
663 <para>There is</para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
664 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
665 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
666 MPEG-4 имееть уникальную возможность: видео поток может хранить требуеумые ему пропорции. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
667 Да, в точности как MPEG-1/2 (DVD, SVCD) и H.263 файлы. К сожалению, немного проигрывателей |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
668 кроме <application>MPlayer</application> поддерживают этот MPEG-4 атрибут. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
669 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
670 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
671 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
672 Эта возможность может использоваться только с |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
673 <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>'овским |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
674 <systemitem>mpeg4</systemitem> кодеком. Имейте в виду: хотя |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
675 <application>MPlayer</application> корректно воспроизведет файл, другие |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
676 проигрыватели могут использовать неверные пропорции. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
677 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
678 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
679 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
680 Вы серъезно должны обрезать черные полосы выше и ниже изображения. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
681 Смотрите страницу руководства man по использованию <systemitem>cropdetect</systemitem> и |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
682 <systemitem>crop</systemitem> плагинов. |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
683 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
684 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
685 <para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
686 Использование: |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
687 <screen>mencoder <replaceable>sample-svcd.mpg</replaceable> -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell:autoaspect -vf crop=714:548:0:14 -oac copy -o <replaceable>output.avi</replaceable></screen> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
688 </para> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
689 </sect1> |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
690 |
c70da02242f6
translation by Vladimir Voroshilov, voroshil gmail com
voroshil
parents:
diff
changeset
|
691 </chapter> |