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: Steven Liu <lq@chinaffmpeg.org>
This commit is contained in:
		
							parent
							
								
									26ee83acc4
								
							
						
					
					
						commit
						70a9407b50
					
				@ -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
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user