Mercurial > hg > nginx-site
annotate xml/ru/docs/http/ngx_http_mp4_module.xml @ 2950:a412c1fffbf1
Added SHA1 algorithm to сrypto.subtle.importKey in njs.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Mon, 10 Apr 2023 17:11:39 +0100 |
parents | 17ed19394953 |
children | 9eadb98ec770 |
rev | line source |
---|---|
87
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
1 <?xml version="1.0"?> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
2 |
580
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
365
diff
changeset
|
3 <!-- |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
365
diff
changeset
|
4 Copyright (C) Nginx, Inc. |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
365
diff
changeset
|
5 --> |
be54c443235a
Added copyright markers to documentation sources.
Ruslan Ermilov <ru@nginx.com>
parents:
365
diff
changeset
|
6 |
87
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
8 |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
9 <module name="Модуль ngx_http_mp4_module" |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
10 link="/ru/docs/http/ngx_http_mp4_module.html" |
589 | 11 lang="ru" |
2797
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
12 rev="9"> |
87
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
13 |
110
40eec261c2a6
Added proper support for anonymous sections, notably for the summary.
Ruslan Ermilov <ru@nginx.com>
parents:
102
diff
changeset
|
14 <section id="summary"> |
87
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
15 |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
16 <para> |
271 | 17 Модуль <literal>ngx_http_mp4_module</literal> обеспечивает серверную поддержку |
1105
eb3713019359
The module is no longer restricted to acv1/mp4a.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1104
diff
changeset
|
18 псевдо-стриминга для файлов в формате MP4. |
365 | 19 Такие файлы обычно имеют расширения |
148
682163f2b298
Unified article/path and module/pathname into a single "path".
Ruslan Ermilov <ru@nginx.com>
parents:
110
diff
changeset
|
20 <path>.mp4</path>, <path>.m4v</path> и <path>.m4a</path>. |
87
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
21 </para> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
22 |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
23 <para> |
2796
bcdb13e1e8c6
Minor updates to ngx_http_mp4_module module intro.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1128
diff
changeset
|
24 Псевдо-стриминг работает в паре с совместимым медиаплеером. |
87
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
25 Плеер посылает серверу HTTP-запрос с указанием точки времени старта |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
26 в аргументе |
271 | 27 <literal>start</literal> |
87
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
28 строки запроса (время задаётся в секундах), а сервер в |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
29 ответ посылает поток, у которого начальная позиция соответствует |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
30 запрошенному времени, например: |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
31 <example> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
32 http://example.com/elephants_dream.mp4?start=238.88 |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
33 </example> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
34 Это позволяет в любой момент времени выполнить произвольное |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
35 позиционирование, а также начать воспроизведение с середины |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
36 временной шкалы. |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
37 </para> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
38 |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
39 <para> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
40 В форматах, основанных на H.264, метаданные, необходимые для поддержки |
1104
028f6a4d8046
Corrected punctuation, grammar, style, rephrased some sentences.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1103
diff
changeset
|
41 позиционирования, хранятся в так называемом “moov-атоме”. |
87
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
42 Это часть файла, которая содержит индексную информацию для всего файла. |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
43 </para> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
44 |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
45 <para> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
46 До начала воспроизведения плееру необходимо прочитать метаданные. |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
47 Для этого он отсылает специальный запрос с аргументом |
271 | 48 <literal>start=0</literal>. |
87
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
49 Многие кодирующие программы добавляют метаданные в конец файла. |
1104
028f6a4d8046
Corrected punctuation, grammar, style, rephrased some sentences.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1103
diff
changeset
|
50 Это неоптимально для псевдо-стриминга, поскольку плееру |
028f6a4d8046
Corrected punctuation, grammar, style, rephrased some sentences.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1103
diff
changeset
|
51 потребуется загрузить файл целиком прежде чем начать воспроизведение. |
028f6a4d8046
Corrected punctuation, grammar, style, rephrased some sentences.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1103
diff
changeset
|
52 Если метаданные находятся в начале файла, |
028f6a4d8046
Corrected punctuation, grammar, style, rephrased some sentences.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1103
diff
changeset
|
53 nginx’у достаточно начать отправлять в ответ содержимое файла. |
028f6a4d8046
Corrected punctuation, grammar, style, rephrased some sentences.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1103
diff
changeset
|
54 Если же метаданные находятся в конце файла, |
028f6a4d8046
Corrected punctuation, grammar, style, rephrased some sentences.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1103
diff
changeset
|
55 потребуется прочитать весь |
87
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
56 файл и подготовить новый поток, в котором метаданные предшествуют |
1096
f34be6b26447
Corrected text formatting for ngx_http_mp4_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
966
diff
changeset
|
57 медийным данным. |
f34be6b26447
Corrected text formatting for ngx_http_mp4_module.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
966
diff
changeset
|
58 Это требует дополнительного процессорного |
87
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
59 времени, памяти и дискового ввода/вывода, поэтому лучше |
1104
028f6a4d8046
Corrected punctuation, grammar, style, rephrased some sentences.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1103
diff
changeset
|
60 заранее <link |
2796
bcdb13e1e8c6
Minor updates to ngx_http_mp4_module module intro.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1128
diff
changeset
|
61 url="https://github.com/flowplayer/flowplayer/wiki/7.1.1-video-file-correction"> |
87
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
62 подготовить исходный файл для псевдо-стриминга</link>, |
1104
028f6a4d8046
Corrected punctuation, grammar, style, rephrased some sentences.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1103
diff
changeset
|
63 нежели делать это для каждого запроса. |
87
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
64 </para> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
65 |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
66 <para> |
1106
5a7f86254a34
Mp4: documented the "end" request argument support.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1105
diff
changeset
|
67 Модуль также поддерживает аргумент <literal>end</literal> HTTP-запроса |
5a7f86254a34
Mp4: documented the "end" request argument support.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1105
diff
changeset
|
68 (1.5.13), задающий время окончания воспроизведения потока. |
5a7f86254a34
Mp4: documented the "end" request argument support.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1105
diff
changeset
|
69 Аргумент <literal>end</literal> задаётся совместно с |
5a7f86254a34
Mp4: documented the "end" request argument support.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1105
diff
changeset
|
70 аргументом <literal>start</literal> |
5a7f86254a34
Mp4: documented the "end" request argument support.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1105
diff
changeset
|
71 или самостоятельно: |
5a7f86254a34
Mp4: documented the "end" request argument support.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1105
diff
changeset
|
72 <example> |
5a7f86254a34
Mp4: documented the "end" request argument support.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1105
diff
changeset
|
73 http://example.com/elephants_dream.mp4?start=238.88&end=555.55 |
5a7f86254a34
Mp4: documented the "end" request argument support.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1105
diff
changeset
|
74 </example> |
5a7f86254a34
Mp4: documented the "end" request argument support.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1105
diff
changeset
|
75 </para> |
5a7f86254a34
Mp4: documented the "end" request argument support.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1105
diff
changeset
|
76 |
5a7f86254a34
Mp4: documented the "end" request argument support.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1105
diff
changeset
|
77 <para> |
5a7f86254a34
Mp4: documented the "end" request argument support.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1105
diff
changeset
|
78 Для запроса с ненулевыми аргументами |
5a7f86254a34
Mp4: documented the "end" request argument support.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1105
diff
changeset
|
79 <literal>start</literal> или <literal>end</literal> |
5a7f86254a34
Mp4: documented the "end" request argument support.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1105
diff
changeset
|
80 nginx считывает из файла метаданные, готовит поток с запрошенным |
5a7f86254a34
Mp4: documented the "end" request argument support.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1105
diff
changeset
|
81 диапазоном и отправляет его клиенту. |
87
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
82 Это тоже требует дополнительных ресурсов, как указано выше. |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
83 </para> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
84 |
2797
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
85 <para id="keyframe"> |
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
86 Если аргумент <literal>start</literal> указывает на |
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
87 видеокадр, не являющийся ключевым, |
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
88 то начало такого видео может воспроизводиться с ошибками. |
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
89 В этом случае к запрашиваемому видео |
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
90 <link id="mp4_start_key_frame">могут</link> быть добавлены |
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
91 ближайший к точке <literal>start</literal> ключевой кадр |
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
92 и все промежуточные кадры между ними. |
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
93 При воспроизведении эти кадры будут скрыты |
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
94 при помощи edit-листа (1.21.4). |
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
95 </para> |
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
96 |
87
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
97 <para> |
1106
5a7f86254a34
Mp4: documented the "end" request argument support.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1105
diff
changeset
|
98 Если запрос, обрабатываемый этим модулем, не содержит аргументов |
5a7f86254a34
Mp4: documented the "end" request argument support.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1105
diff
changeset
|
99 <literal>start</literal> и <literal>end</literal>, |
1104
028f6a4d8046
Corrected punctuation, grammar, style, rephrased some sentences.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1103
diff
changeset
|
100 дополнительные ресурсы не тратятся, а файл отсылается непосредственно как |
87
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
101 статический ресурс. |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
102 Некоторые плееры также поддерживают запросы с указанием диапазона |
1104
028f6a4d8046
Corrected punctuation, grammar, style, rephrased some sentences.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1103
diff
changeset
|
103 запрашиваемых байт (byte-range requests), для них этот модуль не требуется. |
87
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
104 </para> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
105 |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
106 <para> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
107 По умолчанию этот модуль не собирается, его сборку необходимо |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
108 разрешить с помощью конфигурационного параметра |
271 | 109 <literal>--with-http_mp4_module</literal>. |
87
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
110 <note> |
659
77a3314c74a7
Avoid the uses of second person.
Ruslan Ermilov <ru@nginx.com>
parents:
589
diff
changeset
|
111 Если ранее использовался сторонний модуль mp4, следует его отключить. |
87
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
112 </note> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
113 </para> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
114 |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
115 <para> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
116 Схожая поддержка псевдо-стриминга для FLV-файлов обеспечивается модулем |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
117 <link doc="ngx_http_flv_module.xml">ngx_http_flv_module</link>. |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
118 </para> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
119 |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
120 </section> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
121 |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
122 |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
123 <section id="example" name="Пример конфигурации"> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
124 |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
125 <para> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
126 <example> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
127 location /video/ { |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
128 mp4; |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
129 mp4_buffer_size 1m; |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
130 mp4_max_buffer_size 5m; |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
131 } |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
132 </example> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
133 </para> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
134 |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
135 </section> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
136 |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
137 |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
138 <section id="directives" name="Директивы"> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
139 |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
140 <directive name="mp4"> |
102
c76a257f3fd4
The directive name is now automatically printed in <default> and <syntax>.
Ruslan Ermilov <ru@nginx.com>
parents:
87
diff
changeset
|
141 <syntax/> |
87
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
142 <default/> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
143 <context>location</context> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
144 |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
145 <para> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
146 Включает в содержащем location обработку этим модулем. |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
147 </para> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
148 |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
149 </directive> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
150 |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
151 |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
152 <directive name="mp4_buffer_size"> |
271 | 153 <syntax><value>размер</value></syntax> |
102
c76a257f3fd4
The directive name is now automatically printed in <default> and <syntax>.
Ruslan Ermilov <ru@nginx.com>
parents:
87
diff
changeset
|
154 <default>512K</default> |
87
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
155 <context>http</context> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
156 <context>server</context> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
157 <context>location</context> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
158 |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
159 <para> |
1115
65bc9d1ec234
MP4 and HLS: updated the "buffer size" phrase for _buffer_size directives.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1106
diff
changeset
|
160 Задаёт начальный размер буфера, используемого при обработке MP4-файлов. |
87
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
161 </para> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
162 |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
163 </directive> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
164 |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
165 |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
166 <directive name="mp4_max_buffer_size"> |
271 | 167 <syntax><value>размер</value></syntax> |
102
c76a257f3fd4
The directive name is now automatically printed in <default> and <syntax>.
Ruslan Ermilov <ru@nginx.com>
parents:
87
diff
changeset
|
168 <default>10M</default> |
87
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
169 <context>http</context> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
170 <context>server</context> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
171 <context>location</context> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
172 |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
173 <para> |
966 | 174 В ходе обработки метаданных может понадобиться буфер большего размера. |
87
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
175 Его размер не может превышать указанного, |
966 | 176 иначе nginx вернёт серверную ошибку |
87
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
177 <http-status code="500" text="Internal Server Error"/> |
966 | 178 и запишет в лог следующее сообщение: |
87
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
179 <example> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
180 "/some/movie/file.mp4" mp4 moov atom is too large: |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
181 12583268, you may want to increase mp4_max_buffer_size |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
182 </example> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
183 </para> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
184 |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
185 </directive> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
186 |
1103
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
187 |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
188 <directive name="mp4_limit_rate"> |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
189 <syntax> |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
190 <literal>on</literal> | |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
191 <literal>off</literal> | |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
192 <value>множитель</value></syntax> |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
193 <default>off</default> |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
194 <context>http</context> |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
195 <context>server</context> |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
196 <context>location</context> |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
197 |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
198 <para> |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
199 Ограничивает скорость передачи ответа клиенту. |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
200 Ограничение основывается на значении усреднённого битрейта запрашиваемого |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
201 MP4-файла. |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
202 Скорость вычисляется умножением битрейта на задаваемый |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
203 <value>множитель</value>. |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
204 Специальное значение “<literal>on</literal>” соответствует множителю 1.1. |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
205 Специальное значение “<literal>off</literal>” отключает ограничение скорости. |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
206 Ограничение устанавливается на запрос, поэтому, если клиент одновременно |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
207 откроет два соединения, суммарная скорость будет вдвое выше |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
208 заданного ограничения. |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
209 </para> |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
210 |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
211 <para> |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
212 <note> |
1128
1594ed379f1f
De-i18n'ed <commercial_version/>.
Ruslan Ermilov <ru@nginx.com>
parents:
1115
diff
changeset
|
213 Директива доступна как часть |
1594ed379f1f
De-i18n'ed <commercial_version/>.
Ruslan Ermilov <ru@nginx.com>
parents:
1115
diff
changeset
|
214 <commercial_version>коммерческой подписки</commercial_version>. |
1103
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
215 </note> |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
216 </para> |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
217 |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
218 </directive> |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
219 |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
220 |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
221 <directive name="mp4_limit_rate_after"> |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
222 <syntax><value>время</value></syntax> |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
223 <default>60s</default> |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
224 <context>http</context> |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
225 <context>server</context> |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
226 <context>location</context> |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
227 |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
228 <para> |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
229 Задаёт начальный объём медиаданных (измеряется как время воспроизведения), |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
230 после отправки которого начинает ограничиваться |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
231 скорость передачи ответа клиенту. |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
232 </para> |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
233 |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
234 <para> |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
235 <note> |
1128
1594ed379f1f
De-i18n'ed <commercial_version/>.
Ruslan Ermilov <ru@nginx.com>
parents:
1115
diff
changeset
|
236 Директива доступна как часть |
1594ed379f1f
De-i18n'ed <commercial_version/>.
Ruslan Ermilov <ru@nginx.com>
parents:
1115
diff
changeset
|
237 <commercial_version>коммерческой подписки</commercial_version>. |
1103
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
238 </note> |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
239 </para> |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
240 |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
241 </directive> |
1fcf8c840dbe
Corrected EN text of mp4_limit_rate, mp4_limit_rate_after, translated into RU.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
1096
diff
changeset
|
242 |
2797
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
243 |
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
244 <directive name="mp4_start_key_frame"> |
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
245 <syntax><literal>on</literal> | <literal>off</literal></syntax> |
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
246 <default>off</default> |
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
247 <context>http</context> |
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
248 <context>server</context> |
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
249 <context>location</context> |
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
250 <appeared-in>1.21.4</appeared-in> |
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
251 |
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
252 <para> |
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
253 Включает режим, в котором видео всегда начинается с ключевого видеокадра. |
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
254 Если аргумент <literal>start</literal> не указывает на ключевой кадр, |
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
255 то первоначальные кадры будут скрыты при помощи mp4 edit-листа. |
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
256 Edit-листы поддерживаются большинством плееров и браузеров |
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
257 включая Chrome, Safari, QuickTime и ffmpeg, |
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
258 частично поддерживаются в Firefox. |
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
259 </para> |
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
260 |
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
261 </directive> |
17ed19394953
Documented the mp4_start_key_frame directive.
Yaroslav Zhuravlev <yar@nginx.com>
parents:
2796
diff
changeset
|
262 |
87
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
263 </section> |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
264 |
f5539fb36bbb
Russian translation of ngx_http_mp4_module.
Ruslan Ermilov <ru@nginx.com>
parents:
diff
changeset
|
265 </module> |