Commit 70a9407b authored by Steven Liu's avatar Steven Liu

doc/muxers: move hls_flags temp_file to after SECOND LEVEL hls example

the temp_file hls_flags describe text offset is wrong, now move it after example
Signed-off-by: 's avatarSteven Liu <lq@chinaffmpeg.org>
parent 26ee83ac
......@@ -656,11 +656,6 @@ Makes it possible to use segment duration (calculated in microseconds) as %%t i
expression besides date/time values when use_localtime is on.
To get fixed width numbers with trailing zeroes, %%0xt format is available where x is the required width.
@item temp_file
Write segment data to filename.tmp and rename to filename only once the segment is complete. A webserver
serving up segments can be configured to reject requests to *.tmp to prevent access to in-progress segments
before they have been added to the m3u8 playlist.
@example
ffmpeg -i sample.mpeg \
-f hls -hls_time 3 -hls_list_size 5 \
......@@ -670,6 +665,10 @@ ffmpeg -i sample.mpeg \
This will produce segments like this:
@file{segment_20170102194334_0003_00122200_0000003000000.ts}, @file{segment_20170102194334_0004_00120072_0000003000000.ts} etc.
@item temp_file
Write segment data to filename.tmp and rename to filename only once the segment is complete. A webserver
serving up segments can be configured to reject requests to *.tmp to prevent access to in-progress segments
before they have been added to the m3u8 playlist.
@end table
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment