]> jfr.im git - yt-dlp.git/commit - README.md
Native SponsorBlock implementation and related improvements (#360)
authorNil Admirari <redacted>
Wed, 1 Sep 2021 20:55:16 +0000 (20:55 +0000)
committerGitHub <redacted>
Wed, 1 Sep 2021 20:55:16 +0000 (02:25 +0530)
commit7a340e0df352bf97da7a7fd238f7d705afbd9c6a
tree12bbf28cf06718f13f9031b4435e980b316253bc
parentf0e53663350a96eacb9fe273607ae564af57a329
Native SponsorBlock implementation and related improvements (#360)

SponsorBlock options:
* The fetched sponsor sections are written to infojson
* `--sponsorblock-remove` removes specified chapters from file
* `--sponsorblock-mark` marks the specified sponsor sections as chapters
* `--sponsorblock-chapter-title` to specify sponsor chapter template
* `--sponsorblock-api` to use a different API

Related improvements:
* Split `--embed-chapters` from `--embed-metadata`
* Add `--remove-chapters` to remove arbitrary chapters
* Add `--force-keyframes-at-cuts` for more accurate cuts when removing and splitting chapters

Deprecates all `--sponskrub` options

Authored by: nihil-admirari, pukkandan
README.md
test/test_postprocessors.py
yt_dlp/__init__.py
yt_dlp/options.py
yt_dlp/postprocessor/__init__.py
yt_dlp/postprocessor/ffmpeg.py
yt_dlp/postprocessor/modify_chapters.py [new file with mode: 0644]
yt_dlp/postprocessor/sponskrub.py
yt_dlp/postprocessor/sponsorblock.py [new file with mode: 0644]