Mercurial > hg > nginx-site
comparison xml/en/docs/http/ngx_http_mp4_module.xml @ 2796:bcdb13e1e8c6
Minor updates to ngx_http_mp4_module module intro.
author | Yaroslav Zhuravlev <yar@nginx.com> |
---|---|
date | Fri, 12 Nov 2021 20:16:05 +0000 |
parents | 4e20e4f8f49b |
children | 17ed19394953 |
comparison
equal
deleted
inserted
replaced
2795:691de23367a7 | 2796:bcdb13e1e8c6 |
---|---|
7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> | 7 <!DOCTYPE module SYSTEM "../../../../dtd/module.dtd"> |
8 | 8 |
9 <module name="Module ngx_http_mp4_module" | 9 <module name="Module ngx_http_mp4_module" |
10 link="/en/docs/http/ngx_http_mp4_module.html" | 10 link="/en/docs/http/ngx_http_mp4_module.html" |
11 lang="en" | 11 lang="en" |
12 rev="7"> | 12 rev="8"> |
13 | 13 |
14 <section id="summary"> | 14 <section id="summary"> |
15 | 15 |
16 <para> | 16 <para> |
17 The <literal>ngx_http_mp4_module</literal> module provides pseudo-streaming | 17 The <literal>ngx_http_mp4_module</literal> module provides pseudo-streaming |
19 Such files typically have the <path>.mp4</path>, <path>.m4v</path>, | 19 Such files typically have the <path>.mp4</path>, <path>.m4v</path>, |
20 or <path>.m4a</path> filename extensions. | 20 or <path>.m4a</path> filename extensions. |
21 </para> | 21 </para> |
22 | 22 |
23 <para> | 23 <para> |
24 Pseudo-streaming works in alliance with a compatible Flash player. | 24 Pseudo-streaming works in alliance with a compatible media player. |
25 The player sends an HTTP request to the server with the start time | 25 The player sends an HTTP request to the server with the start time |
26 specified in the query string argument (named simply | 26 specified in the query string argument (named simply |
27 <literal>start</literal> | 27 <literal>start</literal> |
28 and specified in seconds), and the server responds with the stream | 28 and specified in seconds), and the server responds with the stream |
29 such that its start position corresponds to the requested time, | 29 such that its start position corresponds to the requested time, |
56 nginx must read the entire file and prepare a new stream so that | 56 nginx must read the entire file and prepare a new stream so that |
57 the metadata come before the media data. | 57 the metadata come before the media data. |
58 This involves some CPU, memory, and disk I/O overhead, | 58 This involves some CPU, memory, and disk I/O overhead, |
59 so it is a good idea to | 59 so it is a good idea to |
60 <link | 60 <link |
61 url="http://flowplayer.org/plugins/streaming/pseudostreaming.html#prepare"> | 61 url="https://github.com/flowplayer/flowplayer/wiki/7.1.1-video-file-correction"> |
62 prepare an original file for pseudo-streaming</link> in advance, | 62 prepare an original file for pseudo-streaming</link> in advance, |
63 rather than having nginx do this on every such request. | 63 rather than having nginx do this on every such request. |
64 </para> | 64 </para> |
65 | 65 |
66 <para> | 66 <para> |