I've sat in on meetings with marketing teams ordering hundreds of thousands of dollars of custom development work for ad campaigns with research entirely based on what I can only describe as "vibes".
They will hire psychologists to tell them that flashing the color yellow while playing a tone in C-flat increases the viewer's desire to spend money on floral scents and no one in the room will question it.
There are reasonable advertisements that would not annoy consumers, but those aren't what keep an industry of middle managers and scam artists alive.
Sadly some of those psychologists aren't lying or scamming. There are all kinds of weaknesses and vulnerabilities in the human brain (some universal and some cultural) that can be exploited, at least often enough for it to be worth doing.
There's an entire dark psychology industry around it and it involves human experimentation, including experiments on infants and children (https://www.nbcnews.com/health/health-news/even-3-year-old-k...), research into centuries of real world data on what tends to work well for scammers, fraudsters, preachers, cult leaders, and politicians, and the cutting edge of neuroscience.
I mean, yeah, some of it really is bullshit with very shitty science behind it, but it's easy (and tempting) to dismiss how effective and manipulative advertising is. We all want to think we're smart enough to see through it and are therefore immune, but like many optical illusions even when you know what's really going on your brain can't help but accept the lies. We're full of blind spots, cognitive biases, and hubris which is why such insane amounts of cash get pumped into ads and ad research. To an uncomfortable extent, it works.
We can arm ourselves with knowledge and critical thinking skills, but the most important thing you can do to protect yourself is to just avoid advertising wherever and whenever you can.
Otherwise you could probably fingerprint ad spots and submit them into a shared database. Like musicbrainz. For dynamic blocking of static content. Acoustic ID is probably enough and it would work with podcasts too!
I hate ads so much, I would totally volunteer to make this my hobby.
Advertisement simply sucks and is offensive. There is nothing to respect about any of it. People will always find ways around.
You can do this with ffmpeg.
video_part0076.ts
video_part0077.ts
video_part0078.ts
ad_part0001.ts
ad_part0002.ts
video_part0079.ts
video_part0080.tsI guess they could prevent that if they randomize the part names (with some m:1 mapping on the server side). As long as you have control of your CDN, this would even not mess with caching.
Since the YouTube marks ads, I guess pulling the playlist twice won't really be needed. YouTube's player should somehow know when the ad starts and when it ends after all.
My friend asked me to write a userscript that simulates pressing the "Skip ad" button, so he won't stain his mouse with grease while eating.
Checking if there is a "Skip ad" button every quarter of a second and invoking its click() method eliminated the video ads completely. As it turns out, the button existed alongside the 5 second countdown, just wasn't visible.
I don't know if it still works the same way today, but it felt good to accidentally make an effective adblock with five lines of code.
No. Video files on streaming services like YouTube are served as a bunch of chunks listed in a text playlist. So all they need to do is just to add a bunch of lines in the middle of a playlist.
If they do end up doing it, I'd love to write this, it would be a lot of fun.