mirror of
				https://github.com/yt-dlp/yt-dlp.git
				synced 2025-10-31 06:35:12 +00:00 
			
		
		
		
	[ModifyChapters] fixes (See desc)
* [docs] Fix typo * Do not enable `sponskrub` by default * Fix `--force-keyframes-at-cuts` * Don't embed subtitles if the video has been cut. Previously, running `--remove-chapters` with `--embed-subs` multiple times caused repeated cuts and out-of-sync subtitles * Store `_real_duration` to prevent running ffprobe multiple times
This commit is contained in:
		| @@ -1394,7 +1394,7 @@ def parseOpts(overrideArguments=None): | ||||
|             'SponsorBlock categories to create chapters for, separated by commas. ' | ||||
|             'Available categories are all, %s. You can prefix the category with a "-" to exempt it. ' | ||||
|             'See https://wiki.sponsor.ajay.app/index.php/Segment_Categories for description of the categories. ' | ||||
|             'Eg: --sponsorblock-query all,-preview' % ', '.join(SponsorBlockPP.CATEGORIES.keys()))) | ||||
|             'Eg: --sponsorblock-mark all,-preview' % ', '.join(SponsorBlockPP.CATEGORIES.keys()))) | ||||
|     sponsorblock.add_option( | ||||
|         '--sponsorblock-remove', metavar='CATS', | ||||
|         dest='sponsorblock_remove', default=set(), action='callback', type='str', | ||||
| @@ -1421,7 +1421,7 @@ def parseOpts(overrideArguments=None): | ||||
|  | ||||
|     sponsorblock.add_option( | ||||
|         '--sponskrub', | ||||
|         action='store_true', dest='sponskrub', default=None, | ||||
|         action='store_true', dest='sponskrub', default=False, | ||||
|         help=optparse.SUPPRESS_HELP) | ||||
|     sponsorblock.add_option( | ||||
|         '--no-sponskrub', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 pukkandan
					pukkandan