Skip to content
This repository has been archived by the owner on Mar 31, 2021. It is now read-only.

Youtube/Netflix integration to capture footprint of streaming #46

Closed
corradio opened this issue May 25, 2019 · 24 comments
Closed

Youtube/Netflix integration to capture footprint of streaming #46

corradio opened this issue May 25, 2019 · 24 comments

Comments

@corradio
Copy link
Member

No description provided.

@tgy
Copy link
Contributor

tgy commented Jun 3, 2019

Is anyone working on that? I'd be interested in working on that one as a first contribution.

@corradio
Copy link
Member Author

corradio commented Jun 4, 2019 via email

@tgy
Copy link
Contributor

tgy commented Jun 4, 2019

The paper Evaluating Sustainable Interaction Design of Digital Services: The Case of YouTube analyses the carbon footprint of YouTube. It includes everything from the CDN (Content Delivery Network), the core and edge network (Internet infrastructure), residential access network / cellular network, end user device (phone or laptop). The result is computed for one year during which an estimated 1 billion hours of YouTube video are watched by users. The total electricity use is estimated to be 19.6 TWh. This corresponds (from the paper) to 10.1 MtCO2e for 365 * 1e9 * 60 minutes of watched YouTube videos, or ~0.45 gCO2e per minute. From this infographic, looking at a webpage with pictures or videos emits an estimated 0.2 gCO2e per second. I feel like my 0.45 gCO2e per minute is pretty low. What do you think @corradio?

@martincollignon
Copy link
Contributor

martincollignon commented Jun 4, 2019 via email

@corradio
Copy link
Member Author

corradio commented Jun 4, 2019

Wow that's very low. For reference, my electricity consumption for a day is roughly ~1kg CO2.
@brunolajoie do those orders of magnitude seem realistic to you?

@tgy
Copy link
Contributor

tgy commented Jun 4, 2019 via email

@martincollignon
Copy link
Contributor

martincollignon commented Jun 4, 2019 via email

@tgy
Copy link
Contributor

tgy commented Jun 4, 2019 via email

@corradio
Copy link
Member Author

corradio commented Jun 4, 2019 via email

@tgy
Copy link
Contributor

tgy commented Jun 4, 2019 via email

@martincollignon
Copy link
Contributor

martincollignon commented Jun 4, 2019 via email

@brunolajoie
Copy link

brunolajoie commented Jun 5, 2019

@corradio about #46 (comment)

@tgv comment suggests 2 completely different figures (to be compared with your 1kgCO2eq/day household electricity use)

  • 0.45 gCO2e per minute, or 0.6kg/day (for youtube, based on a 2019 peer-reviewed paper)
  • 0.2 gCO2e per second, or 17kg/day (for web surfing with video, based on a 2015 non-peer reviewed infographic).

I think we should trust the 2019 peer-reviewed paper to start with. It's methodology seems transparent, and we can even subtract the "user-device" part based on the following breakdown from the paper
image

That lowers our 0.45gCO2eq/min by 22.7%, to give 0.35gCO2eq/min of youtube streaming excluding end device electricity consumtion

Note that they used IEA's GHG emission factors to convert TWh into tCO2eq, BUT also takes into account renewable energy purchase from google datacenter to reduce the carbon intensity for datacenters. I would recommend not to take these green certificates into account, but results will not change significantly (<5% difference)

@tgy
Copy link
Contributor

tgy commented Jun 5, 2019

@brunolajoie Great, thanks! I got a response from the authors of the paper and they told me that my computation makes sense.

@tgy
Copy link
Contributor

tgy commented Jun 5, 2019

I've created #56

@corradio
Copy link
Member Author

corradio commented Jun 6, 2019 via email

@tgy
Copy link
Contributor

tgy commented Jun 6, 2019 via email

@corradio
Copy link
Member Author

@martincollignon you mentioned this:
image

This seems to be quite different numbers? Here it's more 18gCO2eq/minute!

@brunolajoie
Copy link

brunolajoie commented Jul 15, 2019

I found the scientific source behind this firefox extention:

Examining it carefully, the rate they compute is lower than 18g/min, but rather between 1 and 8.
image

@tgy
Copy link
Contributor

tgy commented Jul 16, 2019

The full report is available here. Maybe the carbon footprint of your online video watching activity should be indexed on the energy mix of your country and of the country where the datacenter is located. This means it shouldn't be a single number for every user.

@scriptator
Copy link

Carbonalyzer sounds very interesting, but all data is only stored locally in the Browser so we won't get it into the app easily. However, it is an open source project with an MIT license, so probably there are ways to get it done.

Do you think that having a possibility to import Carbonalyzer data into the Tomorrow app would be a good idea?

@steren
Copy link
Contributor

steren commented Dec 9, 2019

Just note that Youtube is carbon neutral at the datacenter level, as Google either purchases green electricity or offsets the rests for 100% of all its operations.

Read more at: https://sustainability.google/environment/:

In 2018, we matched 100% of the electricity consumption of our operations with purchases of renewable energy for the second consecutive year.

And notably in this article.

I am not sure if the tools estimating watching Youtube video take that into account when computing the CO2 from the used electricity.

@martincollignon
Copy link
Contributor

https://www.carbonbrief.org/factcheck-what-is-the-carbon-footprint-of-streaming-video-on-netflix

Let's close this unless we can find APIs to pull web usage.

@baywet
Copy link
Contributor

baywet commented Jun 20, 2020

@martincollignon Can we re-open this issue?
The Microsoft Graph "project rome" APIs allow you to pull activities done from any windows device as well as some activities from Edge if the user have consented them.
I know the vast majority of people are not using edge out here but it could be a start.
https://docs.microsoft.com/en-us/graph/api/projectrome-get-activities?view=graph-rest-1.0

@baywet
Copy link
Contributor

baywet commented Jun 20, 2020

Also youtube offers an API that let's you access to the user's history. Here is what I had noted at the time:
https://developers.google.com/youtube/v3/docs/?apix=true

  1. list playlists with mine set to true.
  2. Get the watch history one.
  3. Then list playlist items for that playlist

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants