mpv-player / mpv

🎥 Command line video player
https://mpv.io
Other
26.94k stars 2.85k forks source link

yt-dlp's SponsorBlock functionality #9630

Open Obegg opened 2 years ago

Obegg commented 2 years ago

I've been trying to use yt-dlp's SponsorBlock functionality with MPV, but apparently MPV only uses yt-dlp to extract video URL. I am aware of lua scripts for MPV that will function the same for SponsorBlock, but only yt-dlp's SponsorBlock has the latest functionality like skipping highlight and new categories that no other lua script does.

https://github.com/yt-dlp/yt-dlp/issues/2068#issuecomment-998476647

samyakbardiya commented 1 year ago

hey DEVs please take a look into this, this will look good.

guidocella commented 1 year ago

It should work with yt-dlp --sponsorblock-remove foo -o - https://... | mpv -.

samyakbardiya commented 1 year ago

@guidocella it didn't work, it didn't skipped through the sponsor ads, and neither it fetched any chapters :confused: