annotate DOCS/xml/ru/encoding-guide.xml @ 22540:52c574919687

Fix live555 compilation when stream cache is disabled. based on patch by Gianluigi Tiesi, mplayer netfarm it
author diego
date Tue, 13 Mar 2007 23:35:00 +0000
parents 8e1736796451
children d2469c37ee29
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1 <?xml version="1.0" encoding="utf-8"?>
22513
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
2 <!-- synced with r22413 -->
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3 <chapter id="encoding-guide">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4 <title>Кодирование с <application>MEncoder</application></title>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
6 <sect1 id="menc-feat-dvd-mpeg4">
21598
fa4f5b0fd510 r21612: replace &quot; with ", better readability
voroshil
parents: 21594
diff changeset
7 <title>Создание высококачественного MPEG-4 ("DivX") рипа из DVD фильма</title>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
8
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
9 <para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
10 Одним часто задаваемым вопросом является "Как мне сделать рип самого высокого
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
11 качества для заданного размера?". Другой вопрос "Как мне создать DVD рип с самым
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
12 высоким возможным качеством? Я не беспокоюсь о размере файла, мне нужно лишь
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
13 наилучшее качество.".
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
14 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
15
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
16 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
17 Последний вопрос, похоже, отчасти неверно сформулирован. В конце концов, если
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
18 Вы не беспокоитесь о размере файла, почему бы просто не скопировать весь MPEG-2
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
19 видео поток с DVD? Конечно, Ваш AVI файл будет занимать около 5GB,
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
20 но если Вы желаете наилучшее качество и не волнуетесь о размере, то это,
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
21 несомненно, лучшее решение.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
22 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
23
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
24 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
25 В действительности, причиной, по которой Вы хотите перекодировать DVD в MPEG-4,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
26 является именно Ваше <emphasis role="bold">беспокойство</emphasis>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
27 о размере файла.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
28 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
29
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
30 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
31 Сложно дать универсальный рецепт о создании DVD рипа очень высокого
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
32 качества. Необходимо рассмотреть несколько факторов, и Вы должны
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
33 понимать эти детали, иначе Вы, скорее всего, разочаруетесь своими
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
34 результатами. Ниже мы исследуем некоторые из этих вопросов, а затем
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
35 рассмотрим пример. Мы предполагаем, что Вы используете
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
36 <systemitem class="library">libavcodec</systemitem> для кодирования видео,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
37 хотя теория также применима и к другим кодекам.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
38 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
39
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
40 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
41 Если это кажется для Вас слишком сложным, то Вам, пожалуй, следует использовать
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
42 один из многочисленных неплохих фронтендов, указанных в
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
43 <ulink url="http://www.mplayerhq.hu/design7/projects.html#mencoder_frontends">разделе MEncoder</ulink>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
44 нашей страницы родственных проектов.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
45 Так Вы должны получить высококачественные рипы без особых размышлений,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
46 поскольку большинство этих утилит разработаны для принятия умных решений за Вас.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
47 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
48
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
49 <!-- ********** -->
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
50
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
51 <sect2 id="menc-feat-dvd-mpeg4-preparing-encode">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
52 <title>Подготовка к кодированию: Идентификация исходного материала и кадровой
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
53 частоты</title>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
54 <para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
55 Прежде, чем даже задумываться о кодировании фильма, Вам необходимо выполнить
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
56 некоторые предварительные действия.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
57 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
58
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
59 <para>
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
60 Первым и наиболее важным шагом перед кодированием должно быть определение
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
61 типа содержимого, с которым Вы работаете.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
62 Если источником Ваших исходных материалов является DVD или
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
63 широковещательное/кабельное/спутниковое TV, оно будет содержаться в одном из
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
64 двух форматов: NTSC для Северной Америки и Японии, PAL для Европы и т.д..
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
65 Однако, важно понимать, что это только форматирование для показа на
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
66 телевидении, и оно часто
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
67 <emphasis role="bold">не</emphasis> соответствует
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
68 исходному формату фильма.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
69 Опыт показывает, что NTSC материал существенно более сложен для кодирования,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
70 т.к. в нём содержится больше элементов, которые нужно идентифицировать.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
71 Для проведения удачного кодирования, Вам необходимо знать исходный формат.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
72 Отказ от принятия этого во внимание приведёт к различным дефектам в Вашем
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
73 кодировании, включая безобразные гребешки (артефакты чересстрочной развёртки)
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
74 и повторяющиеся или даже потерянные кадры.
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
75 Кроме ухудшения картинки, артефакты так же уменьшают эффективность кодирования:
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
76 Вы получите худшее качество на единицу битпотока.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
77 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
78
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
79
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
80 <sect3 id="menc-feat-dvd-mpeg4-preparing-encode-fps">
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
81 <title>Определение кадровой частоты источника</title>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
82 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
83 Вот список, содержащий общие типы исходных материалов, где они,
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
84 преимущественно, встречаются и их свойства:
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
85 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
86
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
87 <itemizedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
88 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
89 <emphasis role="bold">Стандартный фильм</emphasis>: Производятся
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
90 для театральных показов на 24 fps [кадр/сек].
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
91 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
92 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
93 <emphasis role="bold">PAL видео</emphasis>: Записывается с помощью
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
94 PAL видеокамеры при 50 полях в секунду.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
95 Поле состоит только из чётных или нечётных линий кадра.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
96 Телевидение было разработано для обновления этих полей попеременно,
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
97 что используется как вид дешёвого аналогового сжатия.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
98 Человеческий глаз, предположительно, компенсирует это, но однажды
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
99 поняв чересстрочную развёртку, Вы научитесь видеть её и на TV и
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
100 Вам больше никогда не понравится телевидение.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
101 Два поля <emphasis role="bold">не</emphasis> составляют
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
102 целый кадр, поскольку они снимаются с задержкой в 1/50 секунды
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
103 и, следовательно, не формируют одно изображение, за исключением случая
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
104 полного отсутствия движения.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
105 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
106 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
107 <emphasis role="bold">NTSC видео</emphasis>: Записывается с помощью
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
108 NTSC видеокамеры при 60000/1001 полях в секунду, или 60 полях в секунду
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
109 в эпоху чёрно-белого TV.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
110 В других отношениях аналогично PAL.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
111 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
112 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
113 <emphasis role="bold">Анимация</emphasis>: Обычно рисуется на 24 fps,
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
114 но также существуют разновидности со смешанной кадровой частотой.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
115 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
116 <listitem><para>
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
117 <emphasis role="bold">Компьютерная графика (CG)</emphasis>: Может
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
118 быть с любой частотой кадров, но некоторые встречаются чаще остальных;
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
119 24 и 30 кадров в секунду типичны для NTSC, и 25 fps типично для PAL.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
120 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
121 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
122 <emphasis role="bold">Старый фильм</emphasis>: Различные низкие
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
123 кадровые частоты.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
124 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
125 </itemizedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
126 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
127
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
128
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
129 <sect3 id="menc-feat-dvd-mpeg4-preparing-encode-material">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
130 <title>Идентификация исходного материала</title>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
131
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
132 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
133 Фильмы, состоящие из кадров, называются фильмами с построчной (или прогрессивной)
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
134 развёрткой, а состоящие из независимых полей &mdash; фильмами с чересстрочной
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
135 развёрткой или просто видео; однако, последний термин двусмысленный.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
136 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
137
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
138 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
139 Из-за дальнейших усложнений, некоторые фильмы будут смесью
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
140 нескольких, указанных выше.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
141 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
142
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
143 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
144 Наиболее важным различием между всеми этими форматами является
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
145 то, что одни из них основаны на кадрах, а другие &mdash; на полях.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
146 <emphasis role="bold">Любой</emphasis> фильм, подготовленный для
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
147 просмотра на телевидении (включая DVD), преобразуется в формат,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
148 основанный на полях.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
149 <!-- FIXME: Существует ли лучший *краткий* (1-2 слова) перевод для
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
150 терминов pulldown и telecine? В литературе, которую я нашёл,
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
151 используют или указанные мной, по сути дела, транслитерации,
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
152 или так и оставляют английские названия.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
153 А точный перевод можно выполнить только целым предложением
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
154 (т.е. определением), что совершенно неуместно в контексте
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
155 данного документа, где эти термины часто встречаются. -->
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
156 Различные методы, с помощью которых это может быть сделано, совокупно
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
157 называются "телесин" (англ. telecine), одним из вариантов которого
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
158 является отвратительный NTSC "3:2 пулдаун" (англ. pulldown).
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
159 За исключением случаев, когда формат исходного материала был
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
160 также основан на полях (и с такой же частотой полей), Вы получите
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
161 фильм в формате отличном от исходного.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
162 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
163
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
164 <itemizedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
165 <title>Существует несколько общих типов пулдауна:</title>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
166 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
167 <emphasis role="bold">PAL 2:2 пулдаун</emphasis>: Наилучший из всех.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
168 Каждый кадр показывается за время длительности двух полей путем
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
169 извлечения чётных и нечётных строк и их попеременного показа.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
170 Если в исходном материале 24 fps, то это ускоряет воспроизведение фильма
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
171 на 4%.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
172 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
173 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
174 <emphasis role="bold">PAL 2:2:2:2:2:2:2:2:2:2:2:3 пулдаун</emphasis>:
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
175 Каждый 12-й кадр показывается за время длительности трёх полей,
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
176 вместо двух.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
177 Это помогает избежать проблемы 4%-го ускорения, но делает обращение
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
178 процесса существенно более сложным.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
179 Такие вещи обычно наблюдаются в музыкальных произведениях, где
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
180 изменение скорости на 4% существенно повредит музыкальную партитуру.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
181 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
182 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
183 <emphasis role="bold">NTSC 3:2 телесин</emphasis>: Кадры показываются
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
184 попеременно за время длительности 3-х полей или 2-х полей.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
185 Это даёт частоту полей в 2.5 раза больше исходной частоты кадров.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
186 Результат также очень незначительно замедляется от 60 до 60000/1001
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
187 полей в секунду для поддержания частоты полей NTSC.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
188 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
189 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
190 <emphasis role="bold">NTSC 2:2 пулдаун</emphasis>: Используется
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
191 для отображения материала с 30 fps на NTSC.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
192 Так же мил, как и 2:2 PAL пулдаун.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
193 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
194 </itemizedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
195
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
196 <para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
197 Так же существуют методы для преобразования между NTSC и PAL видео,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
198 но подобные темы выходят за рамки данного руководства.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
199 Если Вам попался такой фильм, и Вы хотите кодировать его,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
200 лучшим решением будет найти копию в исходном формате.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
201 Преобразование между этими двумя форматами вносит большие потери
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
202 и не может быть точно обращено, так что Ваше кодирование
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
203 существенно пострадает, если оно делается из преобразованного
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
204 источника.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
205 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
206
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
207 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
208 Когда видео находится на DVD, последовательные пары полей
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
209 группируются как кадр, даже если они не предназначены для
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
210 одновременного отображения.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
211 Стандарт MPEG-2, используемый на DVD и цифровом TV предоставляет
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
212 возможность одновременно кодировать исходные кадры с построчной
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
213 развёрткой и сохранять число полей, в течении которых кадр
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
214 должен быть показан, в его заголовке.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
215 Если был использован такой метод, фильм часто будет называться
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
216 как "мягкий телесин", т.к. процесс только указывает DVD-плееру
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
217 о необходимости применения пулдауна к фильму, не изменяя при этом
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
218 сам фильм.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
219 Этот случай существенно предпочтителен, т.к. он может быть легко обращён
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
220 (в действительности, проигнорирован) кодером и т.к. он сохраняет
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
221 максимальное качество.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
222 Однако, многие широковещательные и DVD студии не используют
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
223 надлежащую технологию кодирования и вместо этого производят
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
224 фильмы с "жёстким телесином", где поля в действительности
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
225 повторяются в кодированном MPEG-2.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
226 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
227
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
228 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
229 Порядок действия в таких случаях будет описан
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
230 <link linkend="menc-feat-telecine">позже в данном руководстве</link>.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
231 Сейчас мы дадим Вам несколько советов по идентификации типа
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
232 материала, с которым Вы работаете:
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
233 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
234
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
235 <itemizedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
236 <title>Области NTSC:</title>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
237 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
238 Если при просмотре Вашего фильма <application>MPlayer</application>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
239 выводит, что частота кадров была изменена до 24000/1001 и она
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
240 никогда не меняется обратно, то это почти наверняка содержимое
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
241 с построчной развёрткой, которое было подвергнуто
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
242 "мягкому телесину".
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
243 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
244 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
245 Если <application>MPlayer</application> отображает попеременные
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
246 переключения частоты кадров между 24000/1001 и 30000/1001, и Вы
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
247 иногда видите "гребешки", есть несколько возможностей.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
248 Сегменты с 24000/1001 fps почти наверняка являются "мягко
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
249 телесиненным" содержимым с построчной развёрткой, но части с
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
250 30000/1001 fps могут быть как "жёстко телесиненым" содержимым
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
251 с 24000/1001 fps, так и NTSC видео с 60000/1001 полями в секунду.
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
252 Используйте два нижеследующих руководства для определения того,
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
253 с каким случаем Вы имеете дело.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
254 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
255 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
256 Если <application>MPlayer</application> никогда не показывает
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
257 изменения кадровой частоты и каждый отдельный кадр, где есть
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
258 движение, оказывается гребёнкой, Ваш фильм есть NTSC видео с
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
259 60000/1001 полями в секунду.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
260 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
261 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
262 Если <application>MPlayer</application> никогда не показывает
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
263 изменения кадровой частоты и два кадра из каждых пяти оказываются
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
264 гребёнкой, Ваш фильм представляет собой "жёстко телесиненное"
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
265 содержимое с 24000/1001 fps.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
266 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
267 </itemizedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
268
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
269 <itemizedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
270 <title>Области PAL:</title>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
271 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
272 Если Вы не видите никакой гребёнки, Ваш фильм есть 2:2 пулдаун.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
273 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
274 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
275 Если Вы видите попеременную гребёнку каждые полсекунды,
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
276 Ваш фильм представляет собой 2:2:2:2:2:2:2:2:2:2:2:3 пулдаун.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
277 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
278 <listitem><para>
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
279 Если Вы всегда видите гребёнки во время движения, значит Ваш
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
280 фильм является PAL видео с 50 полями в секунду.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
281 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
282 </itemizedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
283
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
284 <note><title>Подсказка:</title>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
285 <para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
286 <application>MPlayer</application> может замедлить воспроизведение
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
287 фильма с опцией -speed или воспроизводить его покадрово.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
288 Попробуйте использовать опцию <option>-speed 0.2</option> для
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
289 очень медленного просмотра фильма или несколько раз нажмите
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
290 клавишу "<keycap>.</keycap>" для воспроизведения одного кадра
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
291 за раз и идетнифицируйте образец, если не можете его увидеть на
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
292 полной скорости.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
293 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
294 </note>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
295 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
296 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
297
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
298 <!-- ********** -->
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
299
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
300 <sect2 id="menc-feat-dvd-mpeg4-2pass">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
301 <title>Постоянный квантователь против многопроходности</title>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
302
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
303 <para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
304 Возможно кодировать Ваш фильм, широко варьируя качество.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
305 С современными видеокодерами и небольшим сжатием перед кодированием
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
306 (уменьшением размера и шумов) возможно достичь очень хорошего
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
307 качества при размере 700 МБ для 90-110-минутного широкоэкранного фильма.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
308 Более того, всё, кроме самых длинных фильмов, может быть кодировано
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
309 с почти безупречным качеством на 1400 МБ.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
310 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
311
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
312 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
313 Есть три подхода при кодировании видео: постоянный битпоток (CBR),
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
314 постоянный квантователь и многопроходность (ABR или усреднённый битпоток).
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
315 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
316
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
317 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
318 Сложность кадров фильма и, таким образом, число битов, нужных для их
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
319 сжатия может существенно отличаться от одной сцены к другой.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
320 Современные видеокодеры могут подстраиваться под это в процессе
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
321 работы и варьировать битпоток.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
322 Однако, в таких простых режимах как CBR кодеры не знают загруженность
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
323 битпотока в последующих сценах и т.о. не могут превысить затребованный
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
324 битпоток для больших промежутков времени.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
325 Более продвинутые режимы, такие как многопроходный режим, могут
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
326 учитывать статистику предыдущих проходов; это решает проблему,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
327 упомянутую выше.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
328 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
329
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
330 <note><title>Замечание:</title>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
331 <para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
332 Большинство кодеков, поддерживающих ABR кодирование, поддерживают
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
333 только двупроходный режим, в то время как некоторые другие, такие
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
334 как <systemitem class="library">x264</systemitem>,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
335 <systemitem class="library">Xvid</systemitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
336 и <systemitem class="library">libavcodec</systemitem> поддерживают
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
337 многопроходность, несколько улучшающую качество на каждом проходе,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
338 однако, это улучшение не измеримо и не заметно после 4-го прохода
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
339 или около того.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
340 Поэтому, в данном разделе дву- и многопроходность будут
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
341 использоваться взаимозаменяемо.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
342 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
343 </note>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
344
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
345 <para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
346 В каждом из этих режимов видеокодек (такой как
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
347 <systemitem class="library">libavcodec</systemitem>)
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
348 разбивает видеокадр на макроблоки размером 16х16 пикселей и потом
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
349 применяет квантователь к каждому макроблоку. Чем меньше квантоваль,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
350 тем лучше качество и выше битпоток.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
351 Метод, используемый видео кодером для определения того, какой
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
352 квантователь использовать для данного макроблока, варьируется и
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
353 подлежит тонкой настройке. (Это крайнее упрощение реального
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
354 процесса, но основная концепция полезна для понимания.)
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
355 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
356
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
357 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
358 Когда Вы указываете постоянный битпоток, видеокодек будет кодировать
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
359 видео, отбрасывая детали столько, сколько необходимо и настолько мало,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
360 насколько это возможно с целью оставаться ниже заданного битпотока.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
361 Если Вас действительно не волнует размер файла, Вы можете также
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
362 использовать CBR и указать бесконечный битпоток. (На практике это
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
363 означает значение, достаточно большое для обозначения отсутствия
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
364 предела, например, 10000 Кбит.) В результате, без реального ограничения
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
365 битпотока, кодек использует наименьший возможный квантователь для
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
366 каждого макроблока (как указано опцией
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
367 <option>vqmin</option> для
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
368 <systemitem class="library">libavcodec</systemitem>, равной 2 по умолчанию).
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
369 Как только Вы укажите настолько низкий битпоток, что кодек будет
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
370 вынужден использовать более высокий квантователь, Вы почти наверняка
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
371 испортите качество Вашего видео.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
372 Чтобы избежать этого, Вам, вероятно, придётся уменьшить размеры
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
373 Вашего видео, согласно методу, описанному далее в этом руководстве.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
374 В общих чертах, Вам следует избегать CBR совсем, если Вы заботитесь
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
375 о качестве.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
376 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
377
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
378 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
379 С постоянным квантователем кодек использует для всех макроблоков
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
380 один и тот же квантователь, указанный в опции
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
381 <option>vqscale</option> (для
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
382 <systemitem class="library">libavcodec</systemitem>).
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
383 Если Вы хотите рип наивысшего возможного качества, снова не взирая
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
384 на битпоток, Вы можете использовать
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
385 <option>vqscale=2</option>.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
386 Это приведёт к тому же битпотоку и PSNR (пику отношения сигнала к шуму),
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
387 что и CBR с
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
388 <option>vbitrate</option>=бесконечности и значением по умолчанию
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
389 <option>vqmin</option>, равным 2.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
390 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
391
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
392 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
393 Проблема с постоянным квантованием заключается в том, что кодек использует
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
394 заданный квантователь вне зависимости от того, требуется это для
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
395 макроблока или нет. То есть возможно использование большего квантователя
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
396 для макроблока без ухудшения видимого качества. Зачем тратить биты на
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
397 излишне низкий квантователь? У Вашего процессора есть столько тактов,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
398 сколько есть времени, но имеется лишь ограниченное число битов на
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
399 жёстком диске.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
400 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
401
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
402 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
403 При двупроходном кодировании первый проход создаст рип фильма так,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
404 как будто это был CBR, но сохранит лог свойств для каждого кадра.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
405 Эта информация затем будет использована во время второго прохода
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
406 для принятия интеллектуальных решений о том, какой квантователь
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
407 следует использовать. Во время быстрого движения или сцен с
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
408 высокой детализацией с большой вероятностью будут использованы
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
409 бОльшие квантователи, а во время медленного движения или сцен
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
410 с низкой детализацией &mdash; меньшие.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
411 Обычно количество движения играет существенно более важную роль,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
412 чем количество деталей.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
413 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
414
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
415 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
416 Если Вы используете <option>vqscale=2</option>, то Вы теряете биты.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
417 Если Вы используете <option>vqscale=3</option>, то Вы не получаете
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
418 рип наивысшего качества. Предположим, Вы делаете рип DVD, используя
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
419 <option>vqscale=3</option>, результат получается 1800 Кбит.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
420 Если Вы сделаете двупроходное кодирование с
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
421 <option>vbitrate=1800</option>, получившееся видео будет обладать
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
422 <emphasis role="bold">лучшим качеством</emphasis> для
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
423 <emphasis role="bold">того же битпотока</emphasis>.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
424 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
425
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
426 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
427 После того, как Вы сейчас убедились, что два прохода &mdash; это путь
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
428 к действию, возникает вопрос о том, какой битпоток использовать?
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
429 Ответ таков, что нет единого ответа. В идеале, Вы хотите выбрать
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
430 битпоток, при котором достигается наилучший баланс между качеством
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
431 и размером файла. Здесь возможны вариации в зависимости от
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
432 исходного видеоматериала.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
433 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
434
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
435 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
436 Если размер не важен, хорошей отправной точкой для рипа очень высокого
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
437 качества будет 2000 Кбит +/- 200 Кбит.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
438 Для видеоматериала с быстрым движением или высокой детализацией
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
439 или просто если у Вас очень разборчивый глаз, Вы можете использовать
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
440 2400 или 2600.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
441 Для некоторых DVD Вы не заметите разницы на 1400 Кбит. Хорошей идеей
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
442 является экспериментирование со сценами на разных битпотоках, чтобы
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
443 почувствовать разницу.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
444 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
445
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
446 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
447 Если Вашей целью является определённый размер, Вам нужно как-нибудь
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
448 вычислить битпоток. Но перед этим, Вам нужно знать, сколько места
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
449 нужно зарезервировать по аудио дорожку(и), так что Вам необходимо
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
450 <link linkend="menc-feat-dvd-mpeg4-audio">извлечь их</link> сперва.
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
451 Вы можете рассчитать битпоток с помощью следующей формулы:
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
452 <systemitem>битпоток = (конечный_размер_в_МБайт - размер_звука_в_МБайт) *
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
453 1024 * 1024 / длительность_в_секундах * 8 / 1000</systemitem>.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
454 Например, для сжатия двухчасового фильма в 702 МБ CD, с 60 МБ
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
455 аудио дорожкой, битпоток видео должен составлять:
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
456 <systemitem>(702 - 60) * 1024 * 1024 / (120*60) * 8 / 1000
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
457 = 740 кбит/сек</systemitem>.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
458 </para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
459 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
460
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
461 <!-- ********** -->
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
462
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
463 <sect2 id="menc-feat-dvd-mpeg4-constraints">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
464 <title>Ограничения для эффективного кодирования</title>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
465
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
466 <para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
467 Из-за особенностей MPEG-подобного сжатия, существуют различные
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
468 ограничения, которым Вы должны следовать для достижения
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
469 максимального качества.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
470 MPEG разбивает видео на квадраты 16х16, называемые макроблоками.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
471 Каждый макроблок состоит из 4 блоков 8х8 с информацией о люме
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
472 (интенсивности) и двух блоков 8х8 с информацией о хроме (цвете)
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
473 половинного разрешения (один для красно-бирюзовой оси и другой
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
474 для жёлто-голубой оси).
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
475 Даже если ширина и высота Вашего фильма не кратны 16, кодер
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
476 всё равно использует нужное количество макроблоков 16х16 для покрытия
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
477 всей области картинки, дополнительная область будет впустую потрачена.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
478 Так что в интересах максимизации качества при фиксированном размере
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
479 файла, не стоит использовать размеры, не кратные 16.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
480 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
481
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
482 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
483 У большинства DVD также есть определённое подобие чёрных полос на
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
484 краях. Если Вы их оставите, это может
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
485 <emphasis role="bold">сильно</emphasis> повредить качество
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
486 несколькими путями.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
487 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
488
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
489 <orderedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
490 <listitem>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
491 <para>
21791
9bb94bee6ea0 r21791: avoid a possible confusion, as suggested by Wanderer
voroshil
parents: 21750
diff changeset
492 MPEG-подобное сжатие очень чувствительно к преобразованиям
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
493 частотных интервалов, в частности, к дискретному косинусному
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
494 преобразованию (DCT), которое аналогично преобразованию Фурье.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
495 Этот вид сжатия эффективен для представления образов и сглаженных
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
496 переходов, но у него возникают проблемы с острыми краями.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
497 Для кодирования последних Вам нужно гораздо больше битов, а иначе
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
498 у Вас появится артефакт, известный как ореолы.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
499 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
500
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
501 <para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
502 Частотные преобразования (DCT) выполняются независимо для каждого
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
503 макроблока (на самом деле, для каждого блока), так что эта проблема
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
504 возникает только в случае попадания острого края внутрь блока.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
505 Если Ваши чёрные поля возникают точно на границах, кратных 16
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
506 пикселям, это не проблема.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
507 Однако, чёрные полосы на DVD редко хорошо расположены, так что
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
508 на практике Вам всегда придётся усекать стороны для избежания
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
509 этих проблем.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
510 </para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
511 </listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
512 </orderedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
513
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
514 <para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
515 В дополнение к преобразованиям частотных интервалов, MPEG-подобное
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
516 сжатие использует векторы движения для отображения изменений от
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
517 одного кадра к другому. Векторы движения, естественно, работают
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
518 существенно менее эффективно для новых объектов, идущих от
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
519 краёв картинки, поскольку они отсутствуют в предыдущих кадрах.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
520 Пока картинка простирается вплоть до края кодируемой области,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
521 у векторов движения не возникает проблем с движением объектов
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
522 за пределы картинки. Однако, при наличии черных полей
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
523 могут возникнуть проблемы:
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
524 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
525
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
526 <orderedlist continuation="continues">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
527 <listitem>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
528 <para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
529 Для каждого макроблока MPEG-подобное сжатие сохраняет вектор,
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
530 определяющий какая часть предыдущего кадра должна быть скопирована
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
531 в этот макроблок как основа для предсказания следующего кадра.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
532 Кодированию подлежит только оставшаяся разность. Если макроблок
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
533 простирается до края картинки и содержит часть чёрной полосы,
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
534 то векторы движения других частей картинки перепишут чёрную полосу.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
535 Это означает, что много битов нужно потратить либо на повторное
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
536 чернение переписанной полосы, либо (что более вероятно) вектор
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
537 движения не будет использован вовсе и все изменения для этого
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
538 макроблока будут явно кодированы. Другими словами, эффективность
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
539 кодирования существенно уменьшается.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
540 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
541
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
542 <para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
543 Ещё раз, эта проблема возникает только в случае, если чёрные полосы
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
544 не укладываются в границы, кратные 16.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
545 </para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
546 </listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
547
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
548 <listitem>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
549 <para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
550 Наконец, предположим, что у нас есть находящийся внутри картинки
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
551 макроблок и объект движется в этот блок от края изображения.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
552 MPEG-подобное кодирование не может сказать "скопируй ту часть,
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
553 что внутри картинки, но не чёрную полосу". Так что чёрная полоса
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
554 также будет скопирована внутрь, в результате чего масса битов
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
555 будет потрачена на кодирование части изображения, которое должно
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
556 быть на месте полосы.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
557 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
558
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
559 <para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
560 Для случаев, когда всё изображение движется к краю кодируемой
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
561 области, у MPEG есть специальные оптимизации для многократного
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
562 копирования пикселей на край картинки, когда вектор движения
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
563 идёт извне области кодирования. Эта возможность становится
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
564 бесполезной, если у фильма есть чёрные полосы. В отличии от
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
565 случаев 1 и 2, выравнивание границ до кратности 16 здесь
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
566 не поможет.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
567 </para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
568 </listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
569
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
570 <listitem><para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
571 Несмотря на то, что границы полностью чёрные и никогда не изменяются,
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
572 существуют, как минимум, определённые накладные расходы, связанные
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
573 с наличием большего числа макроблоков.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
574 </para></listitem>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
575 </orderedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
576
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
577 <para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
578 Благодаря всем этим причинам, рекомендуется полностью урезать
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
579 чёрные полосы. Более того, если есть области шумов/искажений
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
580 на краях картинки, то их урезание также поспособствует улучшению
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
581 качества кодирования. Видеофилы, желающие сохранить оригинал как
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
582 можно более точно, могут возражать против такого усечения; но
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
583 если Вы не планируете кодировать при постоянном квантователе,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
584 качество, полученное при усечении, существенно превысит потери
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
585 информации на краях.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
586 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
587 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
588
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
589 <!-- ********** -->
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
590
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
591 <sect2 id="menc-feat-dvd-mpeg4-crop">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
592 <title>Усечение и масштабирование</title>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
593
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
594 <para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
595 Вспомните из предыдущего раздела, что конечный размер картинки,
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
596 подлежащей кодированию, должен быть кратен 16 (как высота, так
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
597 и ширина). Это может быть достигнуто усечением, масштабированием
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
598 или комбинацией того и другого.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
599 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
600
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
601 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
602 Есть несколько рекомендаций для усечения, которым необходимо следовать
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
603 для избежания повреждения фильма.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
604 Обычный формат YUV, 4:2:0, сохраняет хрому (информацию о цвете)
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
605 половинной дискретизации, т.е. хрома сохраняется в два раза реже
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
606 в каждом направлении, чем люма (информация об интенсивности).
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
607 Рассмотрите следующую диаграмму, где L обозначает точки дискретизации
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
608 люмы и C &mdash; хромы.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
609 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
610
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
611 <informaltable>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
612 <?dbhtml table-width="40%" ?>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
613 <?dbfo table-width="40%" ?>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
614 <tgroup cols="8" align="center">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
615 <colspec colnum="1" colname="col1"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
616 <colspec colnum="2" colname="col2"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
617 <colspec colnum="3" colname="col3"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
618 <colspec colnum="4" colname="col4"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
619 <colspec colnum="5" colname="col5"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
620 <colspec colnum="6" colname="col6"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
621 <colspec colnum="7" colname="col7"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
622 <colspec colnum="8" colname="col8"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
623 <spanspec spanname="spa1-2" namest="col1" nameend="col2"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
624 <spanspec spanname="spa3-4" namest="col3" nameend="col4"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
625 <spanspec spanname="spa5-6" namest="col5" nameend="col6"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
626 <spanspec spanname="spa7-8" namest="col7" nameend="col8"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
627 <tbody>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
628 <row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
629 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
630 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
631 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
632 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
633 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
634 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
635 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
636 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
637 </row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
638 <row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
639 <entry spanname="spa1-2">C</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
640 <entry spanname="spa3-4">C</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
641 <entry spanname="spa5-6">C</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
642 <entry spanname="spa7-8">C</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
643 </row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
644 <row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
645 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
646 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
647 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
648 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
649 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
650 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
651 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
652 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
653 </row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
654 <row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
655 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
656 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
657 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
658 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
659 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
660 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
661 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
662 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
663 </row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
664 <row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
665 <entry spanname="spa1-2">C</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
666 <entry spanname="spa3-4">C</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
667 <entry spanname="spa5-6">C</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
668 <entry spanname="spa7-8">C</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
669 </row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
670 <row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
671 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
672 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
673 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
674 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
675 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
676 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
677 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
678 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
679 </row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
680 </tbody>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
681 </tgroup>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
682 </informaltable>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
683
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
684 <para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
685 Как Вы видите, строки и столбцы изображения естественным образом
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
686 идут в парах. Поэтому смещения и размеры усечения
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
687 <emphasis>должны</emphasis> быть чётными числами.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
688 Иначе хрома перестанет правильно соответствовать люме.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
689 Теоретически возможно усечение с нечётными смещениями, но оно
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
690 потребует преобразования хромы, что потенциально является
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
691 операцией с потерей качества и не поддерживается фильтром
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
692 усечения сторон crop.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
693 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
694
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
695 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
696 Более того, видео с чересстрочной развёрткой дискретизируется
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
697 следующим образом:
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
698 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
699
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
700 <informaltable>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
701 <?dbhtml table-width="80%" ?>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
702 <?dbfo table-width="80%" ?>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
703 <tgroup cols="16" align="center">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
704 <colspec colnum="1" colname="col1"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
705 <colspec colnum="2" colname="col2"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
706 <colspec colnum="3" colname="col3"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
707 <colspec colnum="4" colname="col4"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
708 <colspec colnum="5" colname="col5"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
709 <colspec colnum="6" colname="col6"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
710 <colspec colnum="7" colname="col7"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
711 <colspec colnum="8" colname="col8"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
712 <colspec colnum="9" colname="col9"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
713 <colspec colnum="10" colname="col10"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
714 <colspec colnum="11" colname="col11"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
715 <colspec colnum="12" colname="col12"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
716 <colspec colnum="13" colname="col13"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
717 <colspec colnum="14" colname="col14"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
718 <colspec colnum="15" colname="col15"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
719 <colspec colnum="16" colname="col16"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
720 <spanspec spanname="spa1-2" namest="col1" nameend="col2"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
721 <spanspec spanname="spa3-4" namest="col3" nameend="col4"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
722 <spanspec spanname="spa5-6" namest="col5" nameend="col6"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
723 <spanspec spanname="spa7-8" namest="col7" nameend="col8"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
724 <spanspec spanname="spa9-10" namest="col9" nameend="col10"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
725 <spanspec spanname="spa11-12" namest="col11" nameend="col12"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
726 <spanspec spanname="spa13-14" namest="col13" nameend="col14"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
727 <spanspec spanname="spa15-16" namest="col15" nameend="col16"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
728 <tbody>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
729 <row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
730 <entry namest="col1" nameend="col8">Верхнее поле</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
731 <entry namest="col9" nameend="col16">Нижнее поле</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
732 </row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
733 <row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
734 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
735 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
736 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
737 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
738 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
739 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
740 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
741 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
742 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
743 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
744 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
745 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
746 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
747 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
748 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
749 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
750 </row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
751 <row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
752 <entry spanname="spa1-2">C</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
753 <entry spanname="spa3-4">C</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
754 <entry spanname="spa5-6">C</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
755 <entry spanname="spa7-8">C</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
756 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
757 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
758 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
759 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
760 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
761 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
762 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
763 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
764 </row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
765 <row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
766 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
767 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
768 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
769 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
770 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
771 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
772 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
773 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
774 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
775 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
776 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
777 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
778 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
779 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
780 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
781 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
782 </row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
783 <row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
784 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
785 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
786 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
787 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
788 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
789 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
790 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
791 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
792 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
793 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
794 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
795 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
796 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
797 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
798 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
799 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
800 </row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
801 <row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
802 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
803 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
804 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
805 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
806 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
807 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
808 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
809 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
810 <entry spanname="spa9-10">C</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
811 <entry spanname="spa11-12">C</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
812 <entry spanname="spa13-14">C</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
813 <entry spanname="spa15-16">C</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
814 </row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
815 <row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
816 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
817 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
818 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
819 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
820 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
821 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
822 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
823 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
824 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
825 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
826 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
827 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
828 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
829 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
830 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
831 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
832 </row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
833 <row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
834 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
835 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
836 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
837 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
838 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
839 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
840 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
841 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
842 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
843 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
844 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
845 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
846 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
847 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
848 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
849 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
850 </row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
851 <row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
852 <entry spanname="spa1-2">C</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
853 <entry spanname="spa3-4">C</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
854 <entry spanname="spa5-6">C</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
855 <entry spanname="spa7-8">C</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
856 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
857 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
858 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
859 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
860 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
861 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
862 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
863 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
864 </row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
865 <row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
866 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
867 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
868 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
869 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
870 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
871 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
872 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
873 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
874 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
875 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
876 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
877 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
878 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
879 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
880 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
881 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
882 </row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
883 <row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
884 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
885 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
886 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
887 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
888 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
889 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
890 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
891 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
892 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
893 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
894 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
895 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
896 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
897 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
898 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
899 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
900 </row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
901 <row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
902 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
903 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
904 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
905 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
906 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
907 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
908 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
909 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
910 <entry spanname="spa9-10">C</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
911 <entry spanname="spa11-12">C</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
912 <entry spanname="spa13-14">C</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
913 <entry spanname="spa15-16">C</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
914 </row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
915 <row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
916 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
917 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
918 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
919 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
920 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
921 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
922 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
923 <entry></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
924 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
925 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
926 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
927 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
928 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
929 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
930 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
931 <entry>L</entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
932 </row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
933 </tbody>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
934 </tgroup>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
935 </informaltable>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
936
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
937 <para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
938 Как Вы видите, структура повторяется только после 4 строк.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
939 Так что для чересстрочного видео Ваше y-смещение и высота
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
940 усечения должны быть кратны 4.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
941 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
942
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
943 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
944 Естественные разрешения DVD составляют 720x480 для NTSC и 720x576
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
945 для PAL, но существует флаг соотношения сторон, который указывает
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
946 является ли видео полноэкранным (4:3) или широкоэкранным (16:9).
21902
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
947 Многие (если не большинство) широкоэкранных DVD не точно соответствуют
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
948 формату 16:9 и могут быть как 1.85:1, так и 2.35:1 (кинематографический формат).
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
949 Это означает, что в видео будут чёрные полосы, которые нужно усечь.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
950 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
951
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
952 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
953 <application>MPlayer</application> предоставляет фильтр обнаружения
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
954 усечения, который определяет прямоугольник, до которго нужно усечь
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
955 (<option>-vf cropdetect</option>).
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
956 Запустите <application>MPlayer</application> с
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
957 <option>-vf cropdetect</option> и он выдаст настройки
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
958 усечения для удаления полей.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
959 С целью получения точных параметров усечения, Вы должны проигрывать
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
960 фильм достаточно долго для того, чтоб была использована вся область
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
961 изображения.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
962 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
963
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
964 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
965 Затем проверьте значения, полученные с помощью
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
966 <application>MPlayer</application>, используя командную строку,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
967 выведенную <option>cropdetect</option>, и подстройте прямоугольник
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
968 при необходимости.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
969 Фильтр <option>rectangle</option> может быть полезен, позволив
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
970 Вам интерактивно менять прямоугольник усечения для Вашего фильма.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
971 Не забывайте следовать указанным выше руководствам по делимости,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
972 чтобы не испортить выравнивание хромы.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
973 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
974
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
975 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
976 В ряде случаев масштабирование может быть нежелательным.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
977 Масштабирование по вертикальному направлению затруднено для
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
978 чересстрочного видео, и если Вы хотите сохранить чересстрочность,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
979 Вам в большинстве случаев будет необходимо воздерживаться от
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
980 масштабирования.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
981 Если Вы не будете масштабировать, но всё ещё желаете размеры,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
982 кратные 16, то Вам придётся проводить излишнее усечение.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
983 Не проводите неполное усечение, поскольку чёрные полосы очень
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
984 плохи для кодирования!
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
985 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
986
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
987 <para>
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
988 Поскольку MPEG-4 использует макроблоки 16х16, Вы должны убедиться,
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
989 что каждое измерение кодируемого видео кратно 16; иначе Вы ухудшите
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
990 качество, особенно на малых битпотоках. Вы можете сделать это,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
991 округлив ширину и высоту прямоугольника усечения до ближайшего
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
992 меньшего целого, кратного 16.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
993 Учитывая установленное ранее, при усечении Вы можете захотеть увеличить
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
994 смещение по Y на половину разности старой и новой высоты, так что
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
995 полученное видео будет браться из центра кадра.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
996
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
997 И из-за способа дискретизации DVD видео, убедитесь, что смещение
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
998 есть чётное число. (Фактически, возьмите за правило никогда не
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
999 использовать нечётные величины для любых параметров усечения или
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1000 масштабирования видео.) Если Вы беспокоитесь из-за нескольких
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1001 излишне отброшенных битов, возможно, Вы предпочтёте взамен
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
1002 масштабировать видео. Мы рассмотрим это ниже в нашем примере.
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
1003
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1004 В действительности, Вы можете доверить фильтру
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1005 <option>cropdetect</option> сделать для Вас всё вышеупомянутое,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1006 т.к. у него есть необязательный параметр округления
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1007 <option>round</option>, равный 16 по умолчанию.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1008 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1009
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1010 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1011 Также будьте осторожны с "полутёмными" пикселями на краях. Убедитесь,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1012 что они тоже отрезаются, иначе Вы будете тратить биты, которым есть
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1013 лучшее применение.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1014 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1015
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1016 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1017 После всего выше сказанного и сделанного, Вы, вероятно, получите
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1018 видео не точно формата 1:85.1 или 2.35:1, а с чем-то близким
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1019 к этому. Вы можете вычислить новый коэффициент соотношения
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1020 сторон вручную, но <application>MEncoder</application>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1021 предоставляет опцию для <systemitem class="library">libavcodec</systemitem>,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1022 называемую <option>autoaspect</option>, которая сделает это для
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1023 Вас. Ни в коем случае не увеличивайте размер этого видео с целью
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1024 квадратизации пикселей, если Вы не желаете впустую потратить
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1025 место на жёстком диске.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1026 Масштабирование должно выполняться при воспроизведении, и плеер
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1027 использует коэффициент соотношения сторон, сохранённый в AVI, для
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1028 определения правильного разрешения.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1029 К сожалению, не все плееры используют эту информацию автомасштабирования,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1030 поэтому Вам всё ещё может быть необходимо перемасштабирование.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1031 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1032 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1033
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1034 <!-- ********** -->
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1035
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1036 <sect2 id="menc-feat-dvd-mpeg4-resolution-bitrate">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1037 <title>Выбор разрешения и битпотока</title>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1038
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1039 <para>
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
1040 Если Вы не собираетесь кодировать в режиме постоянного квантователя,
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1041 Вам нужно выбрать битпоток.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1042 Понятие битпотока очень просто: это среднее число битов, которые
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1043 будут использованы для сохранения Вашего фильма, в секунду.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1044 Обычно битпоток измеряется в килобитах (1000 бит) в секунду.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1045 Размер Вашего фильма на диске есть битпоток, умноженный на
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1046 длительность фильма, плюс небольшие накладные расходы
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1047 (см. раздел
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1048 <link linkend="menc-feat-dvd-mpeg4-muxing-avi-limitations">контейнер AVI</link>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1049 для примера).
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1050 Остальные параметры, такие как масштабирование, усечение и т.п.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1051 <emphasis role="bold">не</emphasis> изменят размер файла, пока
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1052 Вы также не измените битпоток!
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1053 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1054
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1055 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1056 Битпоток изменяется <emphasis role="bold">не</emphasis>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1057 пропорционально разрешению.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1058 То есть файл разрешением 320х240 с 200 кбит/сек не будет
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1059 того же качества, что этот же фильм разрешением 640х480
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1060 и 800 кбит/сек!
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1061 Для этого есть две причины:
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1062 <orderedlist>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1063 <listitem><para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1064 <emphasis role="bold">Восприятие</emphasis>: Вы сильнее
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1065 замечаете MPEG артефакты, если они больше!
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1066 Артефакты возникают на масштабе блоков (8х8).
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1067 Ваш глаз не увидит ошибки в 4800 маленьких блоков так же
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1068 легко, как и в 1200 больших блоков (предполагая
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1069 масштабирование обоих фильмов на полный экран).
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1070 </para></listitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1071 <listitem><para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1072 <emphasis role="bold">Теоретическая</emphasis>: Когда Вы
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1073 уменьшаете размер изображения, но продолжаете использовать
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1074 блоки того же размера (8х8) для пространственных частотных
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1075 преобразований, Вы перемещаете больше данных в высокочастотные
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1076 полосы. Грубо говоря, каждый пиксель содержит больше деталей,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1077 чем раньше.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
1078 Так что несмотря на то, что Ваша картинка с уменьшенным
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1079 масштабом содержит 1/4 информации в пространственных направлениях,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1080 она всё ещё может содержать большУю часть информации в
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1081 частотных интервалах (предполагая, что высокие частоты были
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1082 не использованы в оригинальном 640х480 изображении).
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1083 </para></listitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1084 </orderedlist>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1085 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1086
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1087 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1088 Последние руководства рекомендовали выбор битпотока и разрешения,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1089 основываясь на приближении "бит на пиксель", но это обычно не
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1090 верно из-за упомянутых выше причин.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1091 Похоже, лучшей оценкой является рост битпотока пропорционально
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1092 квадратному корню разрешения, так что 320х240 и 400 кбит/сек
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1093 должно быть сравнимо с 640х480 и 800 кбит/сек.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1094 Однако, это не было строго проверено теоретически или эмпирически.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1095 Кроме того, из-за существенного отличия фильмов по уровню шума,
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
1096 деталей, количества движения и т.п., тщетно давать общие рекомендации
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1097 для "битов на длину диагонали" (аналог битов на пиксель, используя
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1098 квадратный корень).
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1099 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1100
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1101 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1102 Таким образом, мы обсудили сложность выбора битпотока и разрешения.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1103 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1104
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1105
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1106 <sect3 id="menc-feat-dvd-mpeg4-resolution-bitrate-compute">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1107 <title>Расчёт разрешения</title>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1108
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1109 <para>
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
1110 Следующие шаги помогут Вам рассчитать разрешение для Вашего
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1111 кодирования без слишком сильного искажения видео, учитывая
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
1112 несколько видов информации об исходном видео.
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
1113 Прежде всего, Вам необходимо рассчитать коэффициент соотношения
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1114 сторон для кодированного видео:
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1115 <systemitem>ARc = (Wc x (ARa / PRdvd )) / Hc</systemitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1116
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1117 <itemizedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1118 <title>где:</title>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1119 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1120 Wc и Hc &mdash; ширина и высота усечённого видео,
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1121 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1122 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1123 ARa &mdash; коэффициент соотношения сторон изображения, обычно 4/3 или 16/9,
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1124 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1125 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1126 PRdvd &mdash; отношение пикселей DVD, что равно 1.25=(720/576) для PAL
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1127 DVD и 1.5=(720/480) для NTSC DVD.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1128 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1129 </itemizedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1130 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1131
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1132 <para>
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
1133 Затем Вы можете рассчитать разрешение по X и Y, согласно определённому
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1134 фактору качества сжатия (CQ):
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1135 <systemitem>ResY = INT(SQRT( 1000*Битпоток/25/ARc/CQ )/16) * 16</systemitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1136 и <systemitem>ResX = INT( ResY * ARc / 16) * 16</systemitem>.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1137 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1138
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1139 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1140 Хорошо, но что такое CQ?
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
1141 CQ соответствует числу битов на пиксель и на кадр для кодирования.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1142 Грубо говоря, чем больше CQ, тем меньше вероятность увидеть
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1143 артефакты кодирования.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1144 Однако, если у Вас есть заданный размер для Вашего фильма
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1145 (например, 1 или 2 CD), есть ограниченное общее число битов,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1146 которые Вы можете потратить; поэтому важно найти хороший
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1147 компромисс между сжимаемостью и качеством.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1148 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1149
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1150 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1151 CQ зависит от битпотока, эффективности видеокодека и разрешения фильма.
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
1152 Обычно, в целях увеличения CQ, Вам нужно будет уменьшить размер
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
1153 фильма, при условии, что битпоток, вычисленный как функция конечного
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
1154 размера, и длина фильма постоянны.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1155 С MPEG-4 ASP кодеками, такими как <systemitem class="library">Xvid</systemitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1156 и <systemitem class="library">libavcodec</systemitem>, CQ
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1157 меньше 0.18 обычно приводит к изображению с большим числом
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1158 сегментов "квадратиками", из-за недостаточного числа битов для
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1159 кодирования информации в каждом макроблоке.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1160 (MPEG4, как и многие другие кодеки, группирует пиксели в блоки по
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1161 несколько пикселей для сжатия изображения; если битов не хватает,
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
1162 границы этих блоков заметны.)
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1163 Следовательно, благоразумно выбрать CQ в диапазоне от 0.20 до 0.22
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1164 для рипа на 1 CD и 0.26-0.28 для рипа на 2 CD при использовании
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1165 стандартных опций кодирования.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1166 Более продвинутые опции кодирования, такие как указанные для
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1167 <link linkend="menc-feat-mpeg4-lavc-example-settings"><systemitem class="library">libavcodec</systemitem></link>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1168 и
20879
8c029c5b800a r20876: rename: XviD -> Xvid
voroshil
parents: 20725
diff changeset
1169 <link linkend="menc-feat-xvid-example-settings"><systemitem class="library">Xvid</systemitem></link>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1170 должны сделать возможным получение того же качества с CQ в диапазоне
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1171 от 0.18 до 0.20 для рипа на 1 CD и 0.24-0.26 для рипа на 2 CD.
21791
9bb94bee6ea0 r21791: avoid a possible confusion, as suggested by Wanderer
voroshil
parents: 21750
diff changeset
1172 Используя MPEG-4 AVC кодеки, такие как
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1173 <systemitem class="library">x264</systemitem>, Вы можете использовать
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1174 CQ в диапазоне от 0.14 до 0.16 со стандартными опциями кодирования
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
1175 и должны суметь достичь таких низких значений, как 0.10 - 0.12
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1176 с помощью
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1177 <link linkend="menc-feat-x264-example-settings">продвинутых опций кодирования <systemitem class="library">x264</systemitem></link>.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1178 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1179
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1180 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1181 Пожалуйста, обратите внимание, что CQ &mdash; лишь показательная величина,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1182 т.к. она зависит от кодируемого содержимого; CQ 0.18 может хорошо
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1183 смотреться для Бергмана (Bergman), в отличии от такого фильма как
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1184 Матрица (The Matrix), содержащего много сцен с быстрым движением.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1185 С другой стороны, бесполезно увеличивать CQ выше 0.30, т.к. Вы
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1186 будете тратить биты без заметного увеличения качества.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1187 Так же обратите внимание, что, как было указано выше в данном
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1188 руководстве, фильмам с низким разрешением (например, по сравнению с DVD)
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1189 необходим более высокий CQ для того, чтоб они выглядели хорошо.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1190 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1191 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1192 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1193
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1194 <!-- ********** -->
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1195
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1196 <sect2 id="menc-feat-dvd-mpeg4-filtering">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1197 <title>Фильтрация</title>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1198
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1199 <para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1200 Изучение использования видео фильтров <application>MEncoder</application>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1201 важно для получения хороших результатов кодирования.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1202 Вся обработка видео выполняется посредством фильтров: усечение,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1203 масштабирование, подстройка цвета, удаление шума, увеличение
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1204 чёткости, деинтерлейс (преобразование видео из чересстрочной
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1205 развёртки в построчную), телесин, обратный телесин и удаление
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1206 блочной сегментации &mdash; и это лишь некоторые из них.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1207 Вместе с огромным количеством поддерживаемых входных форматов,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1208 разнообразие фильтров, доступных в <application>MEncoder</application>,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1209 является одним из его основных достоинств над другими аналогичными
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1210 программами.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1211 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1212
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1213 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
1214 Фильтры загружаются в цепочку с помощью опции -vf:
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1215
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1216 <screen>-vf фильтр1=опции,фильтр2=опции,...</screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1217
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1218 Большинство фильтров используют численные значения опций,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1219 разделённые двоеточиями, но синтаксис этих параметров различается
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1220 у разных фильтров, так что читайте мануал для детальной
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1221 информации о фильтрах, которые Вы желаете использовать.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1222 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1223
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1224 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1225 Фильтры действуют на видео в порядке их загрузки.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1226 Например, следующая цепочка:
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1227
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1228 <screen>-vf crop=688:464:12:4,scale=640:464</screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1229
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1230 сперва усечёт область изображения до 688х464 с верхним левым
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1231 углом (12,4), а затем масштабирует результат до 640х464.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1232 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1233
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1234 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1235 Некоторые фильтры нужно загружать в начале цепочки фильтров (или
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1236 рядом с ним) с целью получения преимущества от использования
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1237 информации после видеодекодера, которая будет потеряна или
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1238 искажена другими фильтрами.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1239 Важнейшими примерами являются: <option>pp</option> (постобработка,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1240 только при выполнении операций удаления блочной сегментации
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1241 (deblocking) или увеличения чёткости краёв (deringing)),
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1242 <option>spp</option> (другой фильтр постобработки, служащий для
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1243 удаления артефактов MPEG), <option>pullup</option> (обратный
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1244 телесин), и <option>softpulldown</option> (для преобразования
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1245 мягкого телесина в жёсткий).
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1246 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1247
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1248 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1249 В общем случае, Вам следует делать настолько мало фильтрации,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1250 насколько это возможно, для того чтоб остаться близко к оригинальному
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1251 DVD источнику. Усечение часто необходимо (как описано выше), но
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1252 избегайте масштабирования видео. Несмотря на то, что уменьшение
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
1253 размера иногда предпочтительно использованию бОльших
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1254 квантователей, нужно избегать и того, и другого: помните,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1255 что мы с самого начала решили обменять биты на качество.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1256 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1257
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1258 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1259 Также не корректируйте гамму, контрастность, яркость и т.п.. То,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1260 что хорошо выглядит на Вашем мониторе, может плохо выглядеть
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
1261 на других. Эти коррекции должны выполняться только при
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
1262 воспроизведении.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1263 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1264
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1265 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1266 Однако, есть одна вещь, которую Вы, быть может, захотите сделать &mdash;
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1267 это пропустить видео через очень слабый фильтр удаления шумов,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1268 такой как <option>-vf hqdn3d=2:1:2</option>.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1269 Ещё раз, причиной этому является то, что этим битам можно найти
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1270 лучшее применение: зачем тратить их, кодируя шум, если Вы просто
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1271 можете вернуть этот шум в процессе воспроизведения?
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1272 Увеличение параметров для <option>hqdn3d</option> дополнительно
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1273 улучшит сжимаемость, но увеличив значения слишком сильно, Вы рискуете
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1274 ухудшить различимость изображения.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1275 Рекомендованные выше значения (<option>2:1:2</option>) слегка
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1276 консервативны; не бойтесь экспериментировать с более высокими
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1277 значениями и самостоятельно оценивать результаты.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1278 </para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1279 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1280
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1281 <!-- ********** -->
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1282
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1283 <sect2 id="menc-feat-dvd-mpeg4-interlacing">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1284 <title>Чересстрочная развёртка и телесин</title>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1285
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1286 <para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1287 Почти все фильмы снимаются при 24 fps [кадр/сек]. Поскольку
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
1288 в NTSC используется 30000/1001 fps, нужно выполнить некоторую
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1289 обработку для такого 24 fps видео, чтобы оно корректно
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1290 воспроизводилось при кадровой частоте NTSC. Этот процесс называется
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1291 3:2 пулдаун, обычно называемый телесин (поскольку пулдаун часто
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1292 применяется в процессе показа телевизионного фильма, англ. telecine);
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1293 и в упрощенном описании это работает путём замедления фильма до
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1294 24000/1001 fps и повтора каждого четвёртого кадра.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1295 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1296
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1297 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1298 Однако, никакой специальной обработки не выполняется для видео
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1299 на PAL DVD, которое воспроизводится при 25 fps. (Технически PAL
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
1300 может быть подверженным телесину, называемому 2:2 пулдаун, но на
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1301 практике это не применяется).
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1302 24 fps фильм просто проигрывается на 25 fps. В результате фильм
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1303 воспроизводится слегка быстрее, но если Вы не пришелец, то,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1304 вероятно, не заметите разницы.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
1305 У большинства PAL DVD аудио скорректировано по высоте звука так,
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
1306 что, воспроизводясь при 25 fps, оно звучит нормально, несмотря на
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
1307 то, что аудиодорожка (и, следовательно, весь фильм) проигрываются
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
1308 на 4% быстрее, чем NTSC DVD.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1309 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1310
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1311 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1312 Поскольку видео на PAL DVD не переделывается, Вам не стоит
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1313 беспокоится о частоте кадров. У источника 25 fps и у Вашего
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1314 рипа будет 25 fps. Однако, если Вы делаете рип NTSC DVD фильма,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1315 Вам, быть может, придётся выполнить обратный телесин.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1316 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1317
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1318 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1319 Для фильмов, снятых на 24 fps, видео на NTSC DVD идёт либо с телесином
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1320 30000/1001, либо с построчной развёрткой 24000/1001 fps и
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1321 предназначается для телесина на лету с помощью DVD плеера.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1322 С другой стороны, TV сериалы идут обычно только с чересстрочной развёрткой,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1323 но без телесина. Это не строгое правило: есть сериалы с
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1324 чересстрочной развёрткой (например, Баффи, Убийца Вампиров
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1325 [Buffy the Vampire Slayer]), в то время как другие представляют
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1326 собой смесь построчной и чересстрочной развёртки (такие как
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1327 Ангел [Angel] или 24).
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1328 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1329
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1330 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1331 Настоятельно рекомендуется прочитать раздел о
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1332 <link linkend="menc-feat-telecine">работе с телесином и чересстрочной развёрткой в NTSC DVD</link>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1333 для изучения способов обработки в разных ситуациях.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1334 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1335
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1336 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1337 Однако, если Вы преимущественно делаете рипы фильмов, Вы, скорее
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1338 всего, имеете дело с 24 fps видео либо с построчной развёрткой,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1339 либо с подвергнутым телесину; в последнем случае Вы можете использовать
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1340 <option>pullup</option> фильтр: <option>-vf
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1341 pullup,softskip</option>.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1342 </para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1343 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1344
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1345 <!-- ********** -->
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1346
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1347 <sect2 id="menc-feat-dvd-mpeg4-encoding-interlaced">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1348 <title>Кодирование чересстрочного видео</title>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1349
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1350 <para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1351 Если Вы желаете кодировать фильм с чересстрочной развёрткой
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1352 (NTSC или PAL видео), Вам нужно решить, будете ли Вы его
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1353 преобразовывать в построчную развёртку или нет.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1354 Хотя такое преобразование (деинтерлейс) сделает Ваш фильм
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1355 пригодным для дисплеев с построчной развёрткой, таких как
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1356 компьютерные мониторы и проекторы, это будет иметь свою цену:
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1357 частота полей уменьшится вдвое от 50 или 60000/1001 до 25 или
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1358 30000/1001 поля в секунду, и примерно половина информации в
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1359 Вашем фильме будет потеряна в сценах со значительным движением.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1360 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1361
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1362 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1363 Поэтому, если Вы кодируете для высококачественных архивных целей,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1364 не рекомендуется делать деинтерлейс. Вы всегда можете преобразовать
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1365 развёртку фильма в процессе воспроизведения (при воспроизведении
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1366 на устройствах с построчной развёрткой).
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1367 Мощность современных компьютеров вынуждает плееры использовать
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1368 фильтр деинтерлейса, что слегка ухудшает качество изображения.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1369 Но плееры будущего будут способны имитировать дисплей TV с
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1370 чересстрочной развёрткой, выполняя деинтерлейс на полной частоте
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1371 полей и интерполируя 50 или 60000/1001 кадров в секунду для
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1372 чересстрочного видео.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1373 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1374
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1375 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1376 С чересстрочным видео нужно работать особым образом:
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1377 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1378
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1379 <orderedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1380 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1381 Высота усечения и смещение по оси y должны быть кратны 4.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1382 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1383 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1384 Любое вертикальное масштабирование должно выполняться в режиме
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1385 чересстрочной развёртки.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1386 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1387 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1388 Фильтры постобработки и удаления шума могут не работать как
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1389 ожидается, только если Вы особо не позаботитесь об их
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
1390 применении к одному полю за раз, иначе они могут
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1391 повредить видео при неверном использовании.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1392 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1393 </orderedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1394
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1395 <para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1396 Учитывая вышесказанное, вот наш первый пример:
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1397 <screen>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1398 mencoder <replaceable>захват.avi</replaceable> -mc 0 -oac lavc -ovc lavc -lavcopts \
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1399 vcodec=mpeg2video:vbitrate=6000:ilme:ildct:acodec=mp2:abitrate=224
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1400 </screen>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1401 Обратите внимание на опции <option>ilme</option> и <option>ildct</option>.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1402 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1403 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1404
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1405 <!-- ********** -->
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1406
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1407 <sect2 id="menc-feat-dvd-mpeg4-av-sync">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1408 <title>Замечания об аудио/видео синхронизации</title>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1409
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1410 <para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1411 Алгоритмы аудио/видео (A/V) синхронизации <application>MEncoder</application>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1412 были разработаны с целью восстановления файлов с повреждённой
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1413 синхронизацией.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1414 Однако, в ряде случаев они могут привести к ненужному пропуску
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
1415 или повторению кадров и, возможно, к лёгкой A/V рассинхронизации
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1416 корректных входных данных (конечно, проблемы A/V синхронизации
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1417 возникают только при обработке или копировании аудиотрека при
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1418 кодировании видео, что настоятельно рекомендуется).
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1419 Поэтому Вы можете переключиться на базовую A/V синхронизацию
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1420 с помощью опции <option>-mc 0</option> или разместить это в
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1421 конфигурационном файле <systemitem>~/.mplayer/mencoder</systemitem>,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1422 если Вы работаете только с хорошими источниками (DVD, TV-захват,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1423 высококачественные MPEG-4 рипы и т.п.), а не с повреждёнными
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1424 файлами ASF/RM/MOV.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1425 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1426
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1427 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1428 Если Вы хотите дополнительно защититься от странных пропусков
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
1429 и повторений кадров, Вы можете одновременно использовать опции
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1430 <option>-mc 0</option> и <option>-noskip</option>.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1431 Это предотвратит <emphasis>любую</emphasis> A/V коррекцию, и
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1432 будет копировать кадры один в один, так что Вы не сможете это
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1433 использовать, если будете применять какие-либо фильтры, которые
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1434 непредсказуемо добавляют или отбрасывают кадры, либо если у
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1435 Вашего входного файла переменный битопоток!
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1436 Поэтому использование <option>-noskip</option> в общем случае не
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1437 рекомендуется.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1438 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1439
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1440 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1441 Сообщалось о том, что так называемое трёхпроходное аудиокодирование,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1442 поддерживаемое <application>MEncoder</application>, вызывало
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
1443 A/V рассинхронизацию.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1444 Это наверняка произойдёт при использовании совместно с некоторыми
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1445 фильтрами, поэтому сейчас <emphasis>не</emphasis> рекомендуется
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1446 использовать трёхпроходный аудио режим.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1447 Эта возможность оставлена только для совместимости и для опытных
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1448 пользователей, понимающих когда это безопасно, а когда нет.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1449 Если Вы ранее никогда не слышали о трёхпроходном режиме, забудьте
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1450 даже о том, что мы его упоминали!
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1451 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1452
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1453 <para>
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
1454 Также были сообщения об A/V рассинхронизации при кодировании
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1455 со стандартного ввода (stdin) с помощью <application>MEncoder</application>.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1456 Не делайте этого! Всегда взамен используйте файл или CD/DVD и т.п.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1457 устройство.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1458 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1459 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1460
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1461 <!-- ********** -->
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1462
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1463 <sect2 id="menc-feat-dvd-mpeg4-codec">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1464 <title>Выбор видеокодека</title>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1465
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1466 <para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1467 То, какой видеокодек лучше выбрать, зависит от нескольких
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1468 факторов, таких как размер, качество, устойчивость к ошибкам,
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
1469 практичность и распространённость, многие из которых сильно
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1470 зависят от личных предпочтений и технических ограничений.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1471 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1472 <itemizedlist>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1473 <listitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1474 <para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1475 <emphasis role="bold">Эффективность сжатия</emphasis>:
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1476 Достаточно очевидно, что большинство кодеков нового поколения
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1477 разработаны для увеличения качества и степени сжатия.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1478 Поэтому, авторы данного руководства и многие другие люди полагают,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1479 что Вы не можете ошибиться
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1480 <footnote id='fn-menc-feat-dvd-mpeg4-codec-cpu'><para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1481 Несмотря на это, будьте осторожны: для декодирования MPEG-4 AVC
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1482 видео с DVD разрешением необходима быстрая машина (например,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1483 Pentium 4 свыше 1.5 ГГц или Pentium M свыше 1 ГГц).
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1484 </para></footnote>,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1485 выбирая MPEG-4 AVC кодеки (например,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1486 <systemitem class="library">x264</systemitem>)
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1487 вместо таких MPEG-4 ASP кодеков, как
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1488 <systemitem class="library">libavcodec</systemitem> MPEG-4 или
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1489 <systemitem class="library">Xvid</systemitem>.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1490 (Опытные разработчики кодеков могут быть заинтересованы в
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
1491 ознакомлении с точкой зрения Михаэля Нидермайера (Michael
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1492 Niedermayer)
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1493 "<ulink url="http://guru.multimedia.cx/?p=10">почему MPEG4-ASP отстой</ulink>".)
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1494 Аналогично, Вы должны получить лучшее качество с MPEG-4 ASP, по
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1495 сравнению с MPEG-2 кодеками.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1496 </para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1497
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1498 <para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1499 Однако, новые кодеки, находящиеся в интенсивной разработке,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1500 могут страдать от ещё не замеченных ошибок, которые могут
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1501 испортить кодирование. Просто это плата за использование
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1502 передовых технологий.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1503 </para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1504
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1505 <para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1506 Более существенно то, что для начала использования нового кодека
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1507 необходимо потратить время на изучение его опций так, чтобы Вы
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1508 знали, что нужно подстраивать для достижения заданного качества
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1509 изображения.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1510 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1511 </listitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1512
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1513 <listitem><para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1514 <emphasis role="bold">Аппаратная совместимость</emphasis>:
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1515 Обычно необходимо длительное время для включения поддержки
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1516 последних видеокодеков в автономные видеоплееры.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1517 В итоге, большинство поддерживает только MPEG-1 (наподобие
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1518 VCD, XVCD и KVCD), MPEG-2 (например, DVD, SVCD и KVCD) и MPEG-4
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1519 ASP (например, DivX,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1520 <systemitem class="library">libavcodec</systemitem> LMP4 и
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1521 <systemitem class="library">Xvid</systemitem>)
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1522 (Осторожно: обычно поддерживаются не все возможности MPEG-4 ASP).
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1523 Пожалуйста, обратитесь к технической спецификации Вашего плеера
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1524 (если она доступна) или к гугл (google) для детальной информации.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1525 </para></listitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1526
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1527 <listitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1528 <para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1529 <emphasis role="bold">Лучшее соотношение качества и времени кодирования</emphasis>:
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1530 Кодеки, уже использующиеся определённое время (например,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1531 <systemitem class="library">libavcodec</systemitem> MPEG-4 и
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1532 <systemitem class="library">Xvid</systemitem>) обычно сильно
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1533 оптимизированы всевозможными остроумными алгоритмами и
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1534 ассемблерным SIMD кодом. Поэтому они обладают тенденцией
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1535 достижения лучшего соотношения качества к времени кодирования.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1536 Однако, у них могут быть некоторые очень продвинутые опции,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1537 которые, будучи включенными, сделают кодирование очень медленным
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1538 ради несущественного выигрыша.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1539 </para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1540
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1541 <para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1542 Если Вам нужна высокая скорость, примерно придерживайтесь настроек
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1543 видеокодека по умолчанию (хотя Вам стоит попробовать другие опции,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1544 упоминаемые в иных разделах данного руководства).
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1545 </para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1546
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1547 <para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1548 Вы так же можете рассмотреть вариант использования многопоточного
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1549 кодека, хотя это полезно только для пользователей машин с
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1550 несколькими процессорами.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1551 <systemitem class="library">libavcodec</systemitem> MPEG-4 позволяет
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1552 это, но выигрыш в скорости ограничен и есть небольшой отрицательный
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1553 эффект для качества картинки.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1554 Многопоточное кодирование <systemitem class="library">Xvid</systemitem>,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1555 включаемое опцией <option>threads</option>, может использоваться для
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1556 ускорения кодирования (на примерно 40-60% в типичных случаях)
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1557 с небольшим ухудшением картинки или вообще без него.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1558 <systemitem class="library">x264</systemitem> также позволяет
21940
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
1559 многопоточное кодирование, что обычно ускоряет процесс на 94%
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
1560 для каждого CPU ядра с уменьшением PSNR от 0.005 дБ до 0.01 дБ при типичных
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
1561 настройках.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1562 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1563 </listitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1564
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1565 <listitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1566 <para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1567 <emphasis role="bold">Личные предпочтения</emphasis>:
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1568 Здесь всё становится почти неразумным: из-за тех же причин, по
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1569 которым одни придерживаются DivX&nbsp;3 в течении лет, в то время
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1570 как новые кодеки уже творят чудеса, другие люди предпочитают
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1571 <systemitem class="library">Xvid</systemitem> или
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1572 <systemitem class="library">libavcodec</systemitem> MPEG-4
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
1573 использованию <systemitem class="library">x264</systemitem>.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1574 </para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1575
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1576 <para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1577 Вам нужно принимать решение самостоятельно; не слушайте советов
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1578 людей, признающих только один кодек.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1579 Сделайте несколько образцов клипов из искомых источников и
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1580 сравните разные опции кодирования и кодеки, с целью выбора
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1581 того, что Вам наиболее подходит.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1582 Лучший кодек &mdash; это тот, которым Вы сами овладели, и
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1583 который выглядит лучше всего для Ваших глаз на Вашем дисплее
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1584 <footnote id='fn-menc-feat-dvd-mpeg4-codec-playback'><para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1585 Один и тот же результат кодирования может не выглядеть таким же
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1586 на чьём-либо другом мониторе или при воспроизведении с помощью
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1587 другого декодера, так что проверяйте Ваши результаты кодирования
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1588 на жизнеспособность, воспроизводя их в разных начальных условиях.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1589 </para></footnote>!
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1590 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1591 </listitem>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1592 </itemizedlist>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1593
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1594 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1595 Пожалуйста, обратитесь к разделу
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1596 <link linkend="menc-feat-selecting-codec">выбор кодеков и форматов контейнера</link>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1597 для получения списка поддерживаемых кодеков.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1598 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1599 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1600
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1601 <!-- ********** -->
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1602
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1603 <sect2 id="menc-feat-dvd-mpeg4-audio">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1604 <title>Аудио</title>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1605
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1606 <para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1607 Аудио &mdash; это гораздо более простая проблема: если Вы
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1608 беспокоитесь о качестве, просто оставьте всё как есть.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1609 Даже потоки AC3 5.1 не более чем 448 Кбит/с и они стоят каждого
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1610 бита. Вы можете соблазниться перекодированием аудио в
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1611 высококачественный Vorbis (он же ogg формат), но лишь то, что
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1612 у Вас сегодня нет A/V приёмника для пропускания AC3, не означает,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1613 что у Вас не будет его завтра. Для жизнеспособности Ваших DVD
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1614 рипов в будущем, сохраняйте поток AC3.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1615 Вы можете сохранить поток AC3, копируя его непосредственно в
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1616 видеопоток <link linkend="menc-feat-mpeg4">в процессе кодирования</link>.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1617 Вы также можете извлечь AC3 поток с целью мультиплексирования его
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1618 в контейнеры наподобие NUT или Matroska (Матрёшка).
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1619 <screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1620 mplayer <replaceable>файл_источника.vob</replaceable> -aid 129 -dumpaudio -dumpfile <replaceable>звук.ac3</replaceable></screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1621 сохранит в файл <replaceable>звук.ac3</replaceable> аудиодорожку
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1622 с номером 129 из файла
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1623 <replaceable>файл_источника.vob</replaceable> (Обратите внимание:
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
1624 DVD VOB файлы обычно используют нумерацию аудио, отличную от
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1625 стандартной, что означает, что аудиодорожка VOB 129 &mdash; это вторая
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1626 аудиодорожка файла).
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1627 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1628
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1629 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1630 Но иногда у Вас действительно нет иного выбора, чем далее сжимать
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1631 звук для того, чтоб больше битов могло быть потрачено на видео.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1632 Большинство людей предпочитают сжимать звук с помощью MP3 или
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1633 Vorbis аудиокодеков.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1634 Последний является очень эффективным, но MP3 лучше поддерживается
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1635 аппаратными плеерами, хотя эта тенденция меняется.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1636 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1637
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1638 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1639 <emphasis>Не</emphasis> используйте <option>-nosound</option> при
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
1640 кодировании файла с аудио, даже если позже Вы будете отдельно
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
1641 кодировать и мультеплексировать аудио.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1642 Хотя это может работать в идеальных случаях, использование
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1643 <option>-nosound</option> обычно скрывает ряд проблем в Ваших
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1644 настройках кодирования в командной строке.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1645 Другими словами, наличие звуковой дорожки в процессе кодирования
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1646 гарантирует Вам, что в случае отсутствия сообщений, подобных
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1647 <quote>Слишком много аудиопакетов в буфере</quote>, у Вас будет
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1648 получена правильная синхронизация.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1649 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1650
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1651 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
1652 Вам необходимо обработать звук с помощью
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
1653 <application>MEncoder</application>.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1654 Например, Вы можете копировать исходную звуковую дорожку в
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1655 процессе кодирования с помощью <option>-oac copy</option> или
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1656 преобразовать её в "лёгкий" 4 кГц моно WAV PCM с помощью
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1657 <option>-oac pcm -channels 1 -srate 4000</option>.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1658 Иначе, в ряде случаев, будет создаваться видео файл,
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
1659 рассинхронизированный с аудио.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1660 Такие случаи происходят, когда число кадров видео исходного файла
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1661 не совпадает с полной длиной кадров аудио, или когда были
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1662 разрывы/сшивания потока, где появились пропущенные или излишние
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1663 аудиокадры.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1664 Правильным решением подобных проблем является вставка тишины или
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1665 усечение аудио в таких точках.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1666 Однако, <application>MPlayer</application> не может это сделать
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1667 и если Вы демультиплексируете AC3 аудио и кодируете его отдельным
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1668 приложением (или создаёте дамп в PCM с помощью
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1669 <application>MPlayer</application>), сшивания останутся
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1670 нескорректированными и единственный испособ их исправить &mdash;
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1671 пропускать/дублировать видеокадры в местах сшивки.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1672 Пока <application>MEncoder</application> видит аудио при
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1673 кодировании видео, он может выполнять этот пропуск/дублирование
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1674 (что обычно не вызывыет проблем, т.к. происходит при полностью
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1675 чёрных кадрах или при смене сцен), но если
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1676 <application>MEncoder</application> не доступно аудио, он просто
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1677 будет обрабатывать все кадры "как есть" и они не будут совпадать
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1678 с окончательным аудиопотоком, когда Вы, например, объедините
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1679 аудио и видео дорожки в Matroska файл.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1680 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1681
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1682 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1683 Прежде всего, Вам необходимо преобразовать DVD звук в WAV файл,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1684 который может использоваться аудиокодеком в качестве входных
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1685 данных. Например:
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1686 <screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1687 mplayer <replaceable>исходный_файл.vob</replaceable> -ao pcm:file=<replaceable>звук.wav</replaceable>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1688 -vc dummy -aid 1 -vo null
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1689 </screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1690 сохранит вторую аудиодорожку из файла
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1691 <replaceable>исходный_файл.vob</replaceable> в файл
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1692 <replaceable>звук.wav</replaceable>.
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
1693 Возможно, Вы захотите нормализовать звук перед кодированием,
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1694 поскольку аудиодорожки DVD обычно записываются с маленькой
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1695 громкостью.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1696 Вы можете использовать, например, утилиту <application>normalize</application>,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1697 доступную в большинстве дистрибутивов.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
1698 Если Вы пользуетесь Window$, утилита <application>BeSweet</application>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1699 делает то же самое.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1700 Вы можете сжать в Vorbis или MP3. Например:
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1701 <screen>oggenc -q1 <replaceable>звук.wav</replaceable></screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1702 кодирует <replaceable>звук.wav</replaceable> с качеством 1,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1703 что примерно эквивалентно 80 Кб/с и является минимальным качеством,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1704 при котором Вам нужно кодировать, если Вы заботитесь о качестве.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1705 Пожалуйста, обратите внимание, что <application>MEncoder</application>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1706 на данный момент не поддерживает мультиплексирование аудиопотоков
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1707 Vorbis в выходной файл, поскольку он поддерживает только AVI и
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1708 MPEG контейнеры для выходных файлов, использование каждого из
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1709 которых может привести к проблемам A/V синхронизации с
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1710 некоторыми плеерами, в случае когда AVI файл содержит VBR
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1711 аудиопотоки наподобие Vorbis.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1712 Не беспокойтесь, в данном документе будет рассказано как Вы
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1713 можете это сделать с помощью сторонних программ.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1714 </para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1715 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1716
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1717 <!-- ********** -->
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1718
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1719 <sect2 id="menc-feat-dvd-mpeg4-muxing">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1720 <title>Мультиплексирование</title>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1721
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1722 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1723 Теперь, после того как Вы кодировали видео, скорее всего, Вы
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1724 захотите мультиплексировать его с одним или несколькими
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1725 аудиопотоками в такие видео контейнеры как AVI, MPEG,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1726 Matroska или NUT.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1727 На данный момент встроенная поддержка вывода аудио и видео в
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1728 <application>MEncoder</application> есть только для форматов
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1729 контейнеров MPEG и AVI.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1730 Например:
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1731 <screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1732 mencoder -oac copy -ovc copy -o <replaceable>выходной_фильм.avi</replaceable> \
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1733 -audiofile <replaceable>исходный_звук.mp2</replaceable> <replaceable>исходное_видео.avi</replaceable>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1734 </screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1735 Это объединит видеофайл <replaceable>исходное_видео.avi</replaceable>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1736 и аудиофайл <replaceable>исходный_звук.mp2</replaceable>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1737 в AVI файл <replaceable>выходной_фильм.avi</replaceable>.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1738 Эта команда работает с MPEG-1 слой I, II и III (более
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1739 известный как MP3) аудио, WAV, а также с некоторыми иными
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1740 форматами аудио.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1741 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1742
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1743 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1744 <application>MEncoder</application>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1745 обладает экспериментальной поддержкой
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1746 <systemitem class="library">libavformat</systemitem> &mdash;
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1747 библиотеки из проекта FFmpeg, поддерживающей мультиплексирование
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1748 и демультиплексирование множества контейнеров.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1749 Например:
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1750 <screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1751 mencoder -oac copy -ovc copy -o <replaceable>выходной_фильм.asf</replaceable> \
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1752 -audiofile <replaceable>исходный_звук.mp2</replaceable> <replaceable>исходное_видео.avi</replaceable> \
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1753 -of lavf -lavfopts format=asf
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1754 </screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1755 Это сделает то же самое, что и предыдущий пример, но выходным
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1756 контейнером будет ASF.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1757 Пожалуйста, обратите внимание, что эта поддержка весьма
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1758 экспериментальна (но становится лучше c каждым днём), и будет
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1759 работать только в случае компиляции <application>MPlayer</application>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1760 с включенной поддержкой
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1761 <systemitem class="library">libavformat</systemitem> (что означает,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1762 что в большинстве случаев бинарная версия из пакетов не будет
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1763 работать).
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1764 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1765
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1766
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1767 <sect3 id="menc-feat-dvd-mpeg4-muxing-filter-issues">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1768 <title>Улучшение мультиплексирования и надёжности A/V синхронизации</title>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1769
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1770 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1771 Вы можете столкнуться с некоторыми серьёзными проблемами A/V
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
1772 синхронизации при попытке мультиплексирования Вашего видео
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1773 с некоторыми аудиодорожками, где, как бы Вы не подбирали задержку
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1774 аудио, никогда не получается правильная синхронизация.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1775 Это может происходить при использовании некоторых видеофильтров,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1776 пропускающих или дублирующих некоторые кадры, например фильтров
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1777 обратного телесина.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1778 Настоятельно рекомендуется добавлять видеофильтр
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1779 <option>harddup</option> в конце цепочки фильтров для избежания
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1780 подобных проблем.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1781 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1782
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1783 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1784 Без опции <option>harddup</option>, в случае когда
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1785 <application>MEncoder</application> хочет дублировать кадр, он
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1786 полагается на то, что мультиплексор расположит отметку в
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1787 контейнере таким образом, что последний кадр будет повторен для
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1788 достижения синхронизации без реальной записи кадра.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1789 С опцией <option>harddup</option>, <application>MEncoder</application>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1790 вместо этого просто ещё раз поместит последний кадр в цепочку
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1791 фильтров.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1792 Это означает, что кодер получит <emphasis>точно</emphasis>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1793 такой же кадр дважды и сожмёт его.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1794 Это приведёт у несколько большему файлу, но избавит от проблем
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1795 при демультиплексировании или ремультиплексировании с другими
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1796 форматами контейнеров.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1797 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1798
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1799 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1800 Также у Вас может не быть иного выбора, как использовать
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1801 <option>harddup</option> с форматами контейнеров, которые
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1802 не слишком плотно связаны с
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1803 <application>MEncoder</application>, например, с форматами,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1804 поддерживаемыми с помощью
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1805 <systemitem class="library">libavformat</systemitem>,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1806 которые могут не поддерживать дублирование кадров на уровне
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1807 контейнера.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1808 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1809 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1810
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1811
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1812 <sect3 id="menc-feat-dvd-mpeg4-muxing-avi-limitations">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1813 <title>Ограничения контейнера AVI</title>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1814
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1815 <para>
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
1816 Хотя это самый широко распространённый формат контейнера после
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1817 MPEG-1, он также обладает некоторыми существенными недостатками.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1818 Пожалуй, они наиболее очевидны в его избыточности.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1819 Для каждой цепочки AVI файла теряется 24 байта на заголовки и
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1820 индекс.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1821 Это приводит к чуть более 5 МБ/час или 1.0-2.5% избыточности
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1822 для 700 МБ фильма. Это не кажется большим, но может означать
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1823 разницу между возможностью использования 700 кбит/сек или
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1824 714 кбит/сек в случаях, когда каждый бит на счету.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1825 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1826
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1827 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1828 В дополнение к малой эффективности, AVI также обладает следующими
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1829 серьёзными ограничениями:
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1830 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1831
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1832 <orderedlist>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1833 <listitem><para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1834 Может быть сохранено только содержимое с фиксированной частотой
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1835 кадров. В частности, это особенно ограничивает, когда Ваш
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1836 исходный материал смешанного содержимого: например, является
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1837 смесью NTSC видео и киноматериала.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1838 В действительности, есть хаки, позволяющие сохранять содержимое
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1839 с переменным fps в AVI, но они увеличивают (и без того большую)
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1840 избыточность впятеро или более того и поэтому непрактичны.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1841 </para></listitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1842 <listitem><para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1843 Аудио в AVI файлах должно быть или с постоянным битпотоком (CBR)
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1844 или с постоянным размером кадра (т.е. все кадры декодируются
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1845 в одно и то же число выборок).
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1846 К сожалению, самый эффективный кодек, Vorbis, не удовлетворяет
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1847 ни одному из данных требований.
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1848 Поэтому, если Вы планируете сохранять Ваш фильм в AVI, Вы должны
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1849 использовать менее эффективный кодек, такой как MP3 или AC3.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1850 </para></listitem>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1851 </orderedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1852
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1853 <para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1854 Сказав всё это, отметим, что <application>MEncoder</application>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1855 на данный момент не поддерживает вывод с переменным fps или
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1856 Vorbis кодирование.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1857 Поэтому Вы можете не рассматривать всё это как ограничения, если
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1858 <application>MEncoder</application> &mdash; это единственный
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1859 инструмент, который Вы используете для кодирования.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1860 Однако, возможно использовать <application>MEncoder</application>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1861 только для кодирования видео и затем использовать внешние
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1862 утилиты для кодирования аудио и мультиплексирования его в
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1863 контейнер другого формата.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1864 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1865 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1866
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1867
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1868 <sect3 id="menc-feat-dvd-mpeg4-muxing-matroska">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1869 <title>Мультиплексирование в контейнер Matroska (Матрёшка)</title>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1870
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1871 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1872 Matroska &mdash; это свободный, открытый стандарт формата
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1873 контейнера, нацеленный на предоставление большого количества
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1874 продвинутых возможностей, которые старые контейнеры (наподобие
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1875 AVI) не поддерживают.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1876 Например, Matroska поддерживает аудиосодержимое с переменным
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1877 битпотоком (VBR), переменные частоты кадров (VFR), разделы,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1878 файловые вложения, код обнаружения ошибок (EDC) и современные
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1879 A/V кодеки, такие как "Продвинутое Аудио Кодирование" ("Advanced
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1880 Audio Coding", AAC), "Vorbis" или "MPEG-4 AVC" (H.264), также
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1881 не поддерживаемые AVI.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1882 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1883
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1884 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1885 Утилиты, необходимые для создания Matroska файлов, сообща
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1886 называются <application>mkvtoolnix</application>, и доступны
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
1887 для большинства Unix платформ, так же как и для Window$.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1888 Поскольку Matroska &mdash; открытый формат, Вы можете найти
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1889 иные утилиты, которые лучше Вам подходят, но поскольку
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1890 <application>mkvtoolnix</application> &mdash; наиболее общие
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1891 и поддерживаются самой командой разработчиков Matroska, мы
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1892 будем обсуждать только их использование.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1893 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1894
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1895 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1896 Возможно, самым простым способом начать использовать Matroska
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1897 является использование <application>MMG</application>,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1898 графической оболочки, поставляемой с
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1899 <application>mkvtoolnix</application>. Следуйте
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1900 <ulink url="http://www.bunkus.org/videotools/mkvtoolnix/doc/mkvmerge-gui.html">руководству к mkvmerge GUI (mmg)</ulink>.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1901 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1902
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1903 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1904 Также Вы можете мультиплексировать аудио и видео файлы используя
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1905 командную строку:
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1906 <screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1907 mkvmerge -o <replaceable>выходной_файл.mkv</replaceable> <replaceable>входное_видео.avi</replaceable> <replaceable>входное_аудио1.mp3</replaceable> <replaceable>входное_аудио2.ac3</replaceable>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1908 </screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1909 Это объединит видеофайл <replaceable>входное_видео.avi</replaceable>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1910 и два аудиофайла <replaceable>входное_аудио1.mp3</replaceable>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1911 и <replaceable>входное_аудио2.ac3</replaceable> в Matroska
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1912 файл <replaceable>выходной_файл.mkv</replaceable>.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1913 Как было отмечено ранее, Matroska способна реализовать гораздо
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1914 большее, например, множественные аудиодорожки (включая тонкую
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1915 настройку аудио/видео синхронизации), разделы, субтитры,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1916 разбиение и т.д..
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1917 Пожалуйста, обратитесь к документации на эти приложения для
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1918 деталей.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1919 </para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1920 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1921 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1922 </sect1>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1923
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1924
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1925 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1926
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
1927
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1928 <sect1 id="menc-feat-telecine">
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1929 <title>Как работать с телесином и чересстрочной развёрткой на NTSC DVD</title>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1930
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1931 <sect2 id="menc-feat-telecine-intro">
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1932 <title>Введение</title>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1933 <formalpara>
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1934 <title>Что такое телесин?</title>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1935 <para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1936 Если Вы не понимаете многое из того, что здесь написано,
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1937 прочтите
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1938 <ulink url="http://en.wikipedia.org/wiki/Telecine">статью Википедии о телесине</ulink>.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1939 Это понятное и разумно обширное описание того, что такое
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1940 телесин.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1941 </para></formalpara>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1942
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1943 <formalpara>
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1944 <title>Замечание о числах.</title>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1945 <para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1946 Многие документы, включая указанное выше руководство, ссылаются
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1947 на количество полей в секунду 59.94 для NTSC видео и
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1948 соответствующие кадровые частоты 29.97 (для подверженного
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1949 телесину и чересстрочного видео) и 23.976 (для построчного).
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1950 Для простоты в ряде статей эти числа даже округляются до 60, 30
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1951 и 24 соответственно.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1952 </para></formalpara>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1953
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1954 <para>
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1955 Строго говоря, все эти числа являются аппроксимациями.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1956 Чёрно-белое NTSC видео было точно с 60 полями в секунду, но
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1957 позже была выбрана частота 60000/1001 для адаптации цветовой
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
1958 информации с одновременным сохранением совместимости с чёрно-белым
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1959 телевидением.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1960 Цифровое NTSC видео (такое как на DVD) также с 60000/1001
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1961 полями в секунду. Отсюда возникла кадровая частота 30000/1001
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1962 кадр/сек для чересстрочного и телесиненного видео; построчное
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1963 видео идёт с 24000/1001 кадр/сек.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1964 </para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1965
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1966 <para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1967 Старые версии документации <application>MEncoder</application>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1968 и много архивных сообщений из списков рассылки ссылаются на
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1969 59.94, 29.97 и 23.976. Вся документация <application>MEncoder</application>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1970 была обновлена для использования дробных значений, и Вам так же
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1971 следует их использовать.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1972 </para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1973
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1974 <para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1975 <option>-ofps 23.976</option> &mdash; неправильно.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1976 Взамен нужно использовать <option>-ofps 24000/1001</option>.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1977 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1978
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1979 <formalpara>
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1980 <title>Как используется телесин.</title>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1981 <para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1982 Всё видео, предназначенное для просмотра на NTSC телевидении
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1983 должно быть с 60000/1001 полями в секунду. Фильмы, сделанные
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1984 для показа на TV часто снимаются непосредственно при 60000/1001
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1985 полей в секунду, но большинство кино снимается на 24 или
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1986 24000/1001 кадрах в секунду. В процессе создания DVD с
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1987 кинофильмом, видео преобразуется для телевидения с помощью
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1988 процесса, называемого телесин.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1989 </para></formalpara>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1990
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
1991 <para>
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1992 В действительности, видео никогда не хранится на DVD с
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
1993 60000/1001 полями в секунду. Для видео, оригинально являющегося
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1994 60000/1001, каждая пара полей объединяется для формирования
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1995 кадра, приводя к 30000/1001 кадрам в секунду. Затем аппаратные
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1996 DVD плееры читают флаг, включенный в видеопоток, для определения
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1997 того какие, чётные или нечётные строки должны формировать первый
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1998 кадр.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
1999 </para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2000
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2001 <para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2002 Обычно, содержимое с частотой кадров 24000/1001 остаётся
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2003 неизменным при кодировании на DVD и DVD плеер должен выполнить
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2004 телесин на лету. Однако, иногда видео подвергается телесину
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2005 <emphasis>до</emphasis> записи на DVD; и хотя оно изначально
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2006 было с 24000/1001 кадр/сек, видео становится с 60000/1001 полями
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2007 в секунду. Когда оно сохраняется на DVD, пары полей объединяются
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2008 для формирования 30000/1001 кадров в секунду.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2009 </para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2010
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2011 <para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2012 При рассмотрении отдельных кадров, полученных из 60000/1001
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2013 полей в секунду, телесиненных или наоборот, чересстрочная
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2014 развёртка чётко видна в случае, если есть какое-либо движение,
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2015 поскольку одно поле (скажем, с чётными номерами строк)
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2016 отображает момент времени на 1/(60000/1001) секунды позже, чем
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2017 другое поле. Воспроизведение чересстрочного видео на компьютере
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2018 выглядит скверно по двум причинам: монитор обладает более высоким
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2019 разрешением и видео показывается покадрово, вместо отображения по
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2020 полям.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2021 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2022
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2023 <itemizedlist>
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2024 <title>Замечания:</title>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2025 <listitem><para>
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2026 Этот раздел применим только к NTSC DVD, а не к PAL.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2027 </para></listitem>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2028 <listitem><para>
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2029 Примеры командных строк <application>MEncoder</application>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2030 в данном разделе <emphasis role="bold">не</emphasis>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2031 предназначены для реального использования. Они просто являются
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2032 минимально необходимым требованием для кодирования
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2033 соответствующей категории видео. То, как сделать хорошие DVD
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2034 рипы или тонко настроить
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2035 <systemitem class="library">libavcodec</systemitem> для
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2036 достижения максимального качества, не входит в рамки данного
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2037 раздела.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2038 </para></listitem>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2039 <listitem><para>
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2040 Есть несколько сносок, специфичных для данного руководства,
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2041 обозначенных следующим образом:
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2042 <link linkend="menc-feat-telecine-footnotes">[1]</link>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2043 </para></listitem>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2044 </itemizedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2045 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2046
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2047 <sect2 id="menc-feat-telecine-ident">
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2048 <title>Как распознать тип Вашего видео</title>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2049
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2050 <sect3 id="menc-feat-telecine-ident-progressive">
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2051 <title>Построчная развёртка</title>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2052 <para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2053 Видео с построчной развёрткой изначально записывается на
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2054 24000/1001 fps и сохраняется на DVD без чередования.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2055 </para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2056
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2057 <para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2058 При воспроизведении DVD с построчной развёрткой в
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2059 <application>MPlayer</application>, <application>MPlayer</application>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2060 выведет следующую строку при начале воспроизведения фильма:
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2061
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2062 <screen>demux_mpg: обнаружено 24000/1001 кадра/сек NTSC содержимое с построчной развёрткой,
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2063 переключаю частоту кадров.</screen>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2064
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2065 Начиная с этого момента, demux_mpg никогда не должен
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2066 сообщать о том, что найдено
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2067 &quot;30000/1001 кадров/сек NTSC содержимое&quot;.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2068 </para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2069
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2070 <para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2071 При просмотре видео с построчной развёрткой Вы не должны никогда
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2072 наблюдать чересстрочность. Однако, будьте осторожны, поскольку
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2073 иногда есть небольшая примесь телесина там, где Вы этого не
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2074 ожидаете. Мной наблюдались DVD с TV-шоу, у которых была одна
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2075 секунда телесина при каждой смене сцен или в случайных на вид
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2076 местах. Однажды я видел DVD, у которого одна половина была с
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2077 построчной развёрткой, а вторая &mdash; телесиненной. Если Вы
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2078 желаете быть <emphasis>действительно</emphasis> уверенными,
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2079 Вы можете просканировать весь фильм:
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2080
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2081 <screen>mplayer dvd://1 -nosound -vo null -benchmark</screen>
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2082
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2083 Использование <option>-benchmark</option> позволяет
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2084 <application>MPlayer</application> воспроизводить фильм столь
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2085 быстро, сколь это возможно; тем не менее, в зависимости от
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2086 Вашего железа, это может занять некоторое время. Всякий раз,
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2087 когда demux_mpg будет сообщать об изменении частоты кадров,
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2088 строка прямо над сообщением покажет Вам время, при котором
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2089 произошло изменение.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2090 </para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2091
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2092 <para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2093 Иногда видео на DVD с построчной развёрткой называют
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2094 &quot;мягким телесином&quot;, поскольку предполагается, что
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2095 телесин будет выполнен DVD плеером.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2096 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2097 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2098
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2099 <sect3 id="menc-feat-telecine-ident-telecined">
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2100 <title>Телесин</title>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2101 <para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2102 Телесиненное видео изначально снимается на 24000/1001 кадр/сек,
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2103 но подвергается телесину <emphasis>до</emphasis> записи на DVD.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2104 </para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2105
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2106 <para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2107 <application>MPlayer</application> не (всегда) сообщает об
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2108 изменении частоты кадров при воспроизведении телесиненного
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2109 видео.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2110 </para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2111
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2112 <para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2113 При просмотре телесиненного видео, Вы будете видеть "мерцающие"
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2114 артефакты чересстрочной развёртки: они будут многократно
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2115 повторяться и исчезать.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2116 Вы можете детально это рассмотреть следующим образом:
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2117 <orderedlist>
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2118 <listitem>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2119 <screen>mplayer dvd://1</screen>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2120 </listitem>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2121 <listitem><para>
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2122 Переместитесь в часть фильма с движением.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2123 </para></listitem>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2124 <listitem><para>
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2125 Используйте клавишу <keycap>.</keycap> для покадровой перемотки
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2126 вперёд.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2127 </para></listitem>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2128 <listitem><para>
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2129 Наблюдайте за последовательностью кадров с чересстрочной и
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2130 построчной развёрткой. Если Вы видите следующую структуру:
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2131 ЧЧЧПП,ЧЧЧПП,ЧЧЧПП,... (где Ч &mdash; чересстрочные, а П &mdash;
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2132 построчные кадры), значит видео телесиненное. Если Вы
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2133 наблюдаете иную структуру, видео может быть телесиненным,
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2134 используя какой-либо нестандартный метод;
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2135 <application>MEncoder</application> не может преобразовать
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2136 без потерь нестандартный телесин в построчную развёртку.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2137 Если Вы не видите вообще никакой структуры, значит наиболее
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2138 вероятно, что видео с чересстрочной развёрткой.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2139 </para></listitem>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2140 </orderedlist>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2141 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2142
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2143 <para>
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2144 Иногда подверженное телесину видео на DVD называют "жестким телесином".
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2145 Поскольку жесткий телесин уже имеет 60000/1001 полей в секунду, DVD
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2146 проигрыватель, воспроизводя его, не делает никаких преобразований.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2147 </para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2148
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2149 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2150 Другой способ выяснить, был Ваш источник подвержен телесину или нет, заключается
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2151 в воспроизведении исходного материала с опциями командной строки
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2152 <option>-vf pullup</option> и <option>-v</option>, чтобы увидеть, как
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2153 <option>pullup</option> сопоставляет кадры.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2154 Если источник был телесиненным, Вы должны увидеть в консоли 3:2 структуру с
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2155 чередующимися <systemitem>0+.1.+2</systemitem> и <systemitem>0++1</systemitem>.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2156 Преимущество этой техники состоит в том, что не требуется просматривать исходный
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2157 материал для его идентификации, это может быть полезно для автоматизации
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2158 процедуры кодирования или выполнения вышеуказанной процедуры удаленно через
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2159 медленное соединение.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2160 </para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2161 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2162
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2163
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2164 <sect3 id="menc-feat-telecine-ident-interlaced">
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2165 <title>Чересстрочная развертка</title>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2166
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2167 <para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2168 Чересстрочное видео изначально снималось на 60000/1001 полями в секунду,
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2169 и сохранялось на DVD с 30000/1001 кадрами в секунду. Эффект чересстрочности
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2170 (часто называемый "гребёнкой") &mdash; результат объединения пары полей в кадры.
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2171 Поля сдвинуты друг относительно друга на 1/(60000/1001) секунды,
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2172 и, когда отображаются одновременно, разница заметна.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2173 </para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2174
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2175 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2176 Как и с подверженным телесину видео, <application>MPlayer</application> не должен
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2177 сообщать о каких-либо изменениях частоты кадров при воспроизведении
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2178 чересстрочного содержимого.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2179 </para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2180
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2181 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2182 Внимательно, кадр за кадром (при помощи клавиши <keycap>.</keycap>) рассматривая
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2183 чересстрочное видео, Вы увидите, что каждый отдельный кадр &mdash; чересстрочный.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2184 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2185 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2186
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2187
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2188 <sect3 id="menc-feat-telecine-ident-mixedpt">
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2189 <title>Смешанные построчная развертка и телесин</title>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2190
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2191 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2192 Все видео со "смешанными построчной разверткой и телесином" изначально было с
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2193 24000/1001 кадрами в секунду, но некоторые его части оказались подвержены
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2194 телесину.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2195 </para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2196
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2197 <para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2198 Когда <application>MPlayer</application> воспроизводит эту категорию, он будет
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2199 (как правило, периодически) переключаться между "30000/1001 кадров/сек NTSC
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2200 содержимым" и "24000/1001 кадра/сек NTSC содержимым с построчной развёрткой".
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2201 Смотрите конец вывода <application>MPlayer</application>, чтобы увидеть
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2202 эти сообщения.
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2203 </para>
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2204
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2205 <para>
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2206 Вам следует проверить разделы с "30000/1001 кадров/сек NTSC содержимым",
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2207 чтобы убедиться, что видео действительно телесиненное, а не просто
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2208 чересстрочное.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2209 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2210 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2211
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2212
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2213 <sect3 id="menc-feat-telecine-ident-mixedpi">
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2214 <title>Смешанные построчная и чересстрочная развертки</title>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2215
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2216 <para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2217 В содержимом со "смешанными построчной и чересстрочной развертками",
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2218 построчное и чересстрочное видео переплетаются друг с другом.
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2219 </para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2220
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2221 <para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2222 Эта категория выглядит также, как и "смешанные построчная развертка и телесин",
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2223 до тех пор, пока не проверите разделы 30000/1001 кадр/сек и не увидите,
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2224 что структура телесина отсутствует.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2225 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2226 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2227 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2228
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2229 <!-- ********** -->
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2230
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2231 <sect2 id="menc-feat-telecine-encode">
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2232 <title>Как кодировать каждую категорию</title>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2233
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2234 <para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2235 Как уже было сказано выше, последующие примеры командных строк
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2236 <application>MEncoder</application> <emphasis role="bold">не</emphasis> означают,
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2237 что надо использовать именно их; они всего лишь примеры минимального набора параметров
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2238 для правильного кодирования каждой категории.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2239 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2240
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2241
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2242 <sect3 id="menc-feat-telecine-encode-progressive">
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2243 <title>Построчная развертка</title>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2244
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2245 <para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2246 Видео с построчной разверткой не требует специальной обработки для кодирования.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2247 Единственный нужный Вам для уверенности параметр &mdash; это
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2248 <option>-ofps 24000/1001</option>.
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2249 В противном случае <application>MEncoder</application> будет пытаться кодировать
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2250 с 30000/1001 кадрами в секунду и создаст дублирующиеся кадры.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2251 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2252
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2253 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2254 <screen>mencoder dvd://1 -oac copy -ovc lavc -ofps 24000/1001</screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2255 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2256
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2257 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2258 Частый случай, однако, когда видео, выглядящее построчным, на самом деле
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2259 содержит очень короткие подверженные телесину части. Если Вы не уверены,
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2260 безопаснее будет считать его как видео со
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2261 <link linkend="menc-feat-telecine-encode-mixedpt">смешанными построчной
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2262 разверткой телесином</link>.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2263 Потеря скорости невелика<link linkend="menc-feat-telecine-footnotes">[3]</link>.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2264 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2265 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2266
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2267
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2268 <sect3 id="menc-feat-telecine-encode-telecined">
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2269 <title>Телесин</title>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2270
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2271 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2272 Телесин может быть обращён для получения оригинального 24000/1001 содержимого
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2273 при помощи процесса, называемого обратный телесин.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2274 <application>MPlayer</application> содержит несколько фильтров для выполнения
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2275 этого; лучший из них, <option>pullup</option> описан в разделе
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2276 <link linkend="menc-feat-telecine-encode-mixedpt">смешанные построчная развертка
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2277 и телесин</link>.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2278 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2279 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2280
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2281
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2282 <sect3 id="menc-feat-telecine-encode-interlaced">
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2283 <title>Чересстрочная развертка</title>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2284
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2285 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2286 На практике в большинстве случаев невозможно получить полностью построчное
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2287 видео из чересстрочного содержимого.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2288 Единственный способ сделать это без потери половины вертикального разрешения
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2289 - это удвоить частоту кадров и попытаться "угадать", что должно составить
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2290 соответствующие линии каждого поля (этот способ имеет недостатки, смотрите метод
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2291 3).
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2292 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2293
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2294 <orderedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2295 <listitem><para>
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2296 Кодируйте видео в чересстрочной форме. Обычно это наносит вред способности
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2297 кодировщика хорошо сжимать, но <systemitem class="library">libavcodec</systemitem>
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2298 имеет два параметра специально для чуть лучшего сохранения чересстрочного
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2299 видео: <option>ildct</option> и <option>ilme</option>. К тому же, настоятельно
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2300 рекомендуется использовать
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2301 <option>mbd=2</option><link linkend="menc-feat-telecine-footnotes">[2]</link>,
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2302 потому что при этом макроблоки в местах без движения будут кодированы как
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2303 нечересстрочные. Имейте в виду, что <option>-ofps</option> здесь НЕ нужна.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2304 <screen>mencoder dvd://1 -oac copy -ovc lavc -lavcopts ildct:ilme:mbd=2</screen>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2305 </para></listitem>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2306 <listitem><para>
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2307 Используйте фильтр деинтерлейсинга перед кодированием. Существует несколько
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2308 таких фильтров на выбор, каждый имеет свои преимущества и недостатки.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2309 Обратитесь к <option>mplayer -pphelp</option> и <option>mplayer -vf help</option>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2310 для определения доступных (grep по "deint"), прочтите
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2311 <ulink url="http://guru.multimedia.cx/deinterlacing-filters/">Сравнение
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2312 фильтров деинтерлейсинга</ulink> Майкла Нидермайера (Michael Niedermayer),
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2313 и поищите в <ulink url="http://www.mplayerhq.hu/design7/mailing_lists.html">
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2314 списках рассылки MPlayer</ulink>, чтобы найти множество обсуждений различных
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2315 фильтров.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2316 И опять, частота кадров не меняется, поэтому никаких <option>-ofps</option>.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2317 к тому же деинтерлейсинг следует производить после обрезания
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2318 <link linkend="menc-feat-telecine-footnotes">[1]</link> и до масштабирования.
21134
d3ef4ae45375 r21078: add a link to Michael's de-interlacing filters...
voroshil
parents: 21051
diff changeset
2319 <screen>mencoder dvd://1 -oac copy -vf yadif -ovc lavc</screen>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2320 </para></listitem>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2321 <listitem><para>
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2322 К сожалению, эта опция сбоит с <application>MEncoder</application>; она должна
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2323 хорошо работать с <application>MEncoder G2</application>, но его пока нет. Вы
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2324 можете столкнуться с крахами. Как бы то ни было, назначение опции
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2325 <option> -vf tfields</option> &mdash; создать полный кадр из каждого поля, что
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2326 делает частоту кадров равной 60000/1001. Преимущество этого подхода в том, что
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2327 никакие данные не теряются; однако, т.к. каждый кадр получается только из одного
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2328 поля, недостающие строки должны как-то интерполироваться.
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2329
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2330 Не существует очень хороших методов
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2331 генерации недостающих данных, поэтому результат будет выглядеть несколько похожим
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2332 на применение некоторых фильтров деинтерлейсинга. Генерация недостающих строк также создает
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2333 другие проблемы, просто потому что количество данных удваивается.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2334 Таким образом, для сохранения качества требуются более высокие значения
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2335 битпотока, и больше ресурсов процессора используется как для
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2336 кодирования, так и для декодирования. <option>tfields</option> имеет
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2337 несколько различных опций, определяющих способ создания недостающих строк
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2338 каждого кадра. Если выбрали этот способ, обратитесь к руководству и выберите
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2339 ту опцию, которая лучше подходит для Вашего материала. Имейте в виду, что при
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2340 использовании <option>tfields</option> Вы
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2341 <emphasis role="bold">должны</emphasis> указать как <option>-fps</option>, так
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2342 и <option>-ofps</option>, установив им значение, равное удвоенной частоте
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2343 исходного материала.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2344 <screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2345 mencoder dvd://1 -oac copy -vf tfields=2 -ovc lavc \
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2346 -fps 60000/1001 -ofps 60000/1001<!--
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2347 --></screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2348 </para></listitem>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2349 <listitem><para>
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2350 Если планируете сильно уменьшать размер изображения, можно извлекать и
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2351 декодировать только одно поле из двух. Конечно, Вы потеряете половину
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2352 вертикального разрешения, но если планируется уменьшать размер как минимум
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2353 вдвое, потеря будет не сильно заметна. В результате получится построчной
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2354 развёртки файл с 30000/1001 кадрами в секунду. Процедура следующая:
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2355 <option>-vf field</option>, затем обрезание
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2356 <link linkend="menc-feat-telecine-footnotes">[1]</link> и масштабирование
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2357 соответствующим образом. Помните, что потребуется скорректировать масштабирование
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2358 для компенсации уменьшенного вдвое вертикального разрешения.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2359 <screen>mencoder dvd://1 -oac copy -vf field=0 -ovc lavc</screen>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2360 </para></listitem>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2361 </orderedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2362 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2363
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2364
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2365 <sect3 id="menc-feat-telecine-encode-mixedpt">
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2366 <title>Смешанные построчная развертка и телесин</title>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2367
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2368 <para>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2369 Для преобразования видео со смешанными построчной разверткой и телесином в
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2370 полностью построчное необходимо к подверженным телесину частям применить
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2371 обратный телесин. Есть три описанных ниже способа добиться этого.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2372 Заметьте, что следует <emphasis role="bold">всегда</emphasis> применять обратный
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2373 телесин до какого-либо масштабирования; за исключением случая, когда Вы точно
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2374 знаете, что делаете, выполняйте обратный телесин также до обрезания
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2375 <link linkend="menc-feat-telecine-footnotes">[1]</link>.
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2376 <option>-ofps 24000/1001</option> здесь необходима, поскольку видео на выходе
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2377 будет с 24000/1001 кадрами в секунду.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2378 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2379
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2380 <itemizedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2381 <listitem><para>
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2382 <option>-vf pullup</option> разработана для обратного телесина материала,
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2383 телесину подверженного, оставляя построчные данные как есть. Для правильной
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2384 работы после <option>pullup</option> <emphasis role="bold">должен</emphasis>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2385 следовать фильтр <option>softskip</option>, иначе произойдет крах
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2386 <application>MEncoder</application>.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2387 <option>pullup</option> является, однако, самым чистым и точным методом,
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2388 доступным для кодирования и телесина, и "смешанного построчного с телесином".
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2389 <screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2390 mencoder dvd://1 -oac copy -vf pullup,softskip \
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2391 -ovc lavc -ofps 24000/1001<!--
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2392 --></screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2393 </para></listitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2394 <listitem><para>
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2395 Более старый метод заключается не в применении обратного телесина к
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2396 телесиненным частям, а, наоборот, в телесине не подверженных телесину частей и
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2397 последующем применении обратного телесина ко всему видео. Звучит запутанно?
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2398 softpulldown &mdash; это фильтр, проходящий по видео и делающий телесиненным весь
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2399 файл. Если следом за softpulldown указать либо <option>detc</option>, либо
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2400 <option>ivtc</option>, финальный результат будет полностью построчным.
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2401 <option>-ofps 24000/1001</option> необходима.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2402 <screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2403 mencoder dvd://1 -oac copy -vf softpulldown,ivtc=1 -ovc lavc -ofps 24000/1001
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2404 </screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2405 </para></listitem>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2406 <listitem><para>
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2407 Лично я не использовал <option>-vf filmdint</option>, но вот что сказал
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2408 Д Ричарт Фелкер III (D Richard Felker III):
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2409
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2410 <blockquote><para>С ним все в порядке, но имхо он слишком часто пытается
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2411 сделать деинтерлейс iвместо обратного телесина (в точности как аппаратные
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2412 DVD проигрыватели &amp; построчное TV), что в результате дает мерзкое
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2413 мерцание и другие артефакты. Если собираетесь его использовать, потребуется
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2414 как минимум потратить немного времени для тонкой настройки опций и
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2415 просмотра результата, чтобы убедиться, что он не испорчен.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2416 </para></blockquote>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2417 </para></listitem>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2418 </itemizedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2419 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2420
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2421
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2422 <sect3 id="menc-feat-telecine-encode-mixedpi">
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2423 <title>Смешанные построчная и чересстрочная развертки</title>
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2424
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2425 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2426 Существует две опции для этой категории, каждая из которых &mdash; это компромисс. Вы
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2427 должны выбрать, исходя из продолжительности/положения каждого типа.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2428 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2429
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2430 <itemizedlist>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2431 <listitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2432 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2433 Рассматривайте видео как построчное. Чересстрочные части будут выглядеть
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2434 чересстрочными, и потребуется удаление некоторых из чересстрочных полей, что
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2435 даст в результате некоторое скачкообразное дрожание. Вы можете использовать
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2436 фильтр постобработки, если хотите, но это может несколько ухудшить
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2437 построчные части.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2438 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2439
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2440 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2441 Эта опция определенно не должна использоваться, если Вы хотите со
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2442 временем отображать видео на чересстрочном устройстве (с помощью TV карты,
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2443 например). Если у Вас есть чересстрочные кадры в видео с 24000/1001 кадрами в
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2444 секунду, к ним, как и к прогрессивным, будет применен телесин. Половина их
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2445 чересстрочных "кадров" будут отображаться с длительностью трех полей
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2446 (3/(60000/1001) секунд), давая в результате неприятно выглядящий эффект
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2447 <!-- FIXME is translation correct? -->
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2448 "прыжка назад во времени". Даже если Вы пробуете это, Вы
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2449 <emphasis role="bold">должны</emphasis> использовать фильтр деинтерлейсинга,
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2450 такой как <option>lb</option> или <option>l5</option>.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2451 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2452
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2453 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2454 Для отображения на построчном дисплее это тоже может быть плохой идеей.
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2455 Будут отбрасываться пары последовательных чересстрочных полей, приводя к
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2456 разрывам, которые могут быть заметнее, чем при использовании второго метода,
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2457 отображающего некоторые построчные кадры дважды. Чересстрочное видео с
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2458 30000/1001 кадрами в секунду уже несколько прерывисто, потому что в реальности
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2459 оно должно отображаться с 60000/1001 полями в секунду, так что дублирующиеся
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2460 кадры не так сильно выделяются.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2461 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2462
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2463 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2464 Так или иначе, лучше всего проанализировать Ваше содержимое и как Вы его
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2465 собираетесь показывать. Если видео на 90% построчное и Вы никогда не будете
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2466 показывать его на TV, Вам следует отдать предпочтение построчному варианту.
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2467 Если оно только наполовину построчное, Вы, возможно, захотите кодировать
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2468 его, как если бы оно было чересстрочным.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2469 </para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2470 </listitem>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2471
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2472 <listitem><para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2473 Считайте его чересстрочным. Некоторые кадры построчной части потребуют
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2474 дублирования, что даст в результате некоторое скачкообразное дрожание. И
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2475 снова, фильтры деинтерлейсинга могут несколько ухудшить построчные части.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2476 </para></listitem>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2477 </itemizedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2478 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2479 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2480
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2481 <!-- ********** -->
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2482
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2483 <sect2 id="menc-feat-telecine-footnotes">
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2484 <title>Примечания</title>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2485
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2486 <orderedlist>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2487 <listitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2488 <formalpara>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2489 <title>Об усечении сторон:</title>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2490 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2491 Видеоданные на DVD хранятся в формате, называемом YUV 4:2:0. В YUV
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2492 видео, люма ("яркость") и хрома ("цвет") хранятся отдельно.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2493 Поскольку человеческий глаз отчасти менее чувствителен к цвету, чем к яркости,
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2494 в YUV 4:2:0 изображении присутствует только один цветностный пиксел на четыре
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2495 яркостных. В изображении с построчной развёрткой каждый квадрат из четырёх яркостных
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2496 пикселов (два на два) имеют один общий цветностный пиксел. Вы должны обрезать
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2497 построчный YUV 4:2:0 до чётных размеров и использовать чётные смещения.
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2498 Например,
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2499 <option>crop=716:380:2:26</option> &mdash; правильно, а
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2500 <option>crop=716:380:3:26 </option> &mdash; нет.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2501 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2502 </formalpara>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2503
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2504 <para>
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2505 Когда имеете дело с чересстрочным YUV 4:2:0, ситуация чуть более сложная.
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2506 Вместо разделения одного цветностного пиксела четырьмя яркостными пикселами в
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2507 <emphasis>кадре</emphasis>, каждые четыре яркостных пиксела каждого
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2508 <emphasis>поля</emphasis> разделяют цветностный пиксел. Когда поля объединены в
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2509 кадр, каждая строка имеет высоту в один пиксел. Теперь, вместо квадрата из
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2510 четырех яркостных пикселов мы имеем два соседних пиксела, а два других расположены
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2511 на две строки ниже. Два яркостных пиксела следующей строки принадлежат
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2512 другому полю, и, поэтому, разделяют другой пиксел цветности с двумя пикселами
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2513 на две строки дальше. Вся эта неразбериха требует, чтобы вертикальные размеры
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2514 и смещения обрезания были кратны четырем. Горизонтальные могут оставаться
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2515 четными.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2516 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2517
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2518 <para>
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2519 Для телесиненного видео я рекомендую производить обрезание после обратного
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2520 телесина. Так как видео построчное, достаточно обрезать только по четным
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2521 размерам. Если же действительно хотите получить небольшую прибавку к скорости,
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2522 которую может дать обрезка, Вам придется производить усечение с вертикальными
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2523 размерностями, кратными четырем. В противном случае фильтр обратного телесина
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2524 не будет иметь правильных данных.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2525 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2526
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2527 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2528 Для чересстрочного (не подверженного телесину) видео, Вы всегда должны
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2529 производить усечение с вертикальными размерностями, кратными четырем, если
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2530 только не используете <option>-vf field</option> перед усечением.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2531 </para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2532 </listitem>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2533
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2534 <listitem><formalpara>
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2535 <title>О параметрах кодирования и качестве:</title>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2536 <para>
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2537 Если я здесь рекомендую <option>mbd=2</option>, это еще не значит, что эту
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2538 опцию не следует использовать где-либо еще. Совместно с <option>trell</option>,
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2539 <option>mbd=2</option> является одной из двух опций
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2540 <systemitem class="library">libavcodec</systemitem>, которые значительно
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2541 увеличивают качество. Вам всегда следует использовать как минимум эти две,
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2542 за исключением случая, когда потеря скорости кодирования недопустима
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2543 (например, кодирование в реальном времени). Есть множество других
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2544 <systemitem class="library">libavcodec</systemitem> опций, улучшающих качество
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2545 (и замедляющих кодирование), но их описание выходит за рамки этого
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2546 документа.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2547 </para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2548 </formalpara></listitem>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2549
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2550 <listitem><formalpara>
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2551 <title>О производительности pullup:</title>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2552 <para>
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2553 Использование <option>pullup</option> (совместно с <option>softskip</option>)
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2554 для видео с построчной развёрткой вполне безопасно и обычно является хорошей
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2555 идеей, если только про источник не известно достоверно, что он полностью
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2556 построчный. Потеря скорости мала в большинстве случаев.
21750
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2557 В минимальном варианте кодирования <option>pullup</option> замедляет
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2558 <application>MEncoder</application> на 50%. Добавление обработки звука и
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2559 продвинутых <option>lavcopts</option> опций затмевает эту разницу, уменьшая
5ae581bf5bd3 Translation of menc-feat-telecine sect1 in encoding-guide.xml.
voroshil
parents: 21748
diff changeset
2560 падение производительности от использования <option>pullup</option> до 2%.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2561 </para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2562 </formalpara></listitem>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2563 </orderedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2564 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2565 </sect1>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2566
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2567
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2568 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2569
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2570
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2571 <sect1 id="menc-feat-enc-libavcodec">
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2572 <title>Кодирование семейством кодеков <systemitem class="library">libavcodec</systemitem>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2573 </title>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2574
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2575 <para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2576 <link linkend="ffmpeg"><systemitem class="library">libavcodec</systemitem></link>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2577 предоставляет возможность простого кодирования в множество интересных видео и
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2578 аудио форматов. Вы можете кодировать следующими кодеками (более или менее
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2579 свежий список):
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2580 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2581
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2582 <!-- ********** -->
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2583
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2584 <sect2 id="menc-feat-enc-libavcodec-video-codecs">
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2585 <title>Видео кодеки <systemitem class="library">libavcodec</systemitem></title>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2586
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2587 <para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2588 <informaltable frame="all">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2589 <tgroup cols="2">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2590 <thead>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2591 <row><entry>Название видео кодека</entry><entry>Описание</entry></row>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2592 </thead>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2593 <tbody>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2594 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2595 <entry>mjpeg</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2596 <entry>Motion JPEG</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2597 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2598 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2599 <entry>ljpeg</entry>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2600 <entry>JPEG без потери качества</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2601 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2602 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2603 <entry>h261</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2604 <entry>H.261</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2605 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2606 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2607 <entry>h263</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2608 <entry>H.263</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2609 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2610 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2611 <entry>h263p</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2612 <entry>H.263+</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2613 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2614 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2615 <entry>mpeg4</entry>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2616 <entry>ISO стандарт MPEG-4 (DivX, Xvid совместимый)</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2617 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2618 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2619 <entry>msmpeg4</entry>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2620 <entry>вариант пре-стандарта MPEG-4 от MS, v3 (он же DivX3)</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2621 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2622 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2623 <entry>msmpeg4v2</entry>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2624 <entry>вариант пре-стандарта MPEG-4 от MS, v2 (используемый в старых ASF
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2625 файлах)</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2626 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2627 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2628 <entry>wmv1</entry>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2629 <entry>Windows Media Video, версия 1 (он же WMV7)</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2630 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2631 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2632 <entry>wmv2</entry>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2633 <entry>Windows Media Video, версия 2 (он же WMV8)</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2634 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2635 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2636 <entry>rv10</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2637 <entry>RealVideo 1.0</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2638 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2639 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2640 <entry>rv20</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2641 <entry>RealVideo 2.0</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2642 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2643 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2644 <entry>mpeg1video</entry>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2645 <entry>MPEG-1 видео</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2646 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2647 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2648 <entry>mpeg2video</entry>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2649 <entry>MPEG-2 видео</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2650 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2651 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2652 <entry>huffyuv</entry>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2653 <entry>сжатие без потерь</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2654 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2655 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2656 <entry>asv1</entry>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2657 <entry>ASUS Видео v1</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2658 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2659 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2660 <entry>asv2</entry>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2661 <entry>ASUS Видео v2</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2662 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2663 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2664 <entry>ffv1</entry>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2665 <entry>видео кодек без потерь из FFmpeg</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2666 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2667 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2668 <entry>svq1</entry>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2669 <entry>Sorenson видео 1</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2670 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2671 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2672 <entry>flv</entry>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2673 <entry>Sorenson H.263 используемый в Flash Видео</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2674 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2675 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2676 <entry>dvvideo</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2677 <entry>Sony Digital Video</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2678 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2679 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2680 <entry>snow</entry>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2681 <entry>экспериментальный кодек FFmpeg, основанный на вейвлетах</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2682 </row>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2683 </tbody>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2684 </tgroup>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2685 </informaltable>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2686
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2687 Первый столбец содержит названия кодеков, которые следует указывать после
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2688 <literal>vcodec</literal> опции, например:
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2689 <option>-lavcopts vcodec=msmpeg4</option>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2690 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2691
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2692 <informalexample><para>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2693 Пример с MJPEG сжатием:
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2694 <screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2695 mencoder dvd://2 -o title2.avi -ovc lavc -lavcopts vcodec=mjpeg -oac copy
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2696 </screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2697 </para></informalexample>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2698 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2699
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2700 <!-- ********** -->
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2701
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2702 <sect2 id="menc-feat-enc-libavcodec-audio-codecs">
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2703 <title>Аудио кодеки <systemitem class="library">libavcodec</systemitem></title>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2704 <para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2705 <informaltable frame="all">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2706 <tgroup cols="2">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2707 <thead>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2708 <row><entry>Название аудио кодека</entry><entry>Описание</entry></row>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2709 </thead>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2710 <tbody>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2711 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2712 <entry>mp2</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2713 <entry>MPEG Layer 2</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2714 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2715 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2716 <entry>ac3</entry>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2717 <entry>AC3, он же Dolby Digital</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2718 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2719 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2720 <entry>adpcm_ima_wav</entry>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2721 <entry>IMA адаптивный PCM (4 бита на сэмпл, сжатие 4:1)</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2722 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2723 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2724 <entry>sonic</entry>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2725 <entry>экспериментальный кодек с сжатием с/без потерь</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2726 </row>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2727 </tbody>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2728 </tgroup>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2729 </informaltable>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2730
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2731 Первый столбец содержит названия кодеков, которые следует указывать после
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2732 <literal>acodec</literal> опции, например: <option>-lavcopts acodec=ac3</option>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2733 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2734
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2735 <informalexample><para>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2736 Пример с AC3 сжатием:
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2737 <screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2738 mencoder dvd://2 -o title2.avi -oac lavc -lavcopts acodec=ac3 -ovc copy
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2739 </screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2740 </para></informalexample>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2741
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2742 <para>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2743 В отличие от видео кодеков <systemitem class="library">libavcodec</systemitem>,
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2744 ее аудио кодеки не очень разумно используют отданные им биты, в силу
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2745 неудачной реализации некоторой минимальной психоакустической модели (если она
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2746 вообще есть), которая является характерной чертой большинства остальных реализаций кодеков.
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2747 Однако заметьте, что все эти аудио кодеки очень быстры и работают прямо из
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2748 коробки везде, где <application>MEncoder</application> скомпилирован с
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2749 <systemitem class="library">libavcodec</systemitem> (а почти всегда так оно и
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2750 есть), и не зависят от внешних библиотек.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2751 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2752 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2753
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2754 <!-- ********** -->
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2755
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2756 <sect2 id="menc-feat-dvd-mpeg4-lavc-encoding-options">
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2757 <title>Опции кодирования libavcodec</title>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2758
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2759 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2760 В идеале, Вы, наверное, хотели бы иметь возможность просто сказать кодировщику
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2761 переключиться на "высокое качество" и начать кодирование.
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2762 Это было бы замечательно, но, к сожалению, трудно реализуемо, поскольку
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2763 различные опции кодирования, в зависимости от исходного материала, дают в результате
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2764 различное качество.
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2765 Так происходит потому, что сжатие зависит от визуальных свойств видео.
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2766 Например, аниме и живая съемка имеют сильно отличающиеся свойства и,
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2767 поэтому, требуют разные опции для получения оптимального результата.
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2768 Хорошая новость состоит в том, что некоторые опции, такие как
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
2769 <option>mbd=2</option>, <option>trell</option> и <option>v4mv</option>,
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
2770 никогда не следует опускать.
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2771 Детальное описание основных опций кодирования смотрите ниже.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2772 </para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2773
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2774 <itemizedlist>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2775 <title>Опции для настройки:</title>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2776 <listitem><para>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2777 <emphasis role="bold">vmax_b_frames</emphasis>: хороши 1 или 2, в зависимости
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2778 от фильма.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2779 Заметьте, если хотите, чтобы Ваш фильм декодировался DivX5, Вы должны
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2780 активировать поддержку закрытых GOP, используя опцию <option>cgop</option>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2781 <systemitem class="library">libavcodec</systemitem>, но также должны деактивировать
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2782 определение сцен, что не является хорошей идеей, поскольку несколько вредит
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2783 эффективности.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2784 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2785 <listitem><para>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2786 <emphasis role="bold">vb_strategy=1</emphasis>: помогает в высокодинамичных
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2787 сценах.
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2788 Для некоторых видео файлов vmax_b_frames может повредить качеству, но vmax_b_frames=2
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2789 вместе с vb_strategy=1 поможет в этом случае.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2790 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2791 <listitem><para>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2792 <emphasis role="bold">dia</emphasis>: диапазон поиска движения. Большие
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2793 значения лучше и медленнее.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2794 Отрицательные значения &mdash; это совершенно другая шкала.
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2795 Хорошими значениями являются -1 для быстрого кодирования или 2-4 &mdash; для
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2796 медленного.
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2797 </para></listitem>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2798 <listitem><para>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2799 <emphasis role="bold">predia</emphasis>: предпроход поиска движения.
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
2800 Не так важен, как dia. Хорошими являются значения от 1 (по умолчанию) до 4.
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2801 Требует preme=2, чтобы быть действительно полезным.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2802 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2803 <listitem><para>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2804 <emphasis role="bold">cmp, subcmp, precmp</emphasis>: Функция сравнения для
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2805 поиска движения.
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
2806 Поэкспериментируйте со значениями 0 (по умолчанию), 2 (hadamard), 3 (dct), и 6
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2807 (соотношение сигнал-шум).
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2808 0 &mdash; самый быстрый и достаточен для precmp.
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
2809 В случае cmp и subcmp, 2 является хорошим для аниме, а 3 для живой съемки.
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2810 6 может оказаться лучше, а может и нет, но он медленнее.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2811 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2812 <listitem><para>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2813 <emphasis role="bold">last_pred</emphasis>: Количество предсказателей
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2814 движения, берущихся из предыдущего кадра.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2815 1-3 или около того помогут Вам ценой небольшой потери в скорости.
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2816 Большие значения медленны и не дают дополнительного улучшения.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2817 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2818 <listitem><para>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2819 <emphasis role="bold">cbp, mv0</emphasis>: Контролирует выбор макроблоков.
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2820 Незначительное снижение скорости с небольшим приростом в качестве.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2821 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2822 <listitem><para>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2823 <emphasis role="bold">qprd</emphasis>: адаптивное квантование, основанное на
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2824 сложности макроблока.
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2825 Может сделать лучше или хуже в зависимости от видео и других опций.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2826 Она также может привести к появлению артефактов, если Вы не установите vqmax в
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2827 некоторое разумно малое значение
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2828 (хорошо &mdash; 6, может быть даже 4); vqmin=1 также может помочь.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2829 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2830 <listitem><para>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2831 <emphasis role="bold">qns</emphasis>: очень медленно, особенно в комбинации с qprd.
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2832 Эта опция укажет кодировщику минимизировать шум от артефактов сжатия вместо
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
2833 создания закодированного видео, полностью соответствующего исходному.
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2834 Не используйте ее, если только не перепробовали настроить все, что было
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2835 возможно, а результат все таки недостаточно хорош.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2836 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2837 <listitem><para>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2838 <emphasis role="bold">vqcomp</emphasis>: Настраивает управление битпотоком.
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
2839 Какие значения являются хорошими, зависит от фильма.
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
2840 Если хотите, можете без опаски оставить значение по умолчанию.
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2841 Уменьшение vqcomp отдает больше бит в сцены с низкой сложностью, увеличение
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
2842 его передает биты в очень сложные сцены (по умолчанию: 0.5, диапазон: 0-1.
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2843 рекомендуемый диапазон: 0.5-0.7).
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2844 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2845 <listitem><para>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2846 <emphasis role="bold">vlelim, vcelim</emphasis>: Устанавливает порог
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2847 отбрасывания одиночного коэффициента для яркостной и цветностной плоскостей.
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2848 Они кодируются независимо во всех MPEG-похожих алгоритмах.
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2849 Идея этих опций заключается в использованию некоторой хорошей эвристики для
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2850 определения момента, когда изменения в блоке ниже указанного Вами порога, и что его
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2851 стоит кодировать как "блок без изменений".
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
2852 Это сохраняет биты и, возможно, ускоряет кодирование.
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2853 vlelim=-4 и vcelim=9 выглядят неплохими для живой съемки, но, скорее всего, не
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2854 помогут для аниме; при кодировании анимации Вам, возможно, следует оставить
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2855 эту опцию неизменной.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2856 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2857 <listitem><para>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2858 <emphasis role="bold">qpel</emphasis>: Четверьтпиксельная оценка движения.
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
2859 По-умолчанию, MPEG-4 использует полупиксельную точность для поиска движения,
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
2860 следовательно, эта опция вносит дополнительные накладные расходы, поскольку
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2861 сохраняет больше информации в закодированном файле.
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2862 Улучшение/ухудшение степени сжатия зависит от фильма, но обычно эта опция не
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2863 очень эффективна для аниме.
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2864 qpel всегда вносит значительный вклад в CPU время декодирования (+25% на
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2865 практике).
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2866 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2867 <listitem><para>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2868 <emphasis role="bold">psnr</emphasis>: не влияет на сам процесс кодирования,
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2869 но выводит в файл тип/размер/качество каждого кадра, а также итоговый
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2870 PSNR (Peak Signal to Noise Ratio, пиковое отношения сигнала к шуму) в конце
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
2871 процесса.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2872 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2873 </itemizedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2874
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2875 <itemizedlist>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2876 <title>Опции, с которыми играть не стоит:</title>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2877 <listitem><para>
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
2878 <emphasis role="bold">vme</emphasis>: Значение по умолчанию является лучшим.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2879 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2880 <listitem><para>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2881 <emphasis role="bold">lumi_mask, dark_mask</emphasis>: Психовизуальное
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2882 адаптивное квантование.
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2883 Не стоит играть с этими опциями, если заботитесь о качестве.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2884 Разумные значения могут быть эффективными в Вашем случае, но имейте в виду,
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2885 что это весьма субъективно.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2886 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2887 <listitem><para>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2888 <emphasis role="bold">scplx_mask</emphasis>: Пытается предотвратить появление
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
2889 квадратиков, но лучше выполнить постобработку.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2890 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2891 </itemizedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2892 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2893
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2894 <!-- ********** -->
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2895
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2896 <sect2 id="menc-feat-mpeg4-lavc-example-settings">
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2897 <title>Примеры настроек кодирования</title>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2898
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2899 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2900 Следующие настройки &mdash; это примеры различных комбинаций опций кодирования,
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2901 которые влияют на соотношение скорость-качество при той же величине целевого
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2902 биптотока.
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2903 </para>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2904
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2905 <para>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2906 Все настройки кодирования проверялись на тестовом видео 720x448 @30000/1001 fps
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2907 с целевым битпотоком 900кбит/сек, на машине AMD-64 3400+ с 2400 МГц и 64 битном режиме.
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2908 Для каждой настройки кодирования указаны измеренная скорость кодирования (в
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2909 кадрах в секунду) и потеря PSNR (в дБ) по сравнению с настройкой "очень высокое
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2910 качество". Поймите, пожалуйста, что в зависимости от Вашего материала, типа
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2911 машины, прогресса разработки Вы можете получить сильно отличающиеся результаты.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2912 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2913
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2914 <para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2915 <informaltable frame="all">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2916 <tgroup cols="4">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2917 <thead>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2918 <row>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2919 <entry>Описание</entry>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2920 <entry>Опции кодирования</entry>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2921 <entry>скорость (в fps)</entry>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2922 <entry>Относительная потеря PSNR (в дБ)</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2923 </row>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2924 </thead>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2925 <tbody>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2926 <row>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2927 <entry>Очень высокое качество</entry>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2928 <entry><option>vcodec=mpeg4:mbd=2:mv0:trell:v4mv:cbp:last_pred=3:predia=2:dia=2:vmax_b_frames=2:vb_strategy=1:precmp=2:cmp=2:subcmp=2:preme=2:qns=2</option></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2929 <entry>6fps</entry>
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
2930 <entry>0дБ</entry>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2931 </row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2932 <row>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2933 <entry>Высокое качество</entry>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2934 <entry><option>vcodec=mpeg4:mbd=2:trell:v4mv:last_pred=2:dia=-1:vmax_b_frames=2:vb_strategy=1:cmp=3:subcmp=3:precmp=0:vqcomp=0.6:turbo</option></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2935 <entry>15fps</entry>
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
2936 <entry>-0.5дБ</entry>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2937 </row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2938 <row>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2939 <entry>Быстрое</entry>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2940 <entry><option>vcodec=mpeg4:mbd=2:trell:v4mv:turbo</option></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2941 <entry>42fps</entry>
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
2942 <entry>-0.74дБ</entry>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2943 </row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2944 <row>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2945 <entry>Реального времени</entry>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2946 <entry><option>vcodec=mpeg4:mbd=2:turbo</option></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2947 <entry>54fps</entry>
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
2948 <entry>-1.21дБ</entry>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2949 </row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2950 </tbody>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2951 </tgroup>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2952 </informaltable>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2953 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2954 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2955
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2956 <!-- ********** -->
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2957
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
2958 <sect2 id="custommatrices">
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2959 <title>Нестандартные inter/intra матрицы</title>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2960
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2961 <para>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2962 С этой возможностью
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2963 <link linkend="ffmpeg"><systemitem
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2964 class="library">libavcodec</systemitem></link>,
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2965 Вы можете установить нестандартные inter (I-кадры/ключевые) и intra
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2966 (P-кадры/предсказанные) матрицы. Это поддерживается многими кодеками:
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2967 В <systemitem>mpeg1video</systemitem> и <systemitem>mpeg2video</systemitem>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2968 также заявлена поддержка.
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2969 </para>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2970
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2971 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
2972 Обычное использовании этой опции &mdash; установить матрицы, предпочитаемые
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2973 спецификациями <ulink url="http://www.kvcd.net/">KVCD</ulink>.
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2974 </para>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2975
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2976 <para>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
2977 <emphasis role="bold">KVCD Матрица Квантования "Notch":</emphasis>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2978 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2979
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2980 <para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2981 Intra:
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2982 <screen>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2983 8 9 12 22 26 27 29 34
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2984 9 10 14 26 27 29 34 37
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2985 12 14 18 27 29 34 37 38
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2986 22 26 27 31 36 37 38 40
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2987 26 27 29 36 39 38 40 48
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2988 27 29 34 37 38 40 48 58
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2989 29 34 37 38 40 48 58 69
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2990 34 37 38 40 48 58 69 79
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2991 </screen>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2992
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2993 Inter:
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2994 <screen>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2995 16 18 20 22 24 26 28 30
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2996 18 20 22 24 26 28 30 32
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2997 20 22 24 26 28 30 32 34
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2998 22 24 26 30 32 32 34 36
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
2999 24 26 28 32 34 34 36 38
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3000 26 28 30 32 34 36 38 40
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3001 28 30 32 34 36 38 42 42
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3002 30 32 34 36 38 40 42 44
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3003 </screen>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3004 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3005
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3006 <para>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3007 Использование:
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3008 <screen>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3009 mencoder <replaceable>input.avi</replaceable> -o <replaceable>output.avi</replaceable> -oac copy -ovc lavc \
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3010 -lavcopts inter_matrix=...:intra_matrix=...
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3011 </screen>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3012 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3013
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3014 <para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3015 <screen>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3016 mencoder <replaceable>input.avi</replaceable> -ovc lavc -lavcopts \
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3017 vcodec=mpeg2video:intra_matrix=8,9,12,22,26,27,29,34,9,10,14,26,27,29,34,37,\
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3018 12,14,18,27,29,34,37,38,22,26,27,31,36,37,38,40,26,27,29,36,39,38,40,48,27,\
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3019 29,34,37,38,40,48,58,29,34,37,38,40,48,58,69,34,37,38,40,48,58,69,79\
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3020 :inter_matrix=16,18,20,22,24,26,28,30,18,20,22,24,26,28,30,32,20,22,24,26,\
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3021 28,30,32,34,22,24,26,30,32,32,34,36,24,26,28,32,34,34,36,38,26,28,30,32,34,\
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3022 36,38,40,28,30,32,34,36,38,42,42,30,32,34,36,38,40,42,44 -oac copy -o svcd.mpg
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3023 </screen>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3024 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3025 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3026
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3027 <!-- ********** -->
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3028
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3029 <sect2 id="menc-feat-dvd-mpeg4-example">
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3030 <title>Пример</title>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3031
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3032 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3033 Итак, Вы только что купили новенькую, блестящую копию фильма "Гарри Поттер и Тайная
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3034 Комната" (в широкоэкранном формате, конечно) и хотите сделать рип этого DVD так,
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3035 чтобы добавить его к Домашнему кинотеатру на PC. Это DVD первого региона,
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3036 поэтому NTSC. Пример ниже также применим и для PAL, за исключением того, что
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3037 надо будет опустить <option>-ofps 24000/1001</option> (поскольку частота кадров
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3038 на выходе такая же, как и на входе), и, конечно, границы обрезания будут
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3039 другими.
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3040 </para>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3041
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3042 <para>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3043 После запуска <option>mplayer dvd://1</option> мы следуем процессу, детально
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3044 описанному в разделе <link linkend="menc-feat-telecine">Как работать с телесином
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
3045 и чересстрочностью в NTSC DVD</link>, и выясняем, что это 24000/1001 fps
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3046 построчное видео, а значит, использовать фильтры обратного телесина,
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3047 такие как <option>pullup</option> или <option>filmdint</option> не нужно.
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3048 </para>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3049
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3050 <para id="menc-feat-dvd-mpeg4-example-crop">
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3051 Далее, мы хотим определить верные границы обрезания, поэтому используем фильтр
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3052 cropdetect:
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3053 <screen>mplayer dvd://1 -vf cropdetect</screen>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3054 Убедитесь, что переместились к полностью заполненному кадру (например,
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3055 к светлой сцене после пропущенных начальных титров и логотипов),
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3056 Вы должны увидеть в консоли <application>MPlayer</application>:
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3057 <screen>crop area: X: 0..719 Y: 57..419 (-vf crop=720:362:0:58)</screen>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3058 Затем снова воспроизводим фильм с этим фильтром для проверки его корректности:
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3059 <screen>mplayer dvd://1 -vf crop=720:362:0:58</screen>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3060 И убеждаемся, что все выглядит прекрасно. Далее, проверяем, что ширина и высота
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3061 делятся на 16. С шириной все в порядке, а с высотой &mdash; нет.
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3062 Поскольку мы не заваливали математику в 7-ом классе, то знаем, что ближайшее
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3063 целое, меньшее 362 и кратное 16, равно 352.
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3064 </para>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3065
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3066 <para>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3067 Мы могли бы просто использовать <option>crop=720:352:0:58</option>, но будет
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3068 лучше отрезать понемногу от верха и низа, чтобы центр остался на месте.
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3069 Мы уменьшили высоту на 10 пикселов, но не хотим увеличивать смещение по y на 5,
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3070 поскольку это нечетное число и отрицательно скажется на качестве.
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3071 Вместо этого, мы увеличим y на 4:
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3072 <screen>mplayer dvd://1 -vf crop=720:352:0:62</screen>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3073 Другая причина, по которой мы урезаем пикселы сверху и снизу, заключаемся в том,
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3074 что мы хотим убедиться, что удалены все наполовину черные пикселы, если они есть.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3075 Если Ваше видео подвержено телесину, убедитесь, что фильтр <option>pullup</option> (или
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3076 любой другой фильтр обратного телесина, который Вы решили использовать)
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3077 находится в цепочке до фильтра crop.
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
3078 Если оно чересстрочное, то перед обрезкой проведите деинтерлейсинг.
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
3079 (Если решили сохранить чересстрочность видео, убедитесь, что вертикальный сдвиг
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3080 обрезания кратен 4.)
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3081 </para>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3082
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3083 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3084 Если Вас действительно заботит потеря этих 10 пикселов, Вы можете
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3085 вместо этого отмасштабировать фильм, уменьшив размерности до ближайших
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3086 кратных 16 значений.
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3087 Цепочка фильтров будет выглядеть примерно так:
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3088 <screen>-vf crop=720:362:0:58,scale=720:352</screen>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3089 Подобное уменьшение изображения будет означать потерю небольшого количества
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3090 деталей, хотя это, возможно, окажется незаметным. Масштабирование изображения в
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3091 сторону увеличения даст худшее качество (если Вы не увеличиваете битпоток).
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3092 Обрезка же полностью выбросит те пикселы. Это компромисс, идти на который или нет,
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3093 придется решать в каждом частном случае. Например, если DVD видео было создано
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3094 для телевидения, Вы можете захотеть избежать вертикального масштабирования,
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3095 поскольку дискретизация строк соответствует тому, как содержимое
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3096 изначально записывалось.
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3097 </para>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3098
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3099 <para>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3100 При проверке видим, что наш фильм имеет немного движения и большое количество
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3101 деталей, так что выбираем для битпотока значение 2400Кбит/сек.
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3102 </para>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3103
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3104 <para>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3105 Теперь мы готовы произвести двухпроходное кодирование. Проход первый:
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3106 <screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3107 mencoder dvd://1 -ofps 24000/1001 -oac copy -o <replaceable>Harry_Potter_2.avi</replaceable> -ovc lavc \
21839
006093adc56c r21848: clarify a few things about the interaction between *cmp and mbd options
voroshil
parents: 21792
diff changeset
3108 -lavcopts vcodec=mpeg4:vbitrate=2400:v4mv:mbd=2:trell:cmp=3:subcmp=3:autoaspect:vpass=1 \
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3109 -vf pullup,softskip,crop=720:352:0:62,hqdn3d=2:1:2
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3110 </screen>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3111 И второй проход с теми же параметрами, за исключением <option>vpass=2</option>:
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3112 <screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3113 mencoder dvd://1 -ofps 24000/1001 -oac copy -o <replaceable>Harry_Potter_2.avi</replaceable> -ovc lavc \
21839
006093adc56c r21848: clarify a few things about the interaction between *cmp and mbd options
voroshil
parents: 21792
diff changeset
3114 -lavcopts vcodec=mpeg4:vbitrate=2400:v4mv:mbd=2:trell:cmp=3:subcmp=3:autoaspect:vpass=2 \
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3115 -vf pullup,softskip,crop=720:352:0:62,hqdn3d=2:1:2
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3116 </screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3117 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3118
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3119 <para>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3120 Опции <option>v4mv:mbd=2:trell</option> значительно улучшат качество ценой
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3121 времени кодирования. Нет никаких оснований отключать эти
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3122 опции, когда главным критерием является качество. Опции
21839
006093adc56c r21848: clarify a few things about the interaction between *cmp and mbd options
voroshil
parents: 21792
diff changeset
3123 <option>cmp=3:subcmp=3</option> выбирают функцию сравнения, дающую
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3124 лучшее качество, чем стандартная. Вы можете поэкспериментировать с этим параметром
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3125 (возможные значения смотрите на man странице), поскольку разные функции могут
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3126 давать разный прирост в качестве в зависимости от исходного материала.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3127 Например, если Вы замечаете, что <systemitem class="library">libavcodec</systemitem>
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3128 производит слишком много блочных артефактов (квадратиков), то можете попытаться
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3129 выбрать экспериментальный NSSE в качестве функции сравнения при помощи опции
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3130 <option>*cmp=10</option>.
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3131 </para>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3132
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3133 <para>
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
3134 Для этого фильма полученный AVI будет 138 минут длинной и размером около 3Гб.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3135 И, поскольку Вы сказали, что размер файла значения не имеет, это вполне
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3136 приемлемый результат. Однако, если все-таки хотите получить меньший размер файла,
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3137 можете попробовать уменьшить битпоток. Увеличение битпотока имеет снижающийся эффект,
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3138 поэтому, хотя мы можем ясно видеть улучшение от 1800Кбит/сек до 2000Кбит/сек, оно
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3139 может быть не столь заметно выше 2000Кбит/сек.
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3140 </para>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3141
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3142 <para>
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3143 Так как мы пропустили исходное видео через фильтр удаления шума, то, возможно,
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3144 захочется вернуть какую-то его часть во время воспроизведения.
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
3145 Это, совместно с фильтром постобработки <option>spp</option>, существенно
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3146 улучшит воспринимаемое качество и поможет избежать блочных артефактов в видео.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3147 Опцией <option>autoq</option> <application>MPlayer</application>'а Вы можете
21672
7438195728a0 Translation of menc-feat-enc-libavcodec sect1 in encoding-guide.xml
voroshil
parents: 21598
diff changeset
3148 изменять величину производимой фильтром spp постобработки в зависимости от
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3149 доступных ресурсов CPU. Вдобавок, на этом этапе Вы можете захотеть применить
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3150 коррекцию гаммы и/или цвета для лучшего соответствия Вашему монитору. Например:
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3151 <screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3152 mplayer <replaceable>Harry_Potter_2.avi</replaceable> -vf spp,noise=9ah:5ah,eq2=1.2 -autoq 3
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3153 </screen>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3154 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3155 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3156 </sect1>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3157
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3158
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3159 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3160
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3161
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3162 <sect1 id="menc-feat-xvid">
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3163 <title>Кодирование кодеком <systemitem class="library">Xvid</systemitem></title>
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3164
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3165 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3166 <systemitem class="library">Xvid</systemitem> &mdash; это свободная библиотека для
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3167 кодирования MPEG-4 ASP видео потоков.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3168 Перед тем, как начать кодирование, Вам потребуется <link linkend="xvid">
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3169 настроить <application>MEncoder</application> для его поддержки</link>.
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3170 </para>
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3171
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3172 <para>
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3173 Это руководство в основном нацелено на особенности применения тех же методов,
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3174 что описаны в руководстве по кодированию с помощью x264.
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3175 Поэтому, сначала прочтите, пожалуйста,
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3176 <link linkend="menc-feat-x264-encoding-options-intro">первую часть</link>
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3177 того руководства.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3178 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3179
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3180 <!-- ********** -->
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3181
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3182 <sect2 id="menc-feat-xvid-intro">
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
3183 <title>Какие опции следует использовать для получения лучших результатов?</title>
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3184
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3185 <para>
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3186 Пожалуйста, начните с просмотра раздела
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3187 <systemitem class="library">Xvid</systemitem> man страницы
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3188 <application>MPlayer</application>.
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3189 Этот раздел предполагается как дополнение к man странице.
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3190 </para>
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3191
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3192 <para>
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3193 Настройки по умолчанию Xvid уже являются хорошим выбором между скоростью и
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3194 качеством, поэтому Вы можете без опасений придерживаться их, если следующий
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3195 раздел Вас озадачивает.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3196 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3197 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3198
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3199 <!-- ********** -->
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3200
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3201 <sect2 id="menc-feat-xvid-encoding-options">
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3202 <title>Опции кодирования <systemitem class="library">Xvid</systemitem></title>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3203
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3204 <itemizedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3205 <listitem><para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3206 <emphasis role="bold">vhq</emphasis>
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3207 Эта опция влияет на алгоритм принятия решений о макроблоке, чем выше значение, тем
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3208 мудрее будут решения.
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3209 Значение по умолчанию можно без опаски использовать для любого кодирования, в
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3210 то время, как более высокие значения всегда улучшат PSNR, но будут работать значительно
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3211 медленнее.
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
3212 Заметьте, пожалуйста, что лучший PSNR не обязательно означает лучше выглядящую
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3213 картинку, но говорит, что она ближе к оригиналу.
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3214 Отключение этой опции заметно ускоряет кодирование; это может быть достойным
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3215 компромиссом, если скорость Вам критична.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3216 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3217 <listitem><para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3218 <emphasis role="bold">bvhq</emphasis>
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3219 То же, что и vhq, но для B-кадров.
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3220 Имеет незначительное влияние на скорость и слегка улучшает качество (около
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3221 +0.1дБ).
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3222 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3223 <listitem><para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3224 <emphasis role="bold">max_bframes</emphasis>
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3225 Большее число допустимых последовательных B-кадров обычно улучшает
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3226 сжимаемость, хотя оно может также привести к большему количеству блочных
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3227 артефактов (квадратиков).
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3228 Значение по умолчанию &mdash; хороший выбор между сжимаемостью и качеством, но Вы
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3229 можете увеличить его до 3, если стеснены величиной битпотока.
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3230 Вы также можете уменьшить это значение до 1 или 0, если печетесь об отличном качестве,
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3231 впрочем в этом случае Вы должны убедиться, что целевой битпоток достаточно высок,
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3232 дабы кодировщик не увеличивал значение квантователя, сохраняя нужную величину
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3233 битпотока.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3234 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3235 <listitem><para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3236 <emphasis role="bold">bf_threshold</emphasis>
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3237 Управляет чувствительностью кодировщика к B-кадрам, где большие значения
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3238 приводят к использованию большего количества B-кадров (и наоборот).
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3239 Опция должна использоваться совместно с <option>max_bframes</option>;
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3240 если Вы стеснены величиной битпотока, то должны увеличить и
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3241 <option>max_bframes</option>, и <option>bf_threshold</option>,
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3242 в том время как увеличение <option>max_bframes</option> и уменьшение
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3243 <option>bf_threshold</option> позволят кодировщику использовать больше
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3244 B-кадров в местах, где это <emphasis role="bold">действительно</emphasis>
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3245 необходимо.
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3246 Низкое количество <option>max_bframes</option> и высокое значение
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3247 <option>bf_threshold</option> &mdash; это, возможно, не самое мудрое решение,
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3248 поскольку оно принудит кодировщик размещать B-кадры в местах, которые никак не
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3249 выиграют от этого, тем самым ухудшая визуальное качество.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3250 Однако, если Вам требуется совместимость с аппаратными
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3251 проигрывателями, поддерживающими только старые DivX профили (которые
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3252 поддерживают только 1 последовательный B-кадр), это единственный способ
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3253 увеличить сжимаемость при помощи B-кадров.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3254 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3255 <listitem><para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3256 <emphasis role="bold">trellis</emphasis>
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3257 Оптимизирует процесс квантования для получения оптимального
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3258 соотношения между PSNR и битпотоком, что позволяет существенно экономить биты.
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3259 Эти биты впоследствии будут потрачены на другие части видео, что приведет к
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3260 увеличению общего качества.
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3261 Следует всегда оставлять эту опцию включенной, поскольку ее влияние на
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3262 качество огромно. Даже если Вы заботитесь о скорости, не отключайте ее до тех
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3263 пор, пока не выставили <option>vhq</option> и остальные более CPU-прожорливые
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3264 опции на минимум.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3265 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3266 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3267 <emphasis role="bold">hq_ac</emphasis>
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3268 Активирует более точный метод оценки стоимости коэффициентов, что
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3269 уменьшает размер файла примерно на 0.15 - 0.19% (соответствует увеличению
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3270 PSNR меньше, чем на 0.01дБ), имея несущественное влияние на скорость.
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3271 Поэтому, рекомендуется всегда держать эту опцию включенной.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3272 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3273 <listitem><para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3274 <emphasis role="bold">cartoon</emphasis>
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3275 Разработана для лучшего кодирования мультфильмов и не влияет на скорость,
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3276 поскольку всего-лишь настраивает эвристики принятия решений о режимах для
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3277 этого типа содержимого.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3278 </para></listitem>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3279 <listitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3280 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3281 <emphasis role="bold">me_quality</emphasis>
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3282 Это опция для настройки точности оценки движения.
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3283 Чем выше <option>me_quality</option>, тем точнее будет оценка оригинального
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3284 движения и тем лучше получающийся отрывок будет фиксировать оригинальное движение.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3285 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3286
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3287 <para>
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3288 Настройка по умолчанию лучше во всех случаях, поэтому не рекомендуется ее
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3289 выключать, если только Вы действительно не гонитесь за скоростью, поскольку
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3290 биты, сэкономленные хорошей оценкой движения, могут быть использованы
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3291 где-нибудь еще, увеличивая общее качество.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3292 Таким образом, не используйте значения ниже 5, да и его &mdash; только в крайнем
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3293 случае.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3294 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3295 </listitem>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3296 <listitem><para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3297 <emphasis role="bold">chroma_me</emphasis>
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3298 Улучшает оценку движения, дополнительно принимая во внимание информацию о
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3299 цвете, тогда как одна <option>me_quality</option> использует только яркость.
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3300 Это замедляет кодирование на 5-10%, но несколько улучшает визуальное качество,
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3301 уменьшая эффект блочности и сокращая размер файла примерно на 1.3%.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3302 Если Вас интересует скорость, следует попробовать отключить эту опцию, прежде
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3303 чем решите уменьшать значение <option>me_quality</option>.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3304 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3305 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3306 <emphasis role="bold">chroma_opt</emphasis>
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3307 Эта опция служит для увеличения качества цветного изображения вокруг чисто черных/белых
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
3308 границ вместо улучшения сжатия. Она также может помочь против
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3309 эффекта "красных ступенек".
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3310 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3311 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3312 <emphasis role="bold">lumi_mask</emphasis>
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3313 Пытается отдать меньший битпоток областям изображения, которые
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
3314 человеческий глаз не в состоянии увидеть достаточно хорошо, что
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3315 позволит кодировщику потратить сэкономленные биты на более важные
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3316 части картинки. Качество закодированного материала, привнесенное этой
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3317 опцией, сильно зависит от личных предпочтений и от типа и настроек монитора,
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3318 использовавшегося для просмотра (обычно результат выглядит не очень хорошо,
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3319 если он яркий, или является TFT монитором).
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3320 </para></listitem>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3321 <listitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3322 <para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3323 <emphasis role="bold">qpel</emphasis>
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3324 Увеличивает количество предполагаемых векторов движения, путём повышения
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3325 точности оценки движения с полупиксельной до четвертьпиксельной.
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3326 Идея состоит в том, чтобы найти лучшие векторы движения, которые взамен
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3327 уменьшат битпоток (тем самым увеличивая качество).
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3328 Однако, векторы движения с четверьтпиксельной точностью требуют большего
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3329 количества дополнительных бит для кодирования, а векторы-кандидаты не всегда
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3330 дают (значительно) лучшие результаты.
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3331 Достаточно часто кодек тратит дополнительные биты на повышенную точность
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3332 впустую, а взамен получает или вообще ничего, или небольшое увеличение качества.
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3333 К сожалению, нет способа предсказать возможные улучшения от <option>qpel</option>,
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3334 так что Вам придется сделать кодирование с ней и без нее, чтобы знать
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3335 наверняка.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3336 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3337
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3338 <para>
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3339 <option>qpel</option> может почти удвоить время кодирования и
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3340 требует, как минимум, на 25% большей мощности при декодировании.
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3341 Она поддерживается не всеми аппаратными проигрывателями.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3342 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3343 </listitem>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3344 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3345 <emphasis role="bold">gmc</emphasis>
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3346 Пытается сэкономить биты в панорамных сценах, используя один вектор
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3347 движения для всего кадра. Это почти всегда увеличивает PSNR, но заметно
21694
voroshil
parents: 21684
diff changeset
3348 замедляет кодирование (так же как и декодирование).
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3349 Поэтому Вас следует использовать ее, только когда Вы включили
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3350 <option>vhq</option> на максимум.
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3351 GMC <systemitem class="library">Xvid</systemitem>'а является более сложным,
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3352 чем у DivX'а, но поддерживается только некоторыми аппаратными проигрывателями.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3353 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3354 </itemizedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3355 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3356
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3357 <!-- ********** -->
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3358
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3359 <sect2 id="menc-feat-xvid-encoding-profiles">
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3360 <title>Профили кодирования</title>
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3361
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3362 <para>
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3363 Xvid поддерживает профили кодирования через опцию <option>profile</option>,
21694
voroshil
parents: 21684
diff changeset
3364 которая используется для накладывания ограничений на значения видео потока Xvid таким
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3365 образом, что он будет воспроизводиться на всем, что поддерживает выбранный
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3366 профиль.
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3367 Ограничения относятся к разрешению, битпотоку и некоторым возможностям MPEG-4.
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3368 Следующая таблица показывает, что поддерживает тот или иной профиль.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3369 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3370
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3371 <informaltable>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3372 <tgroup cols="16" align="center">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3373 <colspec colnum="1" colname="col1"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3374 <colspec colnum="2" colname="col2"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3375 <colspec colnum="3" colname="col3"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3376 <colspec colnum="4" colname="col4"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3377 <colspec colnum="5" colname="col5"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3378 <colspec colnum="6" colname="col6"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3379 <colspec colnum="7" colname="col7"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3380 <colspec colnum="8" colname="col8"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3381 <colspec colnum="9" colname="col9"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3382 <colspec colnum="10" colname="col10"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3383 <colspec colnum="11" colname="col11"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3384 <colspec colnum="12" colname="col12"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3385 <colspec colnum="13" colname="col13"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3386 <colspec colnum="14" colname="col14"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3387 <colspec colnum="15" colname="col15"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3388 <colspec colnum="16" colname="col16"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3389 <colspec colnum="17" colname="col17"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3390 <spanspec spanname="spa2-5" namest="col2" nameend="col5"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3391 <spanspec spanname="spa6-11" namest="col6" nameend="col11"/>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3392 <spanspec spanname="spa12-17" namest="col12" nameend="col17"/>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3393 <tbody>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3394 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3395 <entry></entry>
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3396 <entry spanname="spa2-5">Простой</entry>
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3397 <entry spanname="spa6-11">Расширенный простой</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3398 <entry spanname="spa12-17">DivX</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3399 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3400 <row>
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3401 <entry>Название профиля</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3402 <entry>0</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3403 <entry>1</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3404 <entry>2</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3405 <entry>3</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3406 <entry>0</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3407 <entry>1</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3408 <entry>2</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3409 <entry>3</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3410 <entry>4</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3411 <entry>5</entry>
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3412 <entry>Карманный</entry>
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3413 <entry>Портативный NTSC</entry>
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3414 <entry>Портативный PAL</entry>
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3415 <entry>Домашний кинотеатр NTSC</entry>
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3416 <entry>Домашний кинотеатр PAL</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3417 <entry>HDTV</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3418 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3419 <row>
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3420 <entry>Ширина [пикселов]</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3421 <entry>176</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3422 <entry>176</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3423 <entry>352</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3424 <entry>352</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3425 <entry>176</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3426 <entry>176</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3427 <entry>352</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3428 <entry>352</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3429 <entry>352</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3430 <entry>720</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3431 <entry>176</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3432 <entry>352</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3433 <entry>352</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3434 <entry>720</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3435 <entry>720</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3436 <entry>1280</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3437 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3438 <row>
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3439 <entry>Высота [пикселов]</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3440 <entry>144</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3441 <entry>144</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3442 <entry>288</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3443 <entry>288</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3444 <entry>144</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3445 <entry>144</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3446 <entry>288</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3447 <entry>288</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3448 <entry>576</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3449 <entry>576</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3450 <entry>144</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3451 <entry>240</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3452 <entry>288</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3453 <entry>480</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3454 <entry>576</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3455 <entry>720</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3456 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3457 <row>
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3458 <entry>Частота кадров [fps]</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3459 <entry>15</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3460 <entry>15</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3461 <entry>15</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3462 <entry>15</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3463 <entry>30</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3464 <entry>30</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3465 <entry>15</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3466 <entry>30</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3467 <entry>30</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3468 <entry>30</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3469 <entry>15</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3470 <entry>30</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3471 <entry>25</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3472 <entry>30</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3473 <entry>25</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3474 <entry>30</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3475 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3476 <row>
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3477 <entry>Максимальный средний битпоток [кбит/сек]</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3478 <entry>64</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3479 <entry>64</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3480 <entry>128</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3481 <entry>384</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3482 <entry>128</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3483 <entry>128</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3484 <entry>384</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3485 <entry>768</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3486 <entry>3000</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3487 <entry>8000</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3488 <entry>537.6</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3489 <entry>4854</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3490 <entry>4854</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3491 <entry>4854</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3492 <entry>4854</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3493 <entry>9708.4</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3494 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3495 <row>
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3496 <entry>Пиковое значение средней величины битпотока за 3 секунды [кбит/сек]</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3497 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3498 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3499 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3500 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3501 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3502 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3503 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3504 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3505 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3506 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3507 <entry>800</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3508 <entry>8000</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3509 <entry>8000</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3510 <entry>8000</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3511 <entry>8000</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3512 <entry>16000</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3513 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3514 <row>
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3515 <entry>Макс. B-кадров</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3516 <entry>0</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3517 <entry>0</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3518 <entry>0</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3519 <entry>0</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3520 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3521 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3522 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3523 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3524 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3525 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3526 <entry>0</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3527 <entry>1</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3528 <entry>1</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3529 <entry>1</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3530 <entry>1</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3531 <entry>2</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3532 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3533 <row>
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3534 <entry>MPEG квантование</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3535 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3536 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3537 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3538 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3539 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3540 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3541 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3542 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3543 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3544 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3545 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3546 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3547 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3548 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3549 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3550 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3551 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3552 <row>
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3553 <entry>Адаптивное квантование</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3554 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3555 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3556 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3557 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3558 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3559 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3560 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3561 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3562 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3563 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3564 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3565 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3566 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3567 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3568 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3569 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3570 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3571 <row>
21700
68248f4e3027 Typos, spelling fixes
voroshil
parents: 21694
diff changeset
3572 <entry>Чересстрочное кодирование</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3573 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3574 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3575 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3576 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3577 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3578 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3579 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3580 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3581 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3582 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3583 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3584 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3585 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3586 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3587 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3588 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3589 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3590 <row>
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3591 <entry>Четвертьпиксельная точность</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3592 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3593 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3594 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3595 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3596 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3597 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3598 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3599 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3600 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3601 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3602 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3603 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3604 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3605 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3606 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3607 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3608 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3609 <row>
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3610 <entry>Глобальная компенсация движения</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3611 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3612 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3613 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3614 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3615 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3616 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3617 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3618 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3619 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3620 <entry>X</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3621 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3622 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3623 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3624 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3625 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3626 <entry></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3627 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3628 </tbody>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3629 </tgroup>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3630 </informaltable>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3631 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3632
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3633 <!-- ********** -->
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3634
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3635 <sect2 id="menc-feat-xvid-example-settings">
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3636 <title>Примеры настроек кодирования</title>
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3637
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3638 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3639 Последующие настройки &mdash; это примеры различных комбинаций опций кодирования,
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3640 которые влияют на соотношения скорость-качество при той же величине целевого
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3641 битпотока.
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3642 </para>
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3643
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3644 <para>
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3645 Все настройки кодирования проверялись на тестовом видео 720x448 @30000/1001 fps
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3646 с целевым битпотоком 900кбит/сек, на машине AMD-64 3400+ с 2400 МГц и 64 битном режиме.
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3647 Для каждой настройки кодирования указаны измеренная скорость кодирования (в
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3648 кадрах в секунду) и потеря PSNR (в дБ) по сравнению с настройкой "очень высокое
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3649 качество". Поймите, пожалуйста, что в зависимости от Вашего материала, типа
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3650 машины, прогресса разработки, Вы можете получить сильно отличающиеся результаты.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3651 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3652
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3653 <informaltable frame="all">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3654 <tgroup cols="4">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3655 <thead>
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3656 <row><entry>Описание</entry><entry>Опции кодирования</entry><entry>скорость
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3657 (в fps)</entry><entry>Относительная потеря PSNR (в дБ)</entry></row>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3658 </thead>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3659 <tbody>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3660 <row>
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3661 <entry>Очень высокое качество</entry>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3662 <entry><option>chroma_opt:vhq=4:bvhq=1:quant_type=mpeg</option></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3663 <entry>16fps</entry>
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3664 <entry>0дБ</entry>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3665 </row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3666 <row>
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3667 <entry>Высокое качество</entry>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3668 <entry><option>vhq=2:bvhq=1:chroma_opt:quant_type=mpeg</option></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3669 <entry>18fps</entry>
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3670 <entry>-0.1дБ</entry>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3671 </row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3672 <row>
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3673 <entry>Быстрое</entry>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3674 <entry><option>turbo:vhq=0</option></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3675 <entry>28fps</entry>
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3676 <entry>-0.69дБ</entry>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3677 </row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3678 <row>
21680
e09ef4ecdb30 Translation of menc-feat-xvid sect1 in encoding-guide.xml
voroshil
parents: 21672
diff changeset
3679 <entry>Реального времени</entry>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3680 <entry><option>turbo:nochroma_me:notrellis:max_bframes=0:vhq=0</option></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3681 <entry>38fps</entry>
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3682 <entry>-1.48дБ</entry>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3683 </row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3684 </tbody>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3685 </tgroup>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3686 </informaltable>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3687 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3688 </sect1>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3689
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3690
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3691 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3692
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3693
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3694 <sect1 id="menc-feat-x264">
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3695 <title>Кодирование кодеком <systemitem class="library">x264</systemitem></title>
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3696 <para>
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3697 <systemitem class="library">x264</systemitem> &mdash; это свободная библиотека для
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3698 кодирования H.264/AVC видео потоков.
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3699 Перед началом кодирования Вы должны <link linkend="codec-x264-encode">
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3700 настроить <application>MEncoder</application> для его поддержки</link>.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3701 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3702
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3703 <!-- ********** -->
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3704
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3705 <sect2 id="menc-feat-x264-encoding-options">
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3706 <title>Опции кодирования x264</title>
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3707
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3708 <para>
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3709 Начните, пожалуйста с просмотра раздела
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3710 <systemitem class="library">x264</systemitem>
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3711 man страницы <application>MPlayer</application>'а.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3712 Этот раздел предполагается быть дополнением к странице man.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3713 Здесь Вы найдете быстрые подсказки о том, какие опции чаще всего интересуют
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3714 большинство людей. Страница man более лаконична, но также более полна и порой
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3715 намного лучше преподносит технические детали.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3716 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3717
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3718
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3719 <sect3 id="menc-feat-x264-encoding-options-intro">
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3720 <title>Введение</title>
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3721
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3722 <para>
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3723 Это руководство рассматривает две главные категории опций кодирования:
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3724 </para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3726 <orderedlist>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3727 <listitem><para>
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3728 Опции, в основном влияющие на соотношение скорость-качество.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3729 </para></listitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3730 <listitem><para>
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3731 Опции, которые могут быть полезны для удовлетворения различных
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3732 пользовательский предпочтений и специальных требований.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3733 </para></listitem>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3734 </orderedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3735
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3736 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3737 В конце концов, только Вы можете решать какие опции являются лучшими для Ваших
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3738 целей. Решение для первого класса опций очень простое:
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3739 надо только определить, считаете ли Вы, что разница в качестве оправдывает разницу в
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3740 скорости. Для второго класса опций предпочтения могут быть значительно более
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3741 субъективными и зависеть от большего числа факторов.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3742 Имейте в виду, что некоторые из опций категории "пользовательских предпочтений и специальных
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3743 требований" могут все же иметь большое влияние на скорость или качество,
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3744 но это не основное их предназначение.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3745 Часть опций из "пользовательских предпочтений" могут даже привести к изменениям,
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3746 которые выглядят лучше для одних людей и хуже &mdash; для других.
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3747 </para>
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3748
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3749 <para>
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3750 Перед тем как продолжить, Вам придется понять, что это руководство использует
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3751 только одну метрику качества: глобальный PSNR.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3752 Краткое описание того, что такое PSNR, смотрите в
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3753 <ulink url="http://en.wikipedia.org/wiki/PSNR">статье Википедии о PSNR</ulink>.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3754 Глобальный PSNR &mdash; это последнее значение PSNR, выводимое на консоль, когда в
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3755 <option>x264encopts</option> включена опция <option>psnr</option>.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3756 Каждый раз, когда Вы читаете утверждения о PSNR, за ними скрывается
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3757 предположение, что используются одинаковые значения битпотока.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3758 </para>
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3759
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3760 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3761 Почти все комментарии этого руководства предполагают, что Вы используете два
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3762 прохода.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3763 Есть две основные причины использовать двухпроходное кодирование при сравнении
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3764 опций.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3765 Во-первых, использование двух проходов увеличивает PSNR примерно на 1дБ,
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3766 что является очень хорошим значением.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3767 Во-вторых, тестирование опций прямым сравнением качества при однопроходном
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3768 кодировании вводит основной сбивающий фактор: зачастую битпоток значительно
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3769 меняется при каждом кодировании.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3770 Не всегда можно с легкостью сказать, изменилось ли качество в основном за счет
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3771 изменения опций, или оно по большей части отражает случайные изменения
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3772 в полученном битпотоке.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3773 </para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3774 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3775
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3776
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3777 <sect3 id="menc-feat-x264-encoding-options-speedvquality">
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3778 <title>Опции, затрагивающие, в основном, скорость и качество</title>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3779
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3780 <itemizedlist>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3781 <listitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3782 <para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3783 <emphasis role="bold">subq</emphasis>:
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3784 Из всех опций, позволяющих выбирать между скоростью и качеством,
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3785 <option>subq</option> и <option>frameref</option> (смотрите ниже), пожалуй,
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3786 самые важные.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3787 Если Вы заинтересованы в тонкой настройке либо скорости, либо качества,
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3788 эти две &mdash; первое, с чего Вам стоит начать.
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3789 С точки зрения скорости, опции <option>frameref</option> и
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3790 <option>subq</option> очень жестко взаимодействуют друг с другом.
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3791 Опыт показывает, что с одним ссылочным кадром
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3792 <option>subq=5</option> (настройка по умолчанию) расходует на 35% больше
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3793 времени, чем <option>subq=1</option>.
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3794 С 6 ссылочными кадрами эта величина достигает 60%.
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3795 Эффект <option>subq</option> на PSNR выглядит довольно постоянным, в отличие
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3796 от количества ссылочных кадров.
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3797 Как правило, <option>subq=5</option> достигает значения глобального PSNR
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3798 на 0.2-0.5 дБ большего, чем при <option>subq=1</option>.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3799 Обычно этого достаточно, чтобы заметить.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3800 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3801
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3802 <para>
21940
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
3803 <option>subq=6</option> &mdash; медленнее и дает лучшее качество при разумной
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
3804 цене.
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3805 Если сравнивать с <option>subq=5</option>, он обычно дает на 0.1-0.4 дБ
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3806 больший глобальный PSNR ценой потери 25%-100% скорости.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3807 В отличие от остальных уровней <option>subq</option>, поведение
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3808 <option>subq=6</option> не так сильно зависит от <option>frameref</option>
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3809 и <option>me</option>. Вместо этого, эффективность <option>subq=6</option>
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3810 по большей части зависит от количества используемых B-кадров. При
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3811 обычном использовании это означает, что <option>subq=6</option> в сложных,
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3812 высокодинамичных сценах имеет большое влияние как на скорость, так и на
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3813 качество, но в сценах с малым количествах движения она не имеет такого
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3814 эффекта. Имейте в виду, что по-прежнему рекомендуется всегда устанавливать
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3815 <option>bframes</option> в значение, отличное от нуля (смотрите далее).
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3816 </para>
21940
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
3817 <para>
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
3818 <option>subq=7</option> &mdash; самый медленный режим с наилучшим качеством.
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
3819 По сравнению с <option>subq=6</option> он, обычно, улучшает общий PSNR на
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
3820 0.01-0.05 дБ ценой потери 15%-30% скорости.
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
3821 Поскольку соотношение качества и времени кодирования очень невелико, Вам
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
3822 следует использовать этот режим, только если боретесь за каждый бит, и время
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
3823 кодирования Вас не волнует.
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
3824 </para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3825 </listitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3826 <listitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3827 <para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3828 <emphasis role="bold">frameref</emphasis>:
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3829 <option>frameref</option> по умолчанию установлена в 1, но это не значит, что
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3830 ее стоит устанавливать в 1.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3831 Только увеличение <option>frameref</option> до 2 дает прирост PSNR примерно
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3832 на 0.15дБ за счет уменьшения скорости на 5-10%; похоже, что это неплохая цена.
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3833 <option>frameref=3</option> дает примерно 0.25дБ PSNR сверх
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3834 <option>frameref=1</option>, что должно быть видимой разницей.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3835 <option>frameref=3</option> медленнее примерно на 15%, чем
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3836 <option>frameref=1</option>.
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3837 К сожалению, улучшение очень быстро сходит на нет.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3838 От <option>frameref=6</option> можно ожидать прироста PSNR лишь на
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3839 0.05-0.1 дБ по сравнению с <option>frameref=3</option> с дополнительной
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3840 потерей 15% скорости.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3841 Выше <option>frameref=6</option> качество обычно увеличивается очень незначительно
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3842 (хотя на всем протяжении этой дискуссии Вам следует иметь в виду, оно может
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3843 значительно изменяться в зависимости от исходного материала).
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3844 В довольно типичном случае <option>frameref=12</option> улучшит глобальный
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3845 PSNR всего на 0.02дБ по сравнению с <option>frameref=6</option>,
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3846 ценой 15%-20% скорости.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3847 При таких высоких значениях <option>frameref</option>, единственная
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3848 действительно хорошая вешь, о которой может быть сказано, состоит в том, что
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3849 дальнейшее ее увеличение почти никогда не будет <emphasis
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3850 role="bold">вредить</emphasis> PSNR, но увеличение качества будет трудно даже
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3851 измерить, не говоря уже о его заметности.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3852 </para>
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3853 <note><title>Замечание:</title>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3854 <para>
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3855 Увеличение <option>frameref</option> до чрезмерно высоких значений
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3856 <emphasis role="bold">может</emphasis> и
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3857 <emphasis role="bold">обычно наносит</emphasis>
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3858 вред эффективности кодирования, если CABAC отключен.
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3859 С задействованным CABAC (настройка по умолчанию), возможность установки
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3860 <option>frameref</option> "слишком высоким" на данный момент выглядит слишком
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3861 далекой, чтобы об этом беспокоиться, а в будущем оптимизации могут вообще
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3862 убрать такую возможность.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3863 </para></note>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3864 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3865 Если Вас заботит скорость, разумным компромиссом будет использовать низкие
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3866 значения <option>subq</option> и <option>frameref</option> в первом проходе, а
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3867 затем увеличить их во втором. Обычно, это обладает ничтожным отрицательным
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3868 эффектом на конечное качество: Вы, возможно, потеряете вплоть до 0.1дБ PSNR,
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3869 что должно быть слишком малой разницей, чтобы её заметить.
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3870 Однако, различные значения <option>frameref</option> могут
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3871 иногда повлиять на решение о выборе типа кадра.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3872 Скорее всего, это довольно редкие крайние случаи, но если Вы хотите быть точно
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3873 уверенными, посмотрите, содержит ли Ваше видео полноэкранные
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3874 <!-- FIXME is translation correct? -->
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3875 периодически вспыхивающие изображения или очень большие паузы, которые могут стать
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3876 причиной принудительной вставки I-кадра.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3877 Настройте <option>frameref</option> в первом проходе так, чтобы
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3878 она была достаточно большой для содержания длительности цикла вспыхивания
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3879 (или паузы).
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3880 Например, если сцены вспыхивают и гаснут между двумя изображениями в течении
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3881 трёх кадров, установите <option>frameref</option> равным 3 или выше.
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3882 Эта проблема, возможно, очень редко появляется для живой съемки, но она иногда
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3883 возникает при записи видео игр.
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3884 </para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3885 </listitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3886 <listitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3887 <para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3888 <emphasis role="bold">me</emphasis>:
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3889 Эта опция используется для выбора метода оценки движения.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3890 Изменение этой опции оказывает прямое влияние на соотношение
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3891 скорость-качество. <option>me=dia</option> лишь на несколько процентов
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3892 быстрее, чем поиск по умолчанию, ценой не больше 0.1дБ глобального PSNR.
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3893 Значение по умолчанию (<option>me=hex</option>) &mdash; разумный выбор между скоростью
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3894 и качеством. <option>me=umh</option> немного, вплоть до 0.1дБ, улучшает
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3895 глобальный PSNR, соответствующее падение скорости меняется в
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3896 зависимости от <option>frameref</option>. С высокими значениями
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3897 <option>frameref</option> (например, 12 или около того), <option>me=umh</option>
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3898 примерно на 40% медленнее, чем настройка по умолчанию <option>me=hex</option>.
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3899 С <option>frameref=3</option>, падение скорости уменьшается до 25%-30%.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3900 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3901 <para>
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3902 <option>me=esa</option> использует исчерпывающий поиск, который работает
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3903 слишком медленно для практического применения.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3904 </para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3905 </listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3906 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3907 <emphasis role="bold">partitions=all</emphasis>:
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3908 Эта опция задействует использование сегментов 8x4, 4x8 и 4x4 в предсказанных
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3909 макроблоках (в дополнение к стандартным).
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3910 Ее включение приведет к довольно постоянной 10%-15% потере в скорости.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3911 Эта опция практически бесполезна для исходного материала, содержащего только
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3912 небольшое движение, тем не менее, для некоторого высокодинамичного материала,
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3913 особенно с большим количеством мелких движущихся объектов, следует ожидать
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3914 прироста около 0.1дБ.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3915 </para></listitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3916 <listitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3917 <para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3918 <emphasis role="bold">bframes</emphasis>:
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3919 Если Вы занимались кодированием с другими кодеками, то могли заметить, что
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3920 B-кадры не всегда полезны.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3921 В H.264 это изменилось: есть новые техники и типы блоков, возможные в B-кадрах.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3922 Обычно, даже примитивный алгоритм выбора B-кадров может дать значимую
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3923 выгоду для PSNR.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3924 Интересно заметить, что использование B-кадров обычно отчасти ускоряет второй
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3925 проход, а также может ускорить однопроходное кодирование, если отключено
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3926 адаптивное принятие решения о B-кадрах.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3927 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3928 <para>
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3929 С отключенным адаптивным принятием решения о B-кадрах
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3930 (<option>nob_adapt</option> в <option>x264encopts</option>),
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3931 оптимальное значение этой опции обычно не превышает
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3932 <option>bframes=1</option>, иначе могут пострадать высокодинамичные сцены.
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3933 С включенным адаптивным принятием решения о B-кадрах (поведение по умолчанию),
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3934 можно безопасно использовать более высокие значения; кодировщик уменьшит
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3935 количество B-кадров в сценах, где они повредят сжатию.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3936 Кодировщик редко решает использовать больше, чем 3 или 4 B-кадра;
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3937 установка этой опции в любое более высокое значение не будет иметь большого
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3938 эффекта.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3939 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3940 </listitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3941 <listitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3942 <para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3943 <emphasis role="bold">b_adapt</emphasis>:
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3944 Заметьте: она включена по умолчанию.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3945 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3946 <para>
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3947 Когда эта опция включена, кодировщик будет использовать разумно
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3948 быстрый процесс принятия решения для уменьшения количества B-кадров,
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3949 используемых в сценах, которые от этого не сильно выиграют.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3950 Вы можете использовать <option>b_bias</option> для тонкой настройки того,
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3951 насколько "счастлив" будет кодировщик использованию B-кадров.
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3952 Потеря в скорости при использовании адаптивных B-кадров на данный момент
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3953 весьма невелика, но таково же и потенциальное улучшение качества.
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3954 Тем не менее, хуже от этого обычно не становится.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3955 Заметьте, что эта опция влияет на скорость и решение о типе кадра только в первом
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3956 проходе.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3957 <option>b_adapt</option> и <option>b_bias</option> не имеют эффекта в
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3958 последующих проходах.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3959 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3960 </listitem>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3961 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3962 <emphasis role="bold">b_pyramid</emphasis>:
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3963 С тем же успехом Вы можете включить эту опцию, если используете >=2 B-кадров;
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
3964 Вы получите небольшое улучшение качества без потери в скорости, как и говорит
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3965 man руководство.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3966 Имейте в виду, что такое видео не может быть прочитано основанными на
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3967 libavcodec декодерами, созданными ранее, чем примерно 5 Марта 2005.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3968 </para></listitem>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3969 <listitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3970 <para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
3971 <emphasis role="bold">weight_b</emphasis>:
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3972 В обычных случаях эта опция не дает большого улучшения.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3973 Однако, в проявляющихся или затухающих сценах взвешенное предсказание дает
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3974 довольно большую экономию битпотока.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3975 В MPEG-4 ASP затухание обычно лучше кодируется последовательностью дорогих
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3976 I-кадров; использование взвешенного предсказания в B-кадрах делает возможным
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3977 преобразовать хотя бы часть из них в значительно более меньшие B-кадры.
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3978 Потери в скорости кодирования минимальны, поскольку не требуется делать
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3979 дополнительные принятия решений.
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3980 Вдобавок, вопреки расхожему мнению, взвешенное предсказание не
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3981 сильно влияет на требования декодера к CPU при прочих равных условиях.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3982 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3983 <para>
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3984 К сожалению, текущий алгоритм адаптивного принятия решений о B-кадрах имеет
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3985 твердую склонность к избеганию использования B-кадров при затуханиях.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3986 До тех пор, пока это не изменится, хорошей идеей, возможно, будет добавить
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
3987 <option>nob_adapt</option> к x264encopts, если предполагаете, что затухания
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
3988 будут давать существенный вклад в Вашем конкретном видеоклипе.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3989 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
3990 </listitem>
21940
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
3991 <listitem id="menc-feat-x264-encoding-options-speedquality-threads">
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
3992 <para>
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
3993 <emphasis role="bold">threads</emphasis>
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
3994 Эта опция позволяет породить потоки для параллельного кодирования на
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
3995 нескольких CPU. Вы можете вручную выбрать количество создаваемых потоков или,
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
3996 что лучше, установить <option>threads=auto</option> и позволить
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
3997 <systemitem class="library">x264</systemitem> определить количество доступных
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
3998 CPU и выбрать соответствующее количество потоков.
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
3999 Если у Вас многопроцессорная машина, Вам следует всерьез задуматься об
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
4000 использовании этой опции, так как она может увеличить скорость кодирования линейно
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
4001 в зависимости от числа CPU ядер (около 94% на ядро), незначительно уменьшая PSNR
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
4002 (примерно 0.005 дБ для двухпроцессорной, 0.01 дБ &mdash; для
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
4003 четырехпроцессорной машины).
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
4004 </para>
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
4005 </listitem>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4006 </itemizedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4007 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4008
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4009
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4010 <sect3 id="menc-feat-x264-encoding-options-misc-preferences">
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4011 <title>Опции, относящиеся к различным предпочтениям</title>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4012 <itemizedlist>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4013 <listitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4014 <para>
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4015 <emphasis role="bold">Двухпроходное кодирование</emphasis>:
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
4016 Выше советовалось всегда использовать кодирование в два прохода, но все же
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
4017 существуют причины этого не делать. Например, если Вы захватываете TV
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4018 трансляцию и кодируете в реальном времени, придется использовать однопроходный
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
4019 режим. К тому же один проход очевидно быстрее, чем два; если Вы используете
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4020 точно такой же набор опций в обоих случаях, двухпроходной режим медленнее
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
4021 почти вдвое.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4022 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4023 <para>
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4024 Все же существует очень хорошие причины использовать кодирование в два
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
4025 прохода. Во-первых, управление битпотоком однопроходного режима не
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4026 является телепатом и часто делает необоснованный выбор, потому что не может
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
4027 видеть общую картину. Например, предположим, что Вы имеете двухминутное видео,
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
4028 состоящее из двух независимых частей. Первая половина &mdash; очень динамичная
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4029 сцена, продолжающаяся 60 секунд и требующая сама по себе битпоток примерно
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
4030 2500 кбит/сек, чтобы прилично выглядеть. Сразу за ней следует гораздо менее
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4031 требовательная 60-секундная сцена, которая хорошо выглядит при 300 кбит/сек.
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
4032 Предположим, Вы запросили битпоток 1400 кбит/сек; в теории этого достаточно
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4033 для удовлетворения потребностей обеих сцен.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4034 В этом случае управление битпотоком в однопроходном режиме сделает пару "ошибок".
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4035 Во-первых, оно установит битпоток в 1400 кбит/сек для обеих частей. Первая
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4036 часть может оказаться чрезмерно квантованной, что приведет к
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
4037 недопустимо выглядящему и неоправданно блочному изображению. Вторая часть будет
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
4038 существенно недостаточно квантованной; она может выглядеть отлично, но цена
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
4039 битпотока для этого качества будет полностью неоправданной.
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4040 Чего намного труднее избежать, так это проблемы перехода между двумя
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4041 сценами. В первых секундах малодинамичной части квантователь будет чрезвычайно
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4042 превышен, потому что управление битпотоком все еще ожидает встретить такие же
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4043 требования к битпотоку как и в первой части. Этот "ошибочный период" с
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4044 чрезвычайно превышенным квантованием будет выглядеть раздражающе неприятно и
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4045 использовать на самом деле меньше, чем 300 кбит/сек, требуемых ему для того,
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4046 чтобы прилично выглядеть. Существуют способы смягчить эффект от подобных
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4047 подводных камней однопроходного режима, но они могут иметь склонность к
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4048 усилению неверного предсказания битпотока.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4049 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4050 <para>
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4051 Многопроходное кодирование может предложить огромные преимущества по сравнению
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4052 с однопроходным. Используя статистику, собранную при первом проходе,
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4053 кодировщик может оценить, с разумной точностью, "стоимость" (в битах)
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4054 кодирования любого заданного кадра при любом заданном квантователе.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4055 Это делает возможным намного более рациональное, лучше спланированное
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4056 распределение битов между дорогими (высокодинамичными) и дешевыми
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4057 (малодинамичными) сценами. Смотрите <option>qcomp</option> ниже, чтобы узнать
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
4058 некоторые идеи о том, как можно это распределение настроить по Вашему вкусу.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4059 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4060 <para>
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4061 Более того, два прохода занимают не двойное время по сравнению с одним.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4062 Вы можете настроить опции первого прохода на более быструю скорость и низкое
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
4063 качество. Если хорошо выберете опции, Вы получите очень быстрый первый проход.
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4064 Полученное качество во втором проходе будет несколько ниже, потому что
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4065 предсказание размера менее точно, но разница в качестве обычно слишком мала,
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4066 чтобы быть заметной. Попробуйте, например, добавить
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4067 <option>subq=1:frameref=1</option> в <option>x264encopts</option> первого
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4068 прохода. Затем, при втором проходе, используйте более медленные, с лучшим
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4069 качеством опции:
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4070 <option>subq=6:frameref=15:partitions=all:me=umh</option>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4071 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4072 </listitem>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4073 <listitem><para>
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4074 <emphasis role="bold">Кодирование в три прохода</emphasis>?
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4075 x264 предоставляет возможность делать желаемое количество последовательных
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
4076 проходов. Если Вы указали <option>pass=1</option> при первом проходе,
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4077 используйте затем <option>pass=3</option> в последующем проходе, этот проход
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
4078 будет одновременно читать статистику предыдущего прохода и записывать свою
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4079 собственную. Дополнительный проход, следующий за этим, будет иметь очень
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4080 хорошую основу для осуществления очень точных предсказаний размеров кадров при
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4081 выбранном квантователе. На практике, общее улучшение качества от использования
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4082 этого режима близко к нулю и, вполне возможно, третий проход приведет к
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4083 немного худшему глобальному PSNR, чем у предыдущего прохода.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
4084 При обычном использовании три прохода помогают, если Вы при двух проходах
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4085 получаете либо плохое предсказание битпотока, либо плохо выглядящие переходы
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
4086 между сценами. Это отчасти то, что наверняка будет происходить на очень
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4087 коротких клипах. Существуют также особые случаи, когда три (или более)
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4088 проходом удобны для продвинутых пользователей, но, для краткости, это
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4089 руководство не включает в себя описание этих особых случаев.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4090 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4091 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4092 <emphasis role="bold">qcomp</emphasis>:
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4093 <option>qcomp</option> управляет соотношением количества бит, отданных
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4094 "дорогим" высокодинамичным и "дешевым" малодинамичным кадрам. Один крайний
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
4095 случай: <option>qcomp=0</option>, предназначен для истинно постоянного
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4096 битпотока. Обычно это сделает высокодинамичные сцены выглядящими просто
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4097 ужасно, в то время как малодинамичные сцены будут, возможно, выглядеть
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
4098 абсолютно великолепно, но при этом будут использовать во много раз больший
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
4099 битпоток, чем им необходимо, чтобы выглядеть лишь превосходно.
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
4100 Другая крайность: <option>qcomp=1</option>, добивается примерно одинакового
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
4101 параметра квантования (QP). Постоянный QP не выглядит плохо, но большинство
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4102 людей думают, что более разумно частично снизить битпоток в сильно
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4103 дорогих сценах (где потеря качества не очень заметна) и перераспределить их в
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4104 сцены, которые легче закодировать с отличным качеством.
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
4105 <option>qcomp</option> по умолчанию установлена в 0.6, что по мнению многих
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4106 людей может быть несколько мало (также часто используется 0.7-0.8).
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4107 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4108 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4109 <emphasis role="bold">keyint</emphasis>:
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
4110 <option>keyint</option> &mdash; единственная возможность выбора между удобством
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4111 перемещения по файлу и эффективностью кодирования. По-умолчанию
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4112 <option>keyint</option> установлена в 250. В материале с 25fps это гарантирует
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
4113 возможность перемещения с точностью до 10 секунд. Если Вы считаете, что более
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4114 важным и полезным будет перемещение с точностью до 5 секунд, установите
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
4115 <option>keyint=125</option>; это немного ухудшит качество/битпоток. Если Вы
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
4116 заботитесь только о качестве, но не о перемещаемости, Вы можете установить
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4117 значение этой опции в более высокое значение (понимая, что улучшение будет
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4118 убывающим, вплоть до исчезающе малого или даже нулевого). Видео поток
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4119 по-прежнему будет иметь точки перемещения, пока в нем есть какие-то изменения
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4120 сцен.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4121 </para></listitem>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4122 <listitem>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4123 <para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4124 <emphasis role="bold">deblock</emphasis>:
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4125 Этот раздел может быть несколько спорным.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4126 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4127 <para>
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4128 H.264 определяет простую процедуру удаления блочности в I-блоках, которая
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4129 использует предустановленные степени обработки и пороговые значения в
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
4130 зависимости от QP рассматриваемого блока.
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4131 По-умолчанию, блоки с высоким QP обрабатываются сильнее, а в блоках с низким
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4132 QP удаление блочности вообще не производится.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4133 Предустановленые степени обработки, определенные стандартом, тщательно подобраны
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
4134 и имеют хорошие шансы быть PSNR-оптимальными для любого видео, которое Вы
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4135 пытаетесь кодировать.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4136 Опция <option>deblock</option> позволяет указать смещения предустановленных
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4137 пороговых значений деблокинга.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4138 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4139 <para>
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4140 Похоже, многие думают, что хорошей идеей является значительное уменьшение силы
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4141 воздействия фильтра деблокинга (читай, -3).
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4142 Это, однако, почти никогда не является хорошей идеей, и, люди, это делающие, в большинстве
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4143 случаев не совсем хорошо понимают, как работает удаление
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
4144 блочности по умолчанию.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4145 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4146 <para>
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
4147 <!-- FIXME: Можно ли как-то перевести in-loop? -->
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4148 Первая и самая важная вещь, которую нужно знать о in-loop фильтре удаления
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
4149 блочности состоит в том, что пороговые значения по умолчанию практически
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4150 всегда PSNR-оптимальны.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4151 В редких случаях, где они неоптимальны, идеальное смещение будет плюс минус 1.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4152 Изменение параметров деблокинга на большие значения фактически гарантирует
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4153 ухудшение PSNR.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
4154 Усиление фильтра размажет больше деталей; ослабление &mdash; оставит больше квадратиков.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4155 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4156 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
4157 По определению плохая идея уменьшать пороги деблокинга, если Ваш исходный
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4158 материал в основном имеет небольшую пространственную сложность (т.е. не имеет
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4159 множества деталей или шума).
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4160 In-loop фильтр делает весьма неплохую работу по сокрытию появляющихся
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4161 артефактов. Однако, если исходный материал имеет высокую пространственную
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4162 сложность, артефакты будут практически незаметны.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4163 Это происходит потому, что ореолы имеют склонность выглядеть как детали или
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4164 шум. Зрительное восприятие легко замечает отсутствие деталей, но ему не так
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4165 легко обратить внимание на неверно изображенный шум.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4166 Когда речь идет о субъективном качестве, шум и детали в некоторой степени
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4167 взаимозаменяемы.
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
4168 Уменьшая силу фильтра удаления блочности, Вы, скорее всего, увеличиваете ошибку,
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4169 добавляя ореолы, но глаз этого не замечает, поскольку он путает артефакты с
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4170 деталями.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4171 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4172 <para>
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4173 Однако, это <emphasis role="bold">по-прежнему</emphasis> не оправдывает
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4174 уменьшение силы фильтра. Вы в большинстве случаев можете получить более
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4175 качественный шум при помощи постобработки.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4176 Если результат кодирования при помощи H.264 выглядит слишком смазанным или
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4177 размытым, попробуйте поиграть с <option>-vf noise</option>, при
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4178 воспроизведении закодированного фильма.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4179 <option>-vf noise=8a:4a</option> должна скрыть большинство мелких артефактов.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4180 Ее результат почти наверняка будет выглядеть лучше, чем полученный при помощи
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4181 махинаций с фильтром удаления блочности.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4182 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4183 </listitem>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4184 </itemizedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4185 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4186 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4187
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4188 <!-- ********** -->
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4189
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4190 <sect2 id="menc-feat-x264-example-settings">
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4191 <title>Примеры настроек кодирования</title>
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4192
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4193 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
4194 Последующие настройки &mdash; это примеры различных комбинаций опций кодирования,
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4195 которые влияют на соотношения скорость-качество при той же величине целевого
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4196 битпотока.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4197 </para>
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4198
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4199 <para>
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4200 Все настройки кодирования проверялись на тестовом видео 720x448 @30000/1001 fps
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4201 с целевым битпотоком 900кбит/сек, на машине AMD-64 3400+ с 2400 МГц и 64-х битном режиме.
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4202 Для каждой настройки кодирования указаны измеренная скорость кодирования (в
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4203 кадрах в секунду) и потеря PSNR (в дБ) по сравнению с настройкой "очень высокое
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
4204 качество". Поймите, пожалуйста, что в зависимости от Вашего материала, типа
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
4205 машины, прогресса разработки Вы можете получить сильно отличающиеся результаты.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4206 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4207
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4208 <informaltable frame="all">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4209 <tgroup cols="4">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4210 <thead>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4211 <row>
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4212 <entry>Описание</entry>
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4213 <entry>Опции кодирования</entry>
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4214 <entry>скорость (в fps)</entry>
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4215 <entry>Относительная потеря PSNR (в дБ)</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4216 </row>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4217 </thead>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4218 <tbody>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4219 <row>
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4220 <entry>Очень высокое качество</entry>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4221 <entry><option>subq=6:partitions=all:8x8dct:me=umh:frameref=5:bframes=3:b_pyramid:weight_b</option></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4222 <entry>6fps</entry>
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
4223 <entry>0дБ</entry>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4224 </row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4225 <row>
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4226 <entry>Высокое качество</entry>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4227 <entry><option>subq=5:8x8dct:frameref=2:bframes=3:b_pyramid:weight_b</option></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4228 <entry>13fps</entry>
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
4229 <entry>-0.89дБ</entry>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4230 </row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4231 <row>
21747
e6b16ad464e8 Translation of menc-feat-x264 sect1 in encoding-guide.xml
voroshil
parents: 21700
diff changeset
4232 <entry>Быстро</entry>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4233 <entry><option>subq=4:bframes=2:b_pyramid:weight_b</option></entry>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4234 <entry>17fps</entry>
21866
a029a7ea0971 spelling, wording
voroshil
parents: 21839
diff changeset
4235 <entry>-1.48дБ</entry>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4236 </row>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4237 </tbody>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4238 </tgroup>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4239 </informaltable>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4240 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4241 </sect1>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4242
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4243
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4244 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4245
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4246
22138
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4247 <sect1 id="menc-feat-video-for-windows">
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4248 <title>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4249 Кодирование семейством кодеков <systemitem class="library">Video For Windows</systemitem>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4250 </title>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4251
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4252 <para>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4253 Video for Windows предоставляет простое кодирование при помощи бинарных видео
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4254 кодеков. Вы можете кодировать следующими кодеками (если у Вас есть другие,
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4255 сообщите нам!)
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4256 </para>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4257
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4258 <para>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4259 Имейте в виду, что поддержка этой возможности очень экспериментальная и
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4260 некоторые кодеки могут не работать корректно. Некоторые кодеки могут работать
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4261 только в определенных пространствах цветов, попробуйте
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4262 <option>-vf format=bgr24</option> и <option>-vf format=yuy2</option>,
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4263 если кодек выдает ошибку или кодирует неверно.
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4264 </para>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4265
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4266 <!-- ********** -->
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4267
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4268 <sect2 id="menc-feat-enc-vfw-video-codecs">
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4269 <title>Поддерживаемые кодеки Video for Windows</title>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4270
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4271 <para>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4272 <informaltable frame="all">
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4273 <tgroup cols="4">
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4274 <thead>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4275 <row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4276 <entry>Имя файла с видео кодеком</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4277 <entry>Описание (FourCC)</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4278 <entry>md5sum</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4279 <entry>Комментарий</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4280 </row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4281 </thead>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4282 <tbody>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4283 <row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4284 <entry>aslcodec_vfw.dll</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4285 <entry>Alparysoft vfw кодек без потерь (ASLC)</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4286 <entry>608af234a6ea4d90cdc7246af5f3f29a</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4287 <entry></entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4288 </row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4289 <row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4290 <entry>avimszh.dll</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4291 <entry>AVImszh (MSZH)</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4292 <entry>253118fe1eedea04a95ed6e5f4c28878</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4293 <entry>необходим <option>-vf format</option></entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4294 </row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4295 <row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4296 <entry>avizlib.dll</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4297 <entry>AVIzlib (ZLIB)</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4298 <entry>2f1cc76bbcf6d77d40d0e23392fa8eda</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4299 <entry></entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4300 </row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4301 <row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4302 <entry>divx.dll</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4303 <entry>DivX4Windows-VFW</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4304 <entry>acf35b2fc004a89c829531555d73f1e6</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4305 <entry></entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4306 </row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4307 <row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4308 <entry>huffyuv.dll</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4309 <entry>HuffYUV (без потерь) (HFYU)</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4310 <entry>b74695b50230be4a6ef2c4293a58ac3b</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4311 <entry></entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4312 </row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4313 <row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4314 <entry>iccvid.dll</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4315 <entry>Cinepak Video (cvid)</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4316 <entry>cb3b7ee47ba7dbb3d23d34e274895133</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4317 <entry></entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4318 </row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4319 <row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4320 <entry>icmw_32.dll</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4321 <entry>Motion Wavelets (MWV1)</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4322 <entry>c9618a8fc73ce219ba918e3e09e227f2</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4323 <entry></entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4324 </row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4325 <row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4326 <entry>jp2avi.dll</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4327 <entry>ImagePower MJPEG2000 (IPJ2)</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4328 <entry>d860a11766da0d0ea064672c6833768b</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4329 <entry><option>-vf flip</option></entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4330 </row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4331 <row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4332 <entry>m3jp2k32.dll</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4333 <entry>Morgan MJPEG2000 (MJ2C)</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4334 <entry>f3c174edcbaef7cb947d6357cdfde7ff</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4335 <entry></entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4336 </row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4337 <row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4338 <entry>m3jpeg32.dll</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4339 <entry>Morgan Motion JPEG Codec (MJPG)</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4340 <entry>1cd13fff5960aa2aae43790242c323b1</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4341 <entry></entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4342 </row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4343 <row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4344 <entry>mpg4c32.dll</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4345 <entry>Microsoft MPEG-4 v1/v2</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4346 <entry>b5791ea23f33010d37ab8314681f1256</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4347 <entry></entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4348 </row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4349 <row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4350 <entry>tsccvid.dll</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4351 <entry>TechSmith Camtasia Screen Codec (TSCC)</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4352 <entry>8230d8560c41d444f249802a2700d1d5</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4353 <entry>ошибка shareware в windows</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4354 </row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4355 <row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4356 <entry>vp31vfw.dll</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4357 <entry>On2 Open Source VP3 Codec (VP31)</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4358 <entry>845f3590ea489e2e45e876ab107ee7d2</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4359 <entry></entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4360 </row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4361 <row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4362 <entry>vp4vfw.dll</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4363 <entry>On2 VP4 Personal Codec (VP40)</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4364 <entry>fc5480a482ccc594c2898dcc4188b58f</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4365 <entry></entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4366 </row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4367 <row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4368 <entry>vp6vfw.dll</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4369 <entry>On2 VP6 Personal Codec (VP60)</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4370 <entry>04d635a364243013898fd09484f913fb</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4371 <entry></entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4372 </row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4373 <row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4374 <entry>vp7vfw.dll</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4375 <entry>On2 VP7 Personal Codec (VP70)</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4376 <entry>cb4cc3d4ea7c94a35f1d81c3d750bc8d</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4377 <entry>неверный FourCC?</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4378 </row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4379 <row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4380 <entry>ViVD2.dll</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4381 <entry>SoftMedia ViVD V2 VfW кодек (GXVE)</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4382 <entry>a7b4bf5cac630bb9262c3f80d8a773a1</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4383 <entry></entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4384 </row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4385 <row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4386 <entry>msulvc06.DLL</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4387 <entry>MSU кодек без потерь (MSUD)</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4388 <entry>294bf9288f2f127bb86f00bfcc9ccdda</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4389 <entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4390 Может декодироваться <application>Window Media Player</application>,
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4391 но не <application>MPlayer</application> (пока).
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4392 </entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4393 </row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4394 <row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4395 <entry>camcodec.dll</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4396 <entry>CamStudio lossless video codec (CSCD)</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4397 <entry>0efe97ce08bb0e40162ab15ef3b45615</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4398 <entry>sf.net/projects/camstudio</entry>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4399 </row>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4400 </tbody>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4401 </tgroup>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4402 </informaltable>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4403
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4404 Первый столбец содержит имена кодеков, которые должны указываться после
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4405 параметра <literal>codec</literal>,
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4406 например: <option>-xvfwopts codec=divx.dll</option>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4407 FourCC код, используемый каждым кодеком, указан в скобках.
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4408 </para>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4409 <informalexample>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4410 <para>
22513
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4411 Пример конвертации ISO DVD ролика в VP6 flash видео файл с использованием
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4412 compdata настроек битпотока:
22138
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4413 <screen>
22513
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4414 mencoder -dvd-device <replaceable>zeiram.iso</replaceable> dvd://7 -o <replaceable>trailer.flv</replaceable> \
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4415 -ovc vfw -xvfwopts codec=vp6vfw.dll:compdata=onepass.mcf -oac mp3lame \
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4416 -lameopts cbr:br=64 -af lavcresample=22050 -vf yadif,scale=320:240,flip \
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4417 -of lavf -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames
22138
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4418 </screen>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4419 </para>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4420 </informalexample>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4421 </sect2>
22513
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4422
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4423 <sect2 id="menc-feat-video-for-windows-bitrate-settings">
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4424 <title>Использование vfw2menc для создания файла настроек кодека.</title>
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4425
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4426 <para>
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4427 Для кодирования кодеками Video for Windows, Вам потребуется установить
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4428 величину битпотока и другие опции. Известно, что это работает на x86 и для
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4429 *NIX, и для Windows.
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4430 </para>
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4431 <para>
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4432 Во-первых, Вы должны собрать программу <application>vfw2menc</application>.
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4433 Она находится в подкаталоге <filename class="directory">/TOOLS/</filename>
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4434 дерева исходников MPlayer.
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4435 Для сборки под Linux, это можно сделать, воспользовавшись <application>Wine</application>:
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4436 <screen>winegcc vfw2menc.c -o vfw2menc -lwinmm -lole32</screen>
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4437
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4438 Для сборки под Windows в <application>MinGW</application> или
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4439 <application>Cygwin</application> используйте:
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4440 <screen>gcc vfw2menc.c -o vfw2menc.exe -lwinmm -lole32</screen>
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4441
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4442 Для сборки в <application>MSVC</application> вам потребуется getopt.
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4443 Getopt можно найти в исходном архиве <application>vfw2menc</application>,
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4444 доступном в:
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4445 Проект <ulink url="http://oss.netfarm.it/mplayer-win32.php">MPlayer на win32</ulink>.
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4446 </para>
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4447 <informalexample>
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4448 <para>
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4449 Далее следует пример использования с VP6 кодеком.
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4450 <screen>
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4451 vfw2menc -f VP62 -d vp6vfw.dll -s firstpass.mcf
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4452 </screen>
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4453 Это откроет диалоговое окно кодека VP6. Повторите этот шаг для второго прохода,
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4454 указав <option>-s <replaceable>secondpass.mcf</replaceable></option>.
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4455 </para>
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4456 </informalexample>
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4457 <para>
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4458 Пользователи Windows могут использовать <option>-xvfwopts
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4459 codec=vp6vfw.dll:compdata=dialog</option>, чтобы показать окно настроек кодека
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4460 перед началом кодирования.
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4461 </para>
8e1736796451 r22413: add xvfwopts compdata and vfw2menc documentation and change to better mencoder example
voroshil
parents: 22138
diff changeset
4462 </sect2>
22138
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4463 </sect1>
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4464
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4465
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4466 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4467
9fadbbd19a04 r22129: Link to the mencoder-users list for mencoder stuff
voroshil
parents: 21940
diff changeset
4468
21867
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4469 <sect1 id="menc-feat-quicktime-7">
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4470 <title>Использование <application>MEncoder</application>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4471 для создания совместимых с <application>QuickTime</application>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4472 файлов</title>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4473
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4474
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4475 <sect2 id="menc-feat-quicktime-7-why-use-it">
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4476 <title>Зачем необходимо создавать совместимые с <application>QuickTime</application>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4477 файлы?</title>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4478
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4479 <para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4480 Есть несколько причин, по которым создание
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4481 <application>QuickTime</application>-совместимых файлов может быть
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4482 желательно.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4483 </para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4484 <itemizedlist>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4485 <listitem><para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4486 Вы хотите, чтобы любой компьютерно неграмотный человек мог смотреть
21940
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
4487 результат Вашего кодирования на большинстве платформ (Windows, Mac OS X, Unices &hellip;).
21867
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4488 </para></listitem>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4489 <listitem><para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4490 <application>QuickTime</application>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4491 позволяет воспользоваться преимуществами большего числа возможностей
21940
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
4492 аппаратного и программного ускорения на Mac OS X, чем платформо-независимые
21867
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4493 плееры наподобие <application>MPlayer</application> или
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4494 <application>VLC</application>.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4495 Это означает, что Ваше кодирование имеет шансы плавно воспроизводиться
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4496 на старых машинах, оснащённых G4.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4497 </para></listitem>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4498 <listitem><para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4499 <application>QuickTime</application> 7 поддерживает кодек нового поколения
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4500 H.264, который даёт существенно лучшее качество изображения, чем
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4501 предыдущие поколения кодеков (MPEG-2, MPEG-4 &hellip;).
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4502 </para></listitem>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4503 </itemizedlist>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4504 </sect2>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4505
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4506 <sect2 id="menc-feat-quicktime-7-constraints">
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4507 <title>Ограничения <application>QuickTime</application> 7</title>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4508
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4509 <para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4510 <application>QuickTime</application> 7 поддерживает H.264 видео и
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4511 AAC аудио, но не поддерживает их мультиплексирование в формат
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4512 контейнера AVI.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4513 Однако, Вы можете использовать <application>MEncoder</application>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4514 для кодирования видео и аудио, а потом использовать внешнюю
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4515 программу, такую как <application>mp4creator</application> (часть
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4516 <ulink url="http://mpeg4ip.sourceforge.net/">пакета MPEG4I</ulink>)
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4517 для ремультиплексирования видео и аудио дорожек в контейнер MP4.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4518 </para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4519
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4520 <para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4521 Поддержка H.264 в <application>QuickTime</application> ограничена,
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4522 так что Вам придётся отказаться от нескольких продвинутых возможностей.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4523 Если Вы кодируете видео с возможностями, не поддерживаемыми
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4524 <application>QuickTime</application> 7,
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4525 плееры, основанные на <application>QuickTime</application>,
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4526 покажут Вам милый белый экран вместо ожидаемого Вами видео.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4527 </para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4528
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4529 <itemizedlist>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4530 <listitem><para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4531 <emphasis role="bold">B-кадры</emphasis>:
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4532 <application>QuickTime</application> 7 поддерживает максимум 1 B-кадр,
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4533 т.е. <option>-x264encopts bframes=1</option>. Это означает, что
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4534 <option>b_pyramid</option> и <option>weight_b</option> не дадут
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4535 эффекта, поскольку им необходимо, чтобы <option>bframes</option>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4536 было больше 1.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4537 </para></listitem>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4538 <listitem><para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4539 <emphasis role="bold">Макроблоки</emphasis>:
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4540 <application>QuickTime</application> 7 не поддерживает 8x8 DCT макроблоки.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4541 Эта опция (<option>8x8dct</option>) выключена по умолчанию, так что
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4542 просто удостоверьтесь, что явно её не задали.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4543 Это также означает, что опция <option>i8x8</option> будет бесполезна,
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4544 т.к. ей необходима <option>8x8dct</option>.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4545 </para></listitem>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4546 <listitem><para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4547 <emphasis role="bold">Коэффициент соотношения сторон</emphasis>:
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4548 <application>QuickTime</application> 7 не поддерживает информацию
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4549 SAR (коэффициент пропорций пиксела, sample aspect ratio)
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4550 в MPEG-4 файлах; он предполагает SAR=1. Прочтите
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4551 <link linkend="menc-feat-quicktime-7-scale">раздел о масштабировании</link>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4552 для обхода проблемы.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4553 </para></listitem>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4554 </itemizedlist>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4555
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4556 </sect2>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4557
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4558 <sect2 id="menc-feat-quicktime-7-crop">
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4559 <title>Обрезание</title>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4560 <para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4561 Предположим, что Вы хотите сделать рип свежекупленной копии "Хроник
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4562 Нарнии" и Ваш регион DVD 1, что означает, что это NTSC.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4563 Пример ниже будет также применим к PAL, за исключением того, что Вам
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4564 нужно будет опустить <option>-ofps 24000/1001</option> и использовать
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4565 слегка отличающиеся размеры для <option>crop</option> и <option>scale</option>.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4566 </para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4567
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4568 <para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4569 После запуска <option>mplayer dvd://1</option>, Вы следуете процессу,
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4570 описанному в разделе <link linkend="menc-feat-telecine">Как работать
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4571 с телесином и чересстрочной развёрткой на NTSC DVD</link> и обнаруживаете,
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4572 что это 24000/1001 fps видео с построчной развёрткой. Это несколько
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4573 упрощает обработку, поскольку Вам не нужно использовать фильтр
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4574 обратного телесина, такой как <option>pullup</option>, или фильтр
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4575 деинтерлейса, такой как <option>yadif</option>.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4576 </para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4577
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4578 <para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4579 Затем Вам необходимо усечь чёрные полосы сверху и снизу видео, как
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4580 описано в <link linkend="menc-feat-dvd-mpeg4-example-crop">этом</link>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4581 разделе.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4582 </para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4583
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4584 </sect2>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4585
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4586 <sect2 id="menc-feat-quicktime-7-scale">
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4587 <title>Масштабирование</title>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4588
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4589 <para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4590 Следующий шаг действительно душераздирающий.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4591 <application>QuickTime</application> 7 не поддерживает MPEG-4 видео
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4592 с коэффициентом соотношения сторон пиксела, отличным от 1. Так что Вам
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4593 придётся масштабировать видео либо в сторону увеличения (что впустую
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4594 потратит много места на диске), либо в строну уменьшения (что приведёт
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4595 к потере некоторых деталей источника) для квадратизации пикселов.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4596 Какой бы способ Вы не выбрали, это будет крайне неэффективным, но
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4597 не может быть опущено, если Вы хотите, чтоб Ваше видео воспроизводилось
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4598 с помощью <application>QuickTime</application> 7.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4599 <application>MEncoder</application> может применить необходимое
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4600 увеличивающее или уменьшающее масштабирование, если ему указать
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4601 <option>-vf scale=-10:-1</option> или <option>-vf scale=-1:-10</option>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4602 соответственно.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4603 Это отмасштабирует Ваше видео до корректной ширины для усечённой
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4604 высоты, округлённой до ближайшего множителя 16 для оптимального
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4605 сжатия.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4606 Помните, что если производите обрезание, то нужно сперва обрезать, а лишь затем
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4607 масштабировать:
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4608
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4609 <screen>-vf crop=720:352:0:62,scale=-10:-1</screen>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4610 </para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4611
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4612 </sect2>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4613
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4614 <sect2 id="menc-feat-quicktime-7-avsync">
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4615 <title>A/V синхронизация</title>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4616
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4617 <para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4618 Поскольку Вы будете мультиплексировать в другой контейнер, Вы должны
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4619 всегда использовать опцию <option>harddup</option>, чтобы убедиться,
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4620 что дублирующиеся кадры будут действительно дублироваться в полученном
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4621 видео. Без этой опции <application>MEncoder</application> будет просто
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4622 располагать маркер в видеопотоке о том, что кадр был повторен, и будет
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4623 полагаться на то, что клиентское программное обеспечение покажет кадр
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4624 дважды. К сожалению, это "мягкое дублирование" не переживает
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4625 ремультиплексирование, в результате чего аудио будет постепенно терять
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4626 синхронизацию с видео.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4627 </para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4628
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4629 <para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4630 В итоге, цепочка фильтров выглядит следующим образом:
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4631 <screen>-vf crop=720:352:0:62,scale=-10:-1,harddup</screen>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4632 </para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4633
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4634 </sect2>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4635
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4636 <sect2 id="menc-feat-quicktime-7-bitrate">
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4637 <title>Битпоток</title>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4638
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4639 <para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4640 Как обычно, выбор битпотока зависит от технических свойств исходного
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4641 материала, как объясняется
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4642 <link linkend="menc-feat-dvd-mpeg4-resolution-bitrate">здесь</link>,
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4643 как, впрочем, и от личного вкуса.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4644 Этот фильм обладает небольшим количеством движения и большим
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4645 количеством деталей, но H.264 видео хорошо выглядит на существенно
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4646 меньших битпотоках, чем XviD или другие MPEG-4 кодеки.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4647 После длительного экспериментирования, автор данного руководства
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4648 решил кодировать фильм на 900 кбит/сек, и считает, что он выглядит
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4649 очень хорошо. Вы можете уменьшить битпоток, если Вам нужно сохранить
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4650 больше места, или увеличить, если Вам нужно улучшить качество.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4651 </para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4652
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4653 </sect2>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4654
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4655 <sect2 id="menc-feat-quicktime-7-example">
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4656 <title>Пример кодирования</title>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4657
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4658 <para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4659 Теперь Вы готовы к кодированию видео. Поскольку Вы заботитесь
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4660 о качестве, Вы , разумеется, будете делать двупроходное кодирование.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4661 Для некоторого сокращения времени кодирования, Вы можете указать
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4662 опцию <option>turbo</option> при первом проходе; это уменьшит
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4663 <option>subq</option> и <option>frameref</option> до 1.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4664 Чтобы сохранить немного места на диске, Вы можете использовать
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4665 параметр <option>ss</option> для отрезания первых нескольких
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4666 секунд видео. (Я обнаружил, что, в частности, у данного фильма
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4667 есть 32 секунды титров и логотипов.)
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4668 <option>bframes</option> может быть 0 или 1.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4669 остальные опции описаны в разделе <link
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4670 linkend="menc-feat-x264-encoding-options-speedvquality">Кодирование
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4671 кодеком <systemitem class="library">x264</systemitem></link> и на
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4672 man странице.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4673
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4674 <screen>mencoder dvd://1 -o /dev/null -ss 32 -ovc x264 \
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4675 -x264encopts pass=1:turbo:bitrate=900:bframes=1:\
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4676 me=umh:partitions=all:trellis=1:qp_step=4:qcomp=0.7:direct_pred=auto:keyint=300 \
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4677 -vf crop=720:352:0:62,scale=-10:-1,harddup \
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4678 -oac faac -faacopts br=192:mpeg=4:object=1 -channels 2 -srate 48000 \
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4679 -ofps 24000/1001</screen>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4680
21940
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
4681 Если у Вас многопроцессорная машина, не упустите шанс значительно
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
4682 ускорить кодирование задействованием
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
4683 <link linkend="menc-feat-x264-encoding-options-speedquality-threads">
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
4684 многопоточного режима <systemitem class="library">x264</systemitem></link>,
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
4685 добавив <option>threads=auto</option> в <option>x264encopts</option> в
c3b8af022289 r21930: gcc_bug++;
voroshil
parents: 21902
diff changeset
4686 командной строке.
21867
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4687 </para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4688
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4689 <para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4690 Второй проход выполняется аналогично, за исключением того, что Вам
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4691 нужно указать выходной файл и установить <option>pass=2</option>.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4692
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4693 <screen>mencoder dvd://1 <emphasis role="bold">-o нарния.avi</emphasis> -ss 32 -ovc x264 \
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4694 -x264encopts <emphasis role="bold">pass=2</emphasis>:turbo:bitrate=900:frameref=5:bframes=1:\
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4695 me=umh:partitions=all:trellis=1:qp_step=4:qcomp=0.7:direct_pred=auto:keyint=300 \
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4696 -vf crop=720:352:0:62,scale=-10:-1,harddup \
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4697 -oac faac -faacopts br=192:mpeg=4:object=1 -channels 2 -srate 48000 \
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4698 -ofps 24000/1001</screen>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4699 </para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4700
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4701 <para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4702 Получившееся AVI должно хорошо воспроизводиться в
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4703 <application>MPlayer</application>, но, конечно же,
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4704 <application>QuickTime</application> не сможет его воспроизвести,
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4705 т.к. не поддерживает H.264, мультиплексированный в AVI.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4706 Так что следующий шаг &mdash; ремультиплексирование видео в контейнер MP4.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4707 </para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4708 </sect2>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4709
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4710 <sect2 id="menc-feat-quicktime-7-remux">
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4711 <title>Ремультиплексирование в MP4</title>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4712
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4713 <para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4714 Существует несколько способов ремультиплексирования AVI файлов
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4715 в MP4. Вы можете использовать <application>mp4creator</application>,
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4716 являющийся частью
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4717 <ulink url="http://mpeg4ip.sourceforge.net/">пакета MPEG4IP</ulink>.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4718 </para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4719
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4720 <para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4721 Сперва демультиплексируйте AVI в отдельные аудио и видео потоки
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4722 с помощью <application>MPlayer</application>.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4723
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4724 <screen>mplayer нарния.avi -dumpaudio -dumpfile нарния.aac
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4725 mplayer нарния.avi -dumpvideo -dumpfile нарния.h264</screen>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4726
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4727 Имена файлов важны; для <application>mp4creator</application>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4728 необходимо, чтобы AAC аудио потоки назывались <systemitem>.aac</systemitem>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4729 и H.264 видео потоки назывались <systemitem>.h264</systemitem>.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4730 </para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4731
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4732 <para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4733 Теперь используйте <application>mp4creator</application> для создания
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4734 нового MP4 файла из аудио и видео потоков.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4735
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4736 <screen>mp4creator -create=нарния.aac нарния.mp4
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4737 mp4creator -create=нарния.h264 -rate=23.976 нарния.mp4</screen>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4738
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4739 В отличии от этапа кодирования, Вам нужно указать частоту кадров
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4740 как десятичную (например, 23.976), а не целую (например, 24000/1001)
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4741 дробь.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4742 </para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4743
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4744 <para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4745 Теперь файл <systemitem>нарния.mp4</systemitem> должен проигрываться
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4746 с помощью любого <application>QuickTime</application> 7 приложения,
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4747 например, <application>QuickTime Player</application> или
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4748 <application>iTunes</application>.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4749 Если Вы планируете просмотр видео в вэб-браузере с помощью плагина
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4750 <application>QuickTime</application>, Вам также необходимо
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4751 модифицировать фильм таким образом, чтобы плагин
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4752 <application>QuickTime</application> мог начать его воспроизведение
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4753 ещё во время загрузки. <application>mp4creator</application>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4754 может создать эти вспомогательные дорожки (т.н. hint tracks):
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4755
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4756 <screen>mp4creator -hint=1 нарния.mp4
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4757 mp4creator -hint=2 нарния.mp4
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4758 mp4creator -optimize нарния.mp4</screen>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4759
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4760 Вы можете проверить полученный результат, чтобы убедиться, что
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4761 вспомогательные дорожки были успешно созданы.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4762
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4763 <screen>mp4creator -list нарния.mp4</screen>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4764
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4765 Вы должны увидеть список дорожек: 1 аудио, 1 видео и 2 вспомогательных.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4766
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4767 <screen>Track Type Info
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4768 1 audio MPEG-4 AAC LC, 8548.714 secs, 190 kbps, 48000 Hz
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4769 2 video H264 Main@5.1, 8549.132 secs, 899 kbps, 848x352 @ 23.976001 fps
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4770 3 hint Payload mpeg4-generic for track 1
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4771 4 hint Payload H264 for track 2
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4772 </screen>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4773 </para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4774
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4775 </sect2>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4776
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4777 <sect2 id="menc-feat-quicktime-7-metadata">
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4778 <title>Добавление тегов метаданных</title>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4779
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4780 <para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4781 Если Вы хотите добавить в видео теги, которые отображаются в iTunes, Вы
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4782 можете использовать
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4783 <ulink url="http://atomicparsley.sourceforge.net/">AtomicParsley</ulink>.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4784
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4785 <screen>AtomicParsley нарния.mp4 --metaEnema --title "The Chronicles of Narnia" --year 2005 --stik Movie --freefree --overWrite</screen>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4786
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4787 Опция <option>--metaEnema</option> удаляет любые существующие метаданные
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4788 (<application>mp4creator</application> вставляет своё название в тег
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4789 "утилита кодирования") и <option>--freefree</option> высвобождает место,
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4790 оставшееся от удалённых метаданных.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4791 Опция <option>--stik</option> устанавливает тип видео (например,
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4792 Movie или TV Show), который используется iTunes для группировки
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4793 родственных видеофайлов.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4794 Опция <option>--overWrite</option> перезаписывает исходный файл; без неё
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4795 <application>AtomicParsley</application> создаст новый файл с автоматическим
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4796 именем в том же каталоге и оставит исходный файл нетронутым.
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4797 </para>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4798
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4799 </sect2>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4800
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4801 </sect1>
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4802
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4803
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4804 <!-- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -->
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4805
b80b45f1f159 r21879: fix wrong option names that were suggested to use to produce
voroshil
parents: 21866
diff changeset
4806
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4807 <sect1 id="menc-feat-vcd-dvd">
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4808 <title>Использование <application>MEncoder</application>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4809 для создания VCD/SVCD/DVD-совместимых файлов.</title>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4810
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4811 <sect2 id="menc-feat-vcd-dvd-constraints">
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4812 <title>Ограничения формата</title>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4813
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4814 <para>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4815 <application>MEncoder</application> способен создавать MPEG файлы VCD, SCVD
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4816 и DVD формата, используя библиотеку <systemitem class="library">libavcodec</systemitem>.
21902
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
4817 Эти файлы затем могут быть использованы совместно с
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4818 <ulink url="http://www.gnu.org/software/vcdimager/vcdimager.html">vcdimager</ulink>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4819 или
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4820 <ulink url="http://dvdauthor.sourceforge.net/">dvdauthor</ulink>
21902
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
4821 для создания дисков, которые будут воспроизводиться на стандартном видео
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4822 проигрывателе.
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4823 </para>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4824
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4825 <para>
21902
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
4826 DVD, SVCD, и VCD форматы обладают жесткими ограничениями. Доступен только небольшой выбор
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4827 размеров и пропорций кодируемого изображения.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
4828 Если Ваш фильм пока не удовлетворяет этим ограничениям, придется изображение
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4829 масштабировать, обрезать или добавлять к нему черные полосы, чтобы добиться
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4830 совместимости.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4831 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4832
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4833
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4834 <sect3 id="menc-feat-vcd-dvd-constraints-resolution">
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4835 <title>Ограничения форматов</title>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4836
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4837 <informaltable frame="all">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4838 <tgroup cols="9">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4839 <thead>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4840 <row>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4841 <entry>Формат</entry>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4842 <entry>Разрешение</entry>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4843 <entry>Вид. Кодек</entry>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4844 <entry>Вид. Битпоток</entry>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4845 <entry>Дискретизация</entry>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4846 <entry>Ауд. Кодек</entry>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4847 <entry>Ауд. Битпоток</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4848 <entry>FPS</entry>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4849 <entry>Пропорции</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4850 </row>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4851 </thead>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4852 <tbody>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4853 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4854 <entry>NTSC DVD</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4855 <entry>720x480, 704x480, 352x480, 352x240</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4856 <entry>MPEG-2</entry>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4857 <entry>9800 кбит/с</entry>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4858 <entry>48000 Гц</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4859 <entry>AC3,PCM</entry>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4860 <entry>1536 кбит/с (макс.)</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4861 <entry>30000/1001, 24000/1001</entry>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4862 <entry>4:3, 16:9 (только для 720x480)</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4863 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4864 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4865 <entry>NTSC DVD</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4866 <entry>352x240<footnote id='fn-rare-resolutions'><para>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4867 Эти разрешения редко используются для DVD, поскольку имеют довольно низкое
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4868 качество.</para></footnote></entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4869 <entry>MPEG-1</entry>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4870 <entry>1856 кбит/с</entry>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4871 <entry>48000 Гц</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4872 <entry>AC3,PCM</entry>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4873 <entry>1536 кбит/с (макс.)</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4874 <entry>30000/1001, 24000/1001</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4875 <entry>4:3, 16:9</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4876 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4877 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4878 <entry>NTSC SVCD</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4879 <entry>480x480</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4880 <entry>MPEG-2</entry>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4881 <entry>2600 кбит/с</entry>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4882 <entry>44100 Гц</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4883 <entry>MP2</entry>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4884 <entry>384 кбит/с (макс.)</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4885 <entry>30000/1001</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4886 <entry>4:3</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4887 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4888 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4889 <entry>NTSC VCD</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4890 <entry>352x240</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4891 <entry>MPEG-1</entry>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4892 <entry>1150 кбит/с</entry>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4893 <entry>44100 Гц</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4894 <entry>MP2</entry>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4895 <entry>224 кбит/с</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4896 <entry>24000/1001, 30000/1001</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4897 <entry>4:3</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4898 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4899 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4900 <entry>PAL DVD</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4901 <entry>720x576, 704x576, 352x576, 352x288</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4902 <entry>MPEG-2</entry>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4903 <entry>9800 кбит/с</entry>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4904 <entry>48000 Гц</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4905 <entry>MP2,AC3,PCM</entry>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4906 <entry>1536 кбит/с (макс.)</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4907 <entry>25</entry>
21902
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
4908 <entry>4:3, 16:9 (только для 720x576)</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4909 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4910 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4911 <entry>PAL DVD</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4912 <entry>352x288<footnoteref linkend='fn-rare-resolutions'/></entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4913 <entry>MPEG-1</entry>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4914 <entry>1856 кбит/с</entry>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4915 <entry>48000 Гц</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4916 <entry>MP2,AC3,PCM</entry>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4917 <entry>1536 кбит/с (макс.)</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4918 <entry>25</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4919 <entry>4:3, 16:9</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4920 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4921 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4922 <entry>PAL SVCD</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4923 <entry>480x576</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4924 <entry>MPEG-2</entry>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4925 <entry>2600 кбит/с</entry>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4926 <entry>44100 Гц</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4927 <entry>MP2</entry>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4928 <entry>384 кбит/с (макс.)</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4929 <entry>25</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4930 <entry>4:3</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4931 </row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4932 <row>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4933 <entry>PAL VCD</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4934 <entry>352x288</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4935 <entry>MPEG-1</entry>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4936 <entry>1152 кбит/с</entry>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4937 <entry>44100 Гц</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4938 <entry>MP2</entry>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4939 <entry>224 кбит/с</entry>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4940 <entry>25</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4941 <entry>4:3</entry>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4942 </row>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4943 </tbody>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4944 </tgroup>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4945 </informaltable>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4946
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4947 <para>
21902
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
4948 Если Ваш фильм имеет пропорции 2.35:1 (большинство современных фильмов с обилием движения),
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4949 для создания DVD или VCD придется добавить черные полосы или обрезать фильм до
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4950 16:9. Добавляя черные полосы, пытайтесь выровнять их размеры на границу в 16 пикселов,
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4951 чтобы минимизировать влияние на производительность кодирования.
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4952 К счастью, DVD имеет достаточно избыточный битпоток, чтобы не сильно
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4953 беспокоиться об эффективности кодирования, но SVCD и VCD весьма ограничены в
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4954 битпотоке и требуют определенных усилий для достижения приемлемого качества.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4955 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4956 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4957
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4958
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4959 <sect3 id="menc-feat-vcd-dvd-constraints-gop">
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4960 <title>Ограничения на размер GOP</title>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4961
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4962 <para>
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
4963 DVD, VCD, и SVCD также ограничивают Вас относительно низкими размерами
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4964 GOP (Group of Pictures, Группа Изображений).
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4965 Для материала с 30 fps максимальный допустимый размер GOP равен 18.
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4966 Для 25 или 24 fps, максимум равен 15.
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4967 Размер GOP устанавливается опцией <option>keyint</option>.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4968 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4969 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4970
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4971
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4972 <sect3 id="menc-feat-vcd-dvd-constraints-bitrate">
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4973 <title>Ограничения на битпоток</title>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4974
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4975 <para>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4976 VCD видео должно быть CBR с 1152 кбит/с.
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4977 Это сильное ограничение усугубляется, к тому же, чрезвычайно низким размером vbv
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4978 буфера, равным 327 килобит.
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4979 SVCD допускает различные значения видео битпотока вплоть до 2500 кбит/с и не
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4980 так сильно стесняющий размер vbv буфера, равный 917 килобит.
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4981 У DVD видео битпоток может свободно меняться вплоть до 9800 kbps (хотя обычный
21902
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
4982 поток равен примерно половине этого значения), а размер vbv буфера равен 1835
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4983 килобит.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4984 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4985 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4986 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4987
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4988 <!-- ********** -->
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
4989
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
4990 <sect2 id="menc-feat-vcd-dvd-output">
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4991 <title>Опции вывода</title>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4992
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4993 <para>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4994 У <application>MEncoder</application> есть опции, управляющие выходным форматом.
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4995 Используя их, можно дать указание создать файл корректного типа.
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4996 </para>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4997
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4998 <para>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
4999 Для VCD и SVCD опции называются xvcd и xsvcd, потому что они являются
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5000 расширенными форматами. Они не полностью совместимы, в основном, потому что не
21902
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
5001 содержат смещений развёртки. Если нужно создать образ SVCD, следует передать
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5002 выходной файл программе
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5003 <ulink url="http://www.gnu.org/software/vcdimager/vcdimager.html">vcdimager</ulink>.
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5004 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5005
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5006 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5007 VCD:
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5008 <screen>-of mpeg -mpegopts format=xvcd</screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5009 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5010
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5011 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5012 SVCD:
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5013 <screen>-of mpeg -mpegopts format=xsvcd</screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5014 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5015
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5016 <para>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5017 DVD (с временными метками на каждом кадре, если возможно):
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5018 <screen>-of mpeg -mpegopts format=dvd:tsaf</screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5019 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5020
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5021 <para>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5022 DVD с NTSC Pullup:
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5023 <screen>-of mpeg -mpegopts format=dvd:tsaf:telecine -ofps 24000/1001</screen>
21902
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
5024 Это делает возможным кодирование 24000/1001 fps построчного содержимого с
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
5025 частотой 30000/1001 fps, с одновременным сохранением совместимости с DVD.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5026 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5027
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5028
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5029 <sect3 id="menc-feat-vcd-dvd-output-aspect">
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5030 <title>Пропорции</title>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5031 <para>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5032 Аргумент aspect в <option>-lavcopts</option> используется для кодирования
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5033 коэффициента пропорций файла.
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5034 Коэффициент пропорций используется в процессе воспроизведения для восстановления
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5035 правильного размера видео.
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5036 </para>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5037
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5038 <para>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5039 16:9 or "Широкоэкранный"
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5040 <screen>-lavcopts aspect=16/9</screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5041 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5042
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5043 <para>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5044 4:3 or "Полноэкранный"
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5045 <screen>-lavcopts aspect=4/3</screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5046 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5047
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5048 <para>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5049 2.35:1 or "Кинематографический" NTSC
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5050 <screen>-vf scale=720:368,expand=720:480 -lavcopts aspect=16/9</screen>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5051 Для вычисления правильного размера масштабирования используйте расширенную
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5052 ширину NTSC 854/2.35 = 368
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5053 </para>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5054
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5055 <para>
21839
006093adc56c r21848: clarify a few things about the interaction between *cmp and mbd options
voroshil
parents: 21792
diff changeset
5056 2.35:1 or "Кинематографический" PAL
006093adc56c r21848: clarify a few things about the interaction between *cmp and mbd options
voroshil
parents: 21792
diff changeset
5057 <screen>-vf scale=720:432,expand=720:576 -lavcopts aspect=16/9</screen>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5058 Для вычисления правильного размера масштабирования используйте расширинную
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5059 ширину PAL 1024/2.35 = 432
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5060 </para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5061 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5062
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5063
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5064 <sect3 id="menc-feat-vcd-dvd-a-v-sync">
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5065 <title>Сохранение A/V синхронизации</title>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5066
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5067 <para>
21902
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
5068 Для того, чтобы сохранять аудио/видео синхронизацию на протяжении всего
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
5069 кодирования, <application>MEncoder</application> должен выбрасывать или
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5070 дублировать кадры. Это довольно неплохо работает при мультиплексировании в AVI
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5071 файл, но с другими мультиплексорами, такими как MPEG, почти гарантировано
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5072 приведет к нарушению A/V синхронизации. Для избежания подобных проблем,
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5073 необходимо добавить видео фильтр <option>harddup</option> в конец цепочки
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5074 фильтров. Дополнительную техническую информацию о <option>harddup</option> можно
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5075 найти в разделе
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5076 <link linkend="menc-feat-dvd-mpeg4-muxing-filter-issues">Улучшение
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5077 мультиплексирования и надежности A/V синхронизации</link> или в man руководстве.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5078 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5079 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5080
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5081
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5082 <sect3 id="menc-feat-vcd-dvd-output-srate">
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5083 <title>Преобразование частоты дискретизации</title>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5084
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5085 <para>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5086 Если частота дискретизации в оригинальном файле не совпадает с требуемой в
21902
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
5087 целевом формате, необходимо преобразование. Его можно осуществить, совместно
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5088 используя опцию <option>-srate</option> и аудио фильтр<option>-af lavcresample</option>.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5089 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5090
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5091 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5092 DVD:
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5093 <screen>-srate 48000 -af lavcresample=48000</screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5094 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5095
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5096 <para>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5097 VCD и SVCD:
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5098 <screen>-srate 44100 -af lavcresample=44100</screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5099 </para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5100 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5101 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5102
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5103 <!-- ********** -->
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5104
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5105 <sect2 id="menc-feat-vcd-dvd-lavc">
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5106 <title>Использование libavcodec для VCD/SVCD/DVD кодирования</title>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5107
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5108 <sect3 id="menc-feat-vcd-dvd-lavc-intro">
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5109 <title>Введение</title>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5110
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5111 <para>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5112 Используя соответствующие опции, можно применять
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5113 <systemitem class="library">libavcodec</systemitem> для создания VCD/SVCD/DVD
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5114 совместимого видео.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5115 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5116 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5117
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5118
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5119 <sect3 id="menc-feat-vcd-dvd-lavc-options">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5120 <title>lavcopts</title>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5121
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5122 <para>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5123 Это список полей в <option>-lavcopts</option>, которые может потребоваться
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5124 изменить, чтобы создать совместимый фильм для VCD, SVCD или DVD:
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5125 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5126
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5127 <itemizedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5128 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5129 <emphasis role="bold">acodec</emphasis>:
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5130 <option>mp2</option> для VCD, SVCD, или PAL DVD;
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5131 <option>ac3</option> наиболее часто используется для DVD.
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5132 Для DVD также может использоваться PCM, но это, по большей части, бесполезная
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5133 трата свободного места. Имейте в виду, что MP3 аудио не совместимо ни с одним
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5134 из этих форматов, но, как бы то ни было, часто проигрыватели не испытывают
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5135 никаких проблем с его воспроизведением.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5136 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5137 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5138 <emphasis role="bold">abitrate</emphasis>:
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5139 224 для VCD; вплоть до 384 для SVCD; вплоть до 1536 для DVD, но
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5140 распространенным является диапазон значений от 192 кбит/с для стерео до 384
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5141 кбит/с для 5.1 звука.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5142 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5143 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5144 <emphasis role="bold">vcodec</emphasis>:
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5145 <option>mpeg1video</option> для VCD;
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5146 <option>mpeg2video</option> для SVCD;
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
5147 <option>mpeg2video</option> обычно используется для DVD, но Вы также можете
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5148 использовать
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5149 <option>mpeg1video</option> для CIF разрешений.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5150 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5151 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5152 <emphasis role="bold">keyint</emphasis>:
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5153 Используется для установки размера GOP.
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5154 18 для 30fps материала или 15 для 25/24 fps материала.
21902
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
5155 Коммерческие изготовители, похоже, предпочитают значение интервала ключевых
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5156 кадров, равное 12. Можно значительно увеличить это значение и все еще
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5157 сохранять совместимость с большинством проигрывателей.
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5158 <option>keyint</option> равное 25 не должно вызывать никаких проблем.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5159 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5160 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5161 <emphasis role="bold">vrc_buf_size</emphasis>:
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5162 327 для VCD, 917 для SVCD и 1835 ддя DVD.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5163 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5164 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5165 <emphasis role="bold">vrc_minrate</emphasis>:
21902
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
5166 1152 для VCD. Может не указываться для SVCD и DVD.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5167 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5168 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5169 <emphasis role="bold">vrc_maxrate</emphasis>:
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5170 1152 для VCD; 2500 для SVCD; 9800 для DVD.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
5171 Для SVCD и DVD Вы, возможно, пожелаете использовать меньшие значения в
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
5172 зависимости от Ваших личных требований и предпочтений.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5173 </para></listitem>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5174 <listitem><para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5175 <emphasis role="bold">vbitrate</emphasis>:
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5176 1152 для VCD;
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5177 вплоть до 2500 для SVCD;
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5178 вплоть до 9800 для DVD.
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5179 Для двух последний форматов, vbitrate следует установить на основании личных
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5180 предпочтений.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
5181 Например, если Вы настаиваете на размещении 20 или около того часов видео на
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5182 DVD, можете использовать vbitrate=400.
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5183 Качество получившегося видео, возможно, будет довольно плохим.
21792
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
5184 Если Вы пытаетесь выжать максимально возможное качество на DVD, используйте
3c94669288d1 better wording and typos fixing
voroshil
parents: 21791
diff changeset
5185 vbitrate=9800, но имейте в виду, что это ограничит Вас менее чем одним часом
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5186 видео на однослойном DVD.
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5187 </para></listitem>
21594
0b1c322c5409 r21599: vstrict=0 is required to create DVDs decodable by standalone dvd players
voroshil
parents: 21525
diff changeset
5188 <listitem><para>
21900
d32423d50287 r21917: typo fixes
voroshil
parents: 21867
diff changeset
5189 <emphasis role="bold">vstrict</emphasis>:
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5190 <option>vstrict</option>=0 следует использовать для создания DVD.
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5191 Без этой опции <application>MEncoder</application> создает поток, который не
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5192 может быть корректно декодирован некоторыми аппаратными DVD проигрывателями.
21594
0b1c322c5409 r21599: vstrict=0 is required to create DVDs decodable by standalone dvd players
voroshil
parents: 21525
diff changeset
5193 </para></listitem>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5194 </itemizedlist>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5195 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5196
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5197
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5198 <sect3 id="menc-feat-vcd-dvd-lavc-examples">
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5199 <title>Примеры</title>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5200
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5201 <para>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5202 Это обычный минимальный набор <option>-lavcopts</option> для кодирования видео:
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5203 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5204 <para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5205 VCD:
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5206 <screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5207 -lavcopts vcodec=mpeg1video:vrc_buf_size=327:vrc_minrate=1152:\
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5208 vrc_maxrate=1152:vbitrate=1152:keyint=15:acodec=mp2
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5209 </screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5210 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5211
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5212 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5213 SVCD:
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5214 <screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5215 -lavcopts vcodec=mpeg2video:vrc_buf_size=917:vrc_maxrate=2500:vbitrate=1800:\
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5216 keyint=15:acodec=mp2
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5217 </screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5218 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5219
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5220 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5221 DVD:
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5222 <screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5223 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:\
21594
0b1c322c5409 r21599: vstrict=0 is required to create DVDs decodable by standalone dvd players
voroshil
parents: 21525
diff changeset
5224 keyint=15:vstrict=0:acodec=ac3
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5225 </screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5226 </para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5227 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5228
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5229
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5230 <sect3 id="menc-feat-vcd-dvd-lavc-advanced">
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5231 <title>Расширенные опции</title>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5232
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5233 <para>
21902
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
5234 Для достижения более высокого качества кодирования, Вы также можете
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
5235 добавить опции lavcopts, улучшающие качество, такие как
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
5236 <option>trell</option>, <option>mbd=2</option> и другие.
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
5237 Обратите внимание, что <option>qpel</option> и <option>v4mv</option>,
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
5238 часто полезные с MPEG-4, не применимы к MPEG-1 или MPEG-2.
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
5239 Также, если Вы хотите выполнить очень высококачественное кодирование
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
5240 DVD, может быть полезным добавление <option>dc=10</option> в lavcopts.
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
5241 Это может помочь подавить появление блоков в однородно окрашенных
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
5242 областях. Подводя итог, вот пример настроек lavcopts для
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
5243 высококачественного DVD:
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5244 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5245
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5246 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5247 <screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5248 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=8000:\
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5249 keyint=15:trell:mbd=2:precmp=2:subcmp=2:cmp=2:dia=-10:predia=-10:cbp:mv0:\
21594
0b1c322c5409 r21599: vstrict=0 is required to create DVDs decodable by standalone dvd players
voroshil
parents: 21525
diff changeset
5250 vqmin=1:lmin=1:dc=10:vstrict=0
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5251 </screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5252 </para>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5253 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5254 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5255
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5256 <!-- ********** -->
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5257
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5258 <sect2 id="menc-feat-vcd-dvd-audio">
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5259 <title>Кодирование звука</title>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5260
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5261 <para>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5262 VCD и SVCD поддерживают звук MPEG-1 layer II, используя одну из
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5263 <systemitem class="library">toolame</systemitem>,
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5264 <systemitem class="library">twolame</systemitem>,
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5265 или MP2 <systemitem class="library">libavcodec</systemitem> кодировщик.
21902
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
5266 libavcodec MP2 не так хорош, как остальные две библиотеки, однако, он должен
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5267 быть всегда доступен для использования.
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5268 VCD поддерживает только звук с постоянным битпотоком (CBR), в то время как SVCD
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5269 также поддерживает и переменный (VBR). Будьте осторожны, используя VBR,
21902
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
5270 поскольку некоторые плохие аппаратные проигрыватели могут не очень хорошо его
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5271 поддерживать.
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5272 </para>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5273
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5274 <para>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5275 Для DVD звука используется AC3 кодек из <systemitem class="library">libavcodec</systemitem>.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5276 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5277
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5278
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5279 <sect3 id="menc-feat-vcd-dvd-audio-toolame">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5280 <title>toolame</title>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5281
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5282 <para>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5283 Для VCD и SVCD:
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5284 <screen>-oac toolame -toolameopts br=224</screen>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5285 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5286 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5287
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5288
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5289 <sect3 id="menc-feat-vcd-dvd-audio-twolame">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5290 <title>twolame</title>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5291
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5292 <para>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5293 Для VCD и SVCD:
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5294 <screen>-oac twolame -twolameopts br=224</screen>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5295 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5296 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5297
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5298
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5299 <sect3 id="menc-feat-vcd-dvd-audio-lavc">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5300 <title>libavcodec</title>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5301
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5302 <para>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5303 Для 2 канального DVD звука:
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5304 <screen>-oac lavc -lavcopts acodec=ac3:abitrate=192</screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5305 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5306
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5307 <para>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5308 Для DVD с 5.1 звуком:
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5309 <screen>-channels 6 -oac lavc -lavcopts acodec=ac3:abitrate=384</screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5310 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5311
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5312 <para>
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5313 Для VCD и SVCD:
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5314 <screen>-oac lavc -lavcopts acodec=mp2:abitrate=224</screen>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5315 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5316 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5317 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5318
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5319 <!-- ********** -->
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5320
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5321 <sect2 id="menc-feat-vcd-dvd-all">
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5322 <title>Собирая все вместе</title>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5323
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5324 <para>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5325 Этот раздел демонстрирует некоторые полные команды для создания VCD/SVCD/DVD
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5326 совместимого видео.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5327 </para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5328
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5329
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5330 <sect3 id="menc-feat-vcd-dvd-all-pal-dvd">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5331 <title>PAL DVD</title>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5332
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5333 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5334 <screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5335 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf \
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5336 -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 \
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5337 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:\
21594
0b1c322c5409 r21599: vstrict=0 is required to create DVDs decodable by standalone dvd players
voroshil
parents: 21525
diff changeset
5338 keyint=15:vstrict=0:acodec=ac3:abitrate=192:aspect=16/9 -ofps 25 \
21902
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
5339 -o <replaceable>фильм.mpg</replaceable> <replaceable>фильм.avi</replaceable>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5340 </screen>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5341 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5342 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5343
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5344
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5345 <sect3 id="menc-feat-vcd-dvd-all-ntsc-dvd">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5346 <title>NTSC DVD</title>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5347
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5348 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5349 <screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5350 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf \
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5351 -vf scale=720:480,harddup -srate 48000 -af lavcresample=48000 \
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5352 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:\
21594
0b1c322c5409 r21599: vstrict=0 is required to create DVDs decodable by standalone dvd players
voroshil
parents: 21525
diff changeset
5353 keyint=18:vstrict=0:acodec=ac3:abitrate=192:aspect=16/9 -ofps 30000/1001 \
21902
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
5354 -o <replaceable>фильм.mpg</replaceable> <replaceable>фильм.avi</replaceable>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5355 </screen>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5356 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5357 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5358
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5359
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5360 <sect3 id="menc-feat-vcd-dvd-all-pal-ac3-copy">
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5361 <title>PAL AVI, содержащий AC3 звук, в DVD</title>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5362
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5363 <para>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5364 Если исходный материал уже содержит AC3 звук, используйте -oac copy вместо
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5365 перекодирования.
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5366 <screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5367 mencoder -oac copy -ovc lavc -of mpeg -mpegopts format=dvd:tsaf \
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5368 -vf scale=720:576,harddup -ofps 25 \
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5369 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:\
21902
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
5370 keyint=15:vstrict=0:aspect=16/9 -o <replaceable>фильм.mpg</replaceable> <replaceable>фильм.avi</replaceable>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5371 </screen>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5372 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5373 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5374
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5375
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5376 <sect3 id="menc-feat-vcd-dvd-all-ntsc-ac3-copy">
21748
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5377 <title>NTSC AVI, содержащий AC3 звук, в DVD</title>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5378
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5379 <para>
5a9cea1eb591 Translation of menc-feat-vcd-dvd sect1 in encoding-guide.xml
voroshil
parents: 21747
diff changeset
5380 Если исходный материал уже содержит AC3 звук и является NTSC @ 24000/1001 fps:
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5381 <screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5382 mencoder -oac copy -ovc lavc -of mpeg -mpegopts format=dvd:tsaf:telecine \
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5383 -vf scale=720:480,harddup -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:\
21594
0b1c322c5409 r21599: vstrict=0 is required to create DVDs decodable by standalone dvd players
voroshil
parents: 21525
diff changeset
5384 vrc_maxrate=9800:vbitrate=5000:keyint=15:vstrict=0:aspect=16/9 -ofps 24000/1001 \
21902
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
5385 -o <replaceable>фильм.mpg</replaceable> <replaceable>фильм.avi</replaceable>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5386 </screen>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5387 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5388 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5389
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5390
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5391 <sect3 id="menc-feat-vcd-dvd-all-pal-svcd">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5392 <title>PAL SVCD</title>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5393
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5394 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5395 <screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5396 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xsvcd -vf \
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5397 scale=480:576,harddup -srate 44100 -af lavcresample=44100 -lavcopts \
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5398 vcodec=mpeg2video:mbd=2:keyint=15:vrc_buf_size=917:vrc_minrate=600:\
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5399 vbitrate=2500:vrc_maxrate=2500:acodec=mp2:abitrate=224 -ofps 25 \
21902
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
5400 -o <replaceable>фильм.mpg</replaceable> <replaceable>фильм.avi</replaceable>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5401 </screen>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5402 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5403 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5404
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5405
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5406 <sect3 id="menc-feat-vcd-dvd-all-ntsc-svcd">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5407 <title>NTSC SVCD</title>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5408
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5409 <para>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5410 <screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5411 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xsvcd -vf \
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5412 scale=480:480,harddup -srate 44100 -af lavcresample=44100 -lavcopts \
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5413 vcodec=mpeg2video:mbd=2:keyint=18:vrc_buf_size=917:vrc_minrate=600:\
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5414 vbitrate=2500:vrc_maxrate=2500:acodec=mp2:abitrate=224 -ofps 30000/1001 \
21902
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
5415 -o <replaceable>фильм.mpg</replaceable> <replaceable>фильм.avi</replaceable>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5416 </screen>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5417 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5418 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5419
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5420
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5421 <sect3 id="menc-feat-vcd-dvd-all-pal-vcd">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5422 <title>PAL VCD</title>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5423 <para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5424 <screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5425 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xvcd -vf \
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5426 scale=352:288,harddup -srate 44100 -af lavcresample=44100 -lavcopts \
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5427 vcodec=mpeg1video:keyint=15:vrc_buf_size=327:vrc_minrate=1152:\
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5428 vbitrate=1152:vrc_maxrate=1152:acodec=mp2:abitrate=224 -ofps 25 \
21902
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
5429 -o <replaceable>фильм.mpg</replaceable> <replaceable>фильм.avi</replaceable>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5430 </screen>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5431 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5432 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5433
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5434
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5435 <sect3 id="menc-feat-vcd-dvd-all-ntsc-vcd">
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5436 <title>NTSC VCD</title>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5437 <para>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5438 <screen>
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5439 mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=xvcd -vf \
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5440 scale=352:240,harddup -srate 44100 -af lavcresample=44100 -lavcopts \
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5441 vcodec=mpeg1video:keyint=18:vrc_buf_size=327:vrc_minrate=1152:\
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5442 vbitrate=1152:vrc_maxrate=1152:acodec=mp2:abitrate=224 -ofps 30000/1001 \
21902
f96df7f787bc spelling, wording fix
voroshil
parents: 21900
diff changeset
5443 -o <replaceable>фильм.mpg</replaceable> <replaceable>фильм.avi</replaceable>
21525
329b03d67891 r21537: General reformatting round:
voroshil
parents: 21495
diff changeset
5444 </screen>
20725
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5445 </para>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5446 </sect3>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5447 </sect2>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5448 </sect1>
873f7484ccdd Initial (partially, about 40%) translation.
voroshil
parents:
diff changeset
5449 </chapter>