mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 14:45:14 +00:00 
			
		
		
		
	[dash,youtube] Download live from start to end (#888)
* Add option `--live-from-start` to enable downloading live videos from start * Add key `is_from_start` in formats to identify formats (of live videos) that downloads from start * [dash] Create protocol `http_dash_segments_generator` that allows a function to be passed instead of fragments * [fragment] Allow multiple live dash formats to download simultaneously * [youtube] Implement fragment re-fetching for the live dash formats * [youtube] Re-extract dash manifest every 5 hours (manifest expires in 6hrs) * [postprocessor/ffmpeg] Add `FFmpegFixupDuplicateMoovPP` to fixup duplicated moov atoms Known issue: Ctrl+C doesn't work on Windows when downloading multiple formats Closes #1521 Authored by: nao20010128nao, pukkandan
This commit is contained in:
		 The Hatsune Daishi
					The Hatsune Daishi
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							c031b0414c
						
					
				
				
					commit
					adbc4ec4bb
				
			| @@ -258,6 +258,14 @@ def parseOpts(overrideArguments=None): | ||||
|         '--no-flat-playlist', | ||||
|         action='store_false', dest='extract_flat', | ||||
|         help='Extract the videos of a playlist') | ||||
|     general.add_option( | ||||
|         '--live-from-start', | ||||
|         action='store_true', dest='live_from_start', | ||||
|         help='Download livestreams from the start. Currently only supported for YouTube') | ||||
|     general.add_option( | ||||
|         '--no-live-from-start', | ||||
|         action='store_false', dest='live_from_start', | ||||
|         help='Download livestreams from the current time (default)') | ||||
|     general.add_option( | ||||
|         '--wait-for-video', | ||||
|         dest='wait_for_video', metavar='MIN[-MAX]', default=None, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user