YouTube is currently experimenting with server-side ad injection. This means that the ad is being added directly into the video stream.

This breaks sponsorblock since now all timestamps are offset by the ad times.

For now, I set up the server to detect when someone is submitting from a browser with this happening and rejecting the submission to prevent the database from getting filled with incorrect submissions.

106 points

Step by step, it seems, YouTube is evolving into something that has previously been called TV.

permalink
report
reply
18 points

If they carry on with this bullshit I’ll be dropping them entirely for Nebula. I quite enjoy Nebula so far.

permalink
report
parent
reply
13 points
*

Support a federated open source peertube instance instead of proprietary centralized paywalled garbage like Nebula. Just because the shittification isn’t there yet doesn’t mean it won’t be as soon as it gets a bit more popular.

permalink
report
parent
reply
8 points

I firmly believe that quality content needs to be paid somehow. And I’d rather not have that ad based. But I’m open to other platforms too. I’m just giving this a go and there’s some good content on Nebula.

permalink
report
parent
reply
10 points

There is quite a variety of services like that, curiosity stream is another one.

permalink
report
parent
reply
3 points

I guess NotJustBikes did a good job on advertising Nebula. Thanks for the recommendation, I’m in the mood for trying alternatives. I’m even in the mood to give Linux another go because of all the bullshit MS is pulling off again.

permalink
report
parent
reply
7 points
*

I really like the idea of Nebula, but the way they market themselves as “creator owned” without being an actual workers cooperative seems deceitful (still much better than YouTube, though!)

permalink
report
parent
reply
75 points

does this mean stuff like yt-dlp will download videos with ads in thrm as well?

permalink
report
reply
40 points
*

Almost certainly not, although fair disclaimer, I don’t actually know. Ads need to be tailored to the user when delivered, so it’s likely the YouTube frontend requesting the next chunk of video to be an ad instead of the next chunk of video from blob storage. yt-dlp likely just requests successive chunks straight from blob storage, passing this.

If YouTube served ads by saying “point to an ad chunk next” in their blob storage, 1. Everyone would see the same ad and 2. Premium users would still see ads.

To patch this, YouTube really needs to stop serving video chunks directly from storage, but I forget the reason they haven’t done that already.

(Technical note; I’m assuming blob storage chunks contain 1-2 seconds of video and metadata pointing to the next one, like a linked list. I’m not sure if this is how YouTube works, but many video platforms do this)

permalink
report
parent
reply
9 points

Ads need to be tailored to the user when delivered

  1. It does not. If you install a new browser and open YouTube the first time, they’ll be able to show ads to you
  2. They could be tailored based on other factors too, like country, region, or even household by the IP

I think the backend could just generate the ad ridden video feed for the specific user. Most probably it would be very resource intensive, but I can only hope so… but then I also don’t know much about HLS and other fragmented streams so it might not be a performance problem at all.

like a linked list

I think the full list of chunks is (currently) known beforehand. That’s how yt-dlp can download on multiple threads, but also how it can show the number of total fragments relatively quickly on the progress bar

permalink
report
parent
reply
6 points

yeah that makes sense. i was thinking maybe youtube had servers to decide what chunks clients would get, maybe by looking at whether or not they are premium users first. but anyway youtube still needs a way to differentiate between ad chunks and video chunks, otherwise we would just be able to skip 10 seconds through all the ads. surely that can be exploited somehow.

permalink
report
parent
reply
6 points

… which is why youtube has recently started blocking non-logged in users

permalink
report
parent
reply

Wait, they have? I wonder how/if that would affect the functionality of apps like Newpipe/Freetube.

permalink
report
parent
reply
5 points
*

Ew. I’m not entering account credentials on anything I don’t own (ie, at work to see a tutorial on something I need to learn).

permalink
report
parent
reply
73 points

Looks like I’ll finally get a reason to cut off another website I hate using, but never found the willpower to get rid off.

Good

permalink
report
reply
6 points

I’ll buy premium when they finally manage to either prevent adblocking entirely or make it sufficiently inconvenient. Stopping using YouTube is not an option for me and neither is watching ads. YouTube (along with porn) is the internet for me. If I’m not viewing either content, I’m probably not on my computer.

Hell, I don’t even blame them. I can’t morally justify blocking ads and viewing their content for free. I do it because it’s easy and I get away with it. I don’t believe in ads-based business model and that basically leaves subscribtion as the only viable alternative. Not paying and still using the service isn’t exactly practicing what I preach.

permalink
report
parent
reply
10 points
*

I can’t morally justify blocking ads and viewing their content for free.

