this post was submitted on 19 Oct 2023
2317 points (97.6% liked)

Technology

59308 readers
4986 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] shrugal@lemm.ee 1 points 1 year ago* (last edited 1 year ago) (2 children)

You could have an app running in the background that detects ads based on the audio (like Shazam for music) and skips it for you. You could probably analyse all the video slices YT sends you and detect ads that way. I think as long as we are still in control of the playback devices we can find ways to make them skip ads.

[–] Blackmist 5 points 1 year ago (1 children)

Sure, you could do that.

You could also download the stream multiple times under different profiles, compare them and then strip away differences.

But we're quickly exiting "one guy with a bit of Javascript" territory.

[–] shrugal@lemm.ee 5 points 1 year ago* (last edited 1 year ago)

We left that territory years ago. There are big community projects and entire companies built on providing adblocking features. People will build it if the need and potential audience is great enough.

[–] netchami@sh.itjust.works 5 points 1 year ago (1 children)

There even is a project that uses machine learning to detect sponsor segments. https://github.com/xenova/sponsorblock-ml

[–] dgriffith@aussie.zone 3 points 1 year ago

MythTV has a broadcast television ad detection module and it works pretty damn well.

This goes into a bit of detail on it's methods:

https://www.mythtv.org/wiki/Commercial_detection

A lot of what it does could be applied to a video stream, although adapting it to useful real-time could be tricky.