28816050e4 
								
							
								 
							
						 
						
							
							
								
								lavf: Set the stream time base hint properly for chained muxers  
							
							This avoids warnings about using the codec time base as time
base hint.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								55f03d8726 
								
							
								 
							
						 
						
							
							
								
								hlsenc: Add parameter -hls_allow_cache  
							
							The -hls_allow_cache parameter enables explicitly setting the
EXT-X-ALLOW-CACHE tag in the manifest file. That tag indicates
whether the client MAY or MUST NOT cache downloaded media
segments for later replay.
Valid values are 1 (=YES) or 0 (=NO) and the EXT-X-ALLOW-CACHE
will not show in the manifest for other values (or if
-hls_allow_cache is not used.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								34e2ce5dde 
								
							
								 
							
						 
						
							
							
								
								hlsenc: Set the default codecs to AAC and H264  
							
							Most HLS implementation only support these codecs.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7266e24f17 
								
							
								 
							
						 
						
							
							
								
								hls: Sync the file number with the start sequence  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a16431034d 
								
							
								 
							
						 
						
							
							
								
								hls: Factor the sequence computation  
							
							
								
							
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c7603b3c24 
								
							
								 
							
						 
						
							
							
								
								hls: Print start_number as first sequence value  
							
							The option now behaves as expected. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								344f7b5a7e 
								
							
								 
							
						 
						
							
							
								
								hls: Report the current media sequence  
							
							Useful for debugging mostly. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5a70a783f0 
								
							
								 
							
						 
						
							
							
								
								hls: Add an option to prepend a baseurl to the playlist entries  
							
							Useful to generate playlists with absolute paths.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8f8bc92365 
								
							
								 
							
						 
						
							
							
								
								Add missing #includes for *INT64_MAX and *INT64_C  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9d86bfc259 
								
							
								 
							
						 
						
							
							
								
								hlsenc: Don't reset the number variable when wrapping  
							
							The counter itself shouldn't be wrapped, since it is used for
determining end_pts for the next segment - only wrap the number
used for the segment file name.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								09c93b1b95 
								
							
								 
							
						 
						
							
							
								
								hlsenc: Append the last incomplete segment when closing the output  
							
							Also avoid comparing NOPTS values.
Bug-id: 551
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cf679b9476 
								
							
								 
							
						 
						
							
							
								
								hls, segment: fix splitting for audio-only streams.  
							
							CC:libav-stable@libav.org 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ba8cb33273 
								
							
								 
							
						 
						
							
							
								
								hlsenc: Make the start_number option set the right variable  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								30a7648730 
								
							
								 
							
						 
						
							
							
								
								hlsenc: make segment number unsigned  
							
							It will overflow if somebody keeps streaming for a time long enough. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								27a15e0af6 
								
							
								 
							
						 
						
							
							
								
								hlsenc: make EXT-X-MEDIA-SEQUENCE always increase  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9b1370aced 
								
							
								 
							
						 
						
							
							
								
								hlsenc: do not add timestamps in different timebases  
							
							start_time is in stream timebase units while end_time is
in AV_TIME_BASE ones. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0d8cc7a3b2 
								
							
								 
							
						 
						
							
							
								
								hlsenc: use the correct AV_TIME_BASE macro  
							
							recording_time is in AV_TIME_BASE units. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0448f26c97 
								
							
								 
							
						 
						
							
							
								
								hlsenc: keep the playlist to the correct number of items  
							
							Consider the corner case with a list size larger than the wrap
number. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ae85d6c9c0 
								
							
								 
							
						 
						
							
							
								
								hlsenc: use the segment filename in the playlist entry  
							
							Avoid calling av_get_frame_filename twice, once to generate the
segment filename and once to generate the playlist. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6dd93ee6f1 
								
							
								 
							
						 
						
							
							
								
								hlsenc: check append_entry return value  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								66f7b4862f 
								
							
								 
							
						 
						
							
							
								
								hlsenc: use the basename to generate the list entries  
							
							The segment path is desumed from the playlist path, recording a
relative path in the playlist while serving the file could lead
to misleading results. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4a9f7d2bf9 
								
							
								 
							
						 
						
							
							
								
								hlsenc: Don't duplicate a string constant  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3193b13aa1 
								
							
								 
							
						 
						
							
							
								
								hlsenc: Allocate enough space for the pattern string  
							
							If s->filename doesn't contain any period/filename extension to strip
away, the buffer will be too small to fit both strings. This isn't
any buffer overflow since the concatenation uses av_strlcat with
the right buffer size.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7e98956e72 
								
							
								 
							
						 
						
							
							
								
								hlsenc: correctly report target duration  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								adbe03077d 
								
							
								 
							
						 
						
							
							
								
								hls: use a meaningful long name  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5fbceb2c63 
								
							
								 
							
						 
						
							
							
								
								hls: add start_number option  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								22a0827dff 
								
							
								 
							
						 
						
							
							
								
								hlsenc: stand alone hls segmenter  
							
							Simplifies usage but has higher latency. 
							
						 
						13 years ago