I can’t morally justify anything they are doing, and have been doing for many many years already. Yet I use their public services because they are unavoidable. But I would never give money to such a company.

permalink
report
parent
reply
-5 points
*

The fact that you use their services despite claiming to oppose them probably tells more about how you really feel than your words do. You’re benefiting from their abusive business model the same whey they themselves are. Justifying the continued use of their services by not paying is just a cope to deal with the cognitive dissonance.

permalink
report
parent
reply
8 points

I’d get premium if they weren’t so insistent on bundling in bullshit I don’t want or care about to justify the high price. I put up with enough of that from cable TV. I’ll pay when there’s an ad-free tier that doesn’t do anything else and is a reasonable price for “the service that’s free with ads, but without ads”. If there was a per-device premium tier that I could throw on my Roku, and all my family members could have premium when they stream from there, I’d pay for that. I’d pay for family tier if it didn’t have the dumb single-household rule which screws over truckers and those who travel for a living.

Google has options they could take to convince consumers to pay to not see ads, but there’s no creativity left there, no effort to court the market or adapt the service and prices to what potential customers need and are willing to pay. And it’s because they believe they are the market, and want to keep it that way.

permalink
report
parent
reply
4 points
*

I’m pretty lucky not liking most YouTube style content these days, so don’t consume too much of it like I used to. Lot of the creators feel like AI with the same phrase of if you are new to the channel like and subscribe and ring the notification bell…blah blah blah. And then drag out info that can be said in a minute into a 10 minute long ramble for the algorithm.

YouTube these days is more for music or checking out a part of a game I’m stuck on these days from a creator with like 1 sub putting up a 10 second long clip that gets straight to the point. Those guys are the heroes over the 5+ minute long uploads of the same content in comparison that has you have to dig into the comments to find where to skip to.

permalink
report
parent
reply
1 point
*

Tbh, I don’t think there is a definite “youtube style” that describes all content on youtube. There are some similarities and within categories of videos you can find styles that are more popular within that category, but site wide I would say it provides quite a bit of variety.

What could be called youtube style is that it’s not TV. In that sense YT style and TV style maybe make some sense.

permalink
report
parent
reply
1 point

I’m not giving google a dime, they take enough from me that I should be paid to use their shit. I’ll just download what I want to watch, it’s not really much of inconvenience.

permalink
report
parent
reply
63 points

I wonder how that will interoperate with timestamps provided by users in comments or by the video creator themselves. Maybe those can be used to detect inserted ads.

permalink
report
reply
33 points

The server must have to send some metadata to the client telling when it’s running an ad because there are other things that need to happen client side during that like adjusting of the time or making the ad clickable

permalink
report
parent
reply
21 points

I have actually been seeing some timestamps that are completely wrong lately, maybe this is why.

permalink
report
parent
reply
60 points

I’m kinda surprised they haven’t done this already. Twitch has been doing this for a while now, and the only reliable way around it is to use a proxy in a country that Twitch doesn’t run ads in.

permalink
report
reply
24 points

Video length is incredibly important to The Algorithm and a LOT of content creators time their videos to the second. Taking away control of that (even if the end result ins the exact same length) is going to ruffle a lot of feathers and lead to a lot of people who want to “be a champion for the viewers who should like, comment, and subscribe and use my referral code for war thunder” as a result.

permalink
report
parent
reply
6 points

Surely The Algorithm will not know of the ads inserted, so that won’t influence the results.

permalink
report
parent
reply
2 points

Never underestimate the ability of a small change to completely break a system

permalink
report
parent
reply
7 points

Yeah it sucks, ublock can’t block twitch ads.

permalink
report
parent
reply
6 points

I think Twitch has gone to shit lately, because of their decisions, but I don’t know the numbers. Do you have any info about this?

permalink
report
parent
reply
8 points

Oh, it’s been pretty crap for a while now. I constantly see viewers complain about AIDS ads and even content creators feel poorly about them.

Looking at https://twitchtracker.com/statistics shows a relatively flat viewership base. Since January, they’ve seen a decrease of close to 15% viewers and concurrent channels. It appears that they had a large increase in viewers and channels in 2020, probably due to Covid, and since then they have been in decline.

permalink
report
parent
reply
2 points

Thanks Limewire, even though you used to put virus on my computer.

permalink
report
parent
reply

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

!piracy@lemmy.dbzer0.com

Create post
⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don’t request invites, trade, sell, or self-promote

3. Don’t request or link to specific pirated titles, including DMs

4. Don’t submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-fi Liberapay

Community stats

  • 4.6K

    Monthly active users

  • 3.2K

    Posts

  • 77K

    Comments