• cmnybo@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    23
    ·
    2 days ago

    That skips the youtube ads, but it will still have the sponsored segments that the uploaders put in their videos unless you install the SponsorBlock script for mpv.

    • edgemaster72@lemmy.world
      link
      fedilink
      English
      arrow-up
      3
      ·
      2 days ago

      I think you can get yt-dlp to integrate Sponsorblock as well but I’ve never tried setting it up myself

      • cmnybo@discuss.tchncs.de
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 days ago

        Yes, you can use the --sponsorblock-mark parameter to add chapter marks around the segments and the --sponsorblock-remove parameter to cut the segments out of the video. I would suggest adding them to the config file for yt-dlp so you don’t have to add the parameters and all of the categories to the command every time.

        Mpv doesn’t use the download function of yt-dlp, so those options won’t work with mpv. You have to install the script for that.

    • Aniki@feddit.orgOP
      link
      fedilink
      arrow-up
      2
      ·
      2 days ago

      oh interesting! i’ve just never come across a sponsored segment i guess, or i skip them so subconsciously that i don’t even notice them.