SlideShare a Scribd company logo
EnergYT: Energy Efficient
YouTube Player
Khaled Ziyaeen
Michail Giannakopoulos
Miroslav Cupak
Outline
• Problem
• Motivation
• Approach
• Architecture
• Implementation
• Future Work
• Related Work
• Conclusion
Problem
• Energy is scarce on mobile phones.
• One of the most energy consuming tasks on a
mobile phone is streaming and playing video
content
– GSM (WiFi) and backlight are two highest energy
consumers
Video Playback Consumption
Network Data Download Consumption
Signal Strength vs. Energy Use
• Higher Signal Strength results in lower energy
consumption
– Energy Consumption increased by 30% when
signal strength lowered by 10dBm over 3G data
download
• 3G data download suffers more severely than
WiFi data download when signal strength is
lowered
Motivation
• Opportunity to save energy during YouTube
video streaming
– Particularly, backlight and data download
• Backlight energy consumption is set by the
user
• Data Download energy consumption can be
controlled by app developer
Approach
• Save energy during video streaming without
interrupting user experience in any way
• Schedule data downloads during periods of
high signal strength
• Implement this energy-aware feature into a
new Android YouTube media player
– Download a YouTube video from a YouTube link
Http Request
TCP Socket
Connectionwith
YoutubeServer
MobileStorage
Source
File
Media Player
Connection Component
Media Component
Append
Server Component
Localhost
Connection
Process Request
Stream
Content
EnergYT Architecture
Implementation
• Connection Component
• Server Component
• Media Component
Http Request
TCP Socket
Connectionwith
YoutubeServer
MobileStorage
Source
File
Media Player
Connection Component
Media Component
Append
Server Component
Localhost
Connection
Process Request
Stream
Content
EnergYT Architecture
Connection Component
• Determines actual video URL from YouTube link
• Downloads video data in chunks
• Stores video data into local file
• Signal strength is monitored
– Connection closed when
1. Signal strength drops below threshold
2. Remaining buffer allows delaying next chunk download
– Connection reopened when signal is strong again
Energy-Aware Algorithm
while (video file is being downloaded) {
if (bufferSize > DISCONNECT_THRESHOLD
&& currSignal < prevSignal
&& connection is on)
disconnect();
if ((bufferSize > CONNECT_THRESHOLD
&& connection is off)
|| (currSignal > prevSignal)) {
prevSignal <- getSignal();
connect();
downloadVideoChunk();
} }
Http Request
TCP Socket
Connectionwith
YoutubeServer
MobileStorage
Source
File
Media Player
Connection Component
Media Component
Append
Server Component
Localhost
Connection
Process Request
Stream
Content
EnergYT Architecture
Server Component
• Listens for local client connection
• Streams video content to Media Component
– Reads and transmits local file created by
Connection Component
• Reads file while video content is being
downloaded by Connection Component
Http Request
TCP Socket
Connectionwith
YoutubeServer
MobileStorage
Source
File
Media Player
Connection Component
Media Component
Append
Server Component
Localhost
Connection
Process Request
Stream
Content
EnergYT Architecture
Media Component
• Connects to Server Component
– setVideoURI(“127.0.0.1:8893/file”);
• Plays video as soon as it receives content from
Server Component
• Performs local buffering
– Allows video playback even when connection is
closed by Connection Component
– Waits for video content if none available
• Enables user to control playback
Major Issues
• Reverse engineering approach to retrieve the
actual Youtube streaming URL
• Reconnecting to continue download from a
specific point
• Getting video in an encoding supported by
Android’s VideoView widget
• Enabling playback of incomplete files
• Turning off radio from the application (Fast
Dormancy)
Future Work
• Evaluation process:
– Energy consumption comparing simple version of
our media player versus energy-aware one
– Use AIRPLANE_MODE to simulate radio shutdown
• Cannot be enabled from the application layer
• Develop a more sophisticated method for
predicting the threshold values
Related Work
• “Envi: Energy Efficient Video Player for Mobiles”, S.Suneja, V.Navda,
R.Ramjee, E.DeLara
• “Bartendr: a practical approach to energy-aware cellular data scheduling”,
A.Schulman, V.Navda, R.Ramjee, N.Spring, P.Deshpande, C.Grunewald,
K.Jain, V.N.Padmanabhan – MobiCom, 2010
• “Energy Consumption in Mobile Phones: A Measurement Study and
Implementations for Network Applications”, N.Balasubramanian,
A.Balasubramanian, A.Venkataramani – ICM, 2009
• “Energy Consumption of Mobile YouTube: Quantitative Measurement and
Analysis”, Y.Xiao, R.S.Kalyanaraman, A.Yla-Jaaski – NGMAST, 2008
• “An analysis of Power Consumption in a Smartphone”, A.Carroll, G.Heiser
– USENIX, 2010
Conclusion
• We developed the infrastructure for an energy
aware YouTube player on the Android
Platform
• We developed an energy aware algorithm for
streaming YouTube videos.
Thank you!
Questions/Remarks?

More Related Content

PDF
2011 ISLPED: Design contest
PPT
Bluetube
PDF
2011 CHT Contest: Mobile application
PPTX
Multimedia streaming
PPTX
Монетизация сетевой инфраструктуры
PPTX
Reliable content video streaming services for p2 p networks
PPTX
Multi_Cloud_Storage_Presentation.presentation.
PDF
Application Delivery Platform Towards Edge Computing - Bukhary Ikhwan
2011 ISLPED: Design contest
Bluetube
2011 CHT Contest: Mobile application
Multimedia streaming
Монетизация сетевой инфраструктуры
Reliable content video streaming services for p2 p networks
Multi_Cloud_Storage_Presentation.presentation.
Application Delivery Platform Towards Edge Computing - Bukhary Ikhwan

Similar to EnergYT: Energy Efficient YouTube Player (20)

PPT
Object Placement in Video Content Distribution Networks
PPTX
NodeJS Edinburgh Video Killed My Data Plan
PPTX
Docker:- Application Delivery Platform Towards Edge Computing
PDF
Use of Automation Codecs Streaming Video Applications Based on Cloud Computing
PPTX
IBC Content Everywhere Hub Presentation: HTML5 And Fastest Encoding
PDF
IPTV Workshop FDB104
PDF
booting-booster-final-20160420-0700
PPTX
Network characteristics of a
PPT
P2P file sharing over GPRS network using Motorola RAZR2
PDF
[AWS에서의 미디어 및 엔터테인먼트] 클라우드에서의 브로드캐스팅 서비스
PPTX
Introduction to multimedia presentatioin
PPTX
Video performance snowcamp
PPTX
FYP-Final-External
PPT
Ip Cam
PDF
Making the Home Gateway an Operator Control Point - Andreas Sayegh, Deutsche ...
PDF
Software Updates for Connected Devices - OSCON 2018
PPTX
PEER-TO-PEER INTERACTIVE VOD STREAMING USING NCECD
PDF
Beaglebone Black Webcam Server For Security
PPT
Ipcam 090727060856-phpapp02
PDF
Delivering Traditional and Omnidirectional Media
Object Placement in Video Content Distribution Networks
NodeJS Edinburgh Video Killed My Data Plan
Docker:- Application Delivery Platform Towards Edge Computing
Use of Automation Codecs Streaming Video Applications Based on Cloud Computing
IBC Content Everywhere Hub Presentation: HTML5 And Fastest Encoding
IPTV Workshop FDB104
booting-booster-final-20160420-0700
Network characteristics of a
P2P file sharing over GPRS network using Motorola RAZR2
[AWS에서의 미디어 및 엔터테인먼트] 클라우드에서의 브로드캐스팅 서비스
Introduction to multimedia presentatioin
Video performance snowcamp
FYP-Final-External
Ip Cam
Making the Home Gateway an Operator Control Point - Andreas Sayegh, Deutsche ...
Software Updates for Connected Devices - OSCON 2018
PEER-TO-PEER INTERACTIVE VOD STREAMING USING NCECD
Beaglebone Black Webcam Server For Security
Ipcam 090727060856-phpapp02
Delivering Traditional and Omnidirectional Media
Ad

More from Miro Cupak (20)

PDF
Exploring the latest and greatest from Java 14
PDF
Exploring reactive programming in Java
PDF
Exploring the last year of Java
PDF
Local variable type inference - Will it compile?
PDF
The Good, the Bad and the Ugly of Java API design
PDF
Local variable type inference - Will it compile?
PDF
Exploring reactive programming in Java
PDF
The good, the bad, and the ugly of Java API design
PDF
Master class in modern Java
PDF
The good, the bad, and the ugly of Java API design
PDF
Exploring reactive programming in Java
PDF
The good, the bad, and the ugly of Java API design
PDF
Writing clean code with modern Java
PDF
The good, the bad, and the ugly of Java API design
PDF
Master class in modern Java
PDF
Exploring reactive programming in Java
PDF
Writing clean code with modern Java
PDF
Exploring what's new in Java 10 and 11 (and 12)
PDF
Exploring what's new in Java 10 and 11
PDF
Exploring what's new in Java in 2018
Exploring the latest and greatest from Java 14
Exploring reactive programming in Java
Exploring the last year of Java
Local variable type inference - Will it compile?
The Good, the Bad and the Ugly of Java API design
Local variable type inference - Will it compile?
Exploring reactive programming in Java
The good, the bad, and the ugly of Java API design
Master class in modern Java
The good, the bad, and the ugly of Java API design
Exploring reactive programming in Java
The good, the bad, and the ugly of Java API design
Writing clean code with modern Java
The good, the bad, and the ugly of Java API design
Master class in modern Java
Exploring reactive programming in Java
Writing clean code with modern Java
Exploring what's new in Java 10 and 11 (and 12)
Exploring what's new in Java 10 and 11
Exploring what's new in Java in 2018
Ad

Recently uploaded (20)

PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
PDF
Digital Strategies for Manufacturing Companies
PDF
medical staffing services at VALiNTRY
PPTX
Transform Your Business with a Software ERP System
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PPTX
Operating system designcfffgfgggggggvggggggggg
PPTX
ISO 45001 Occupational Health and Safety Management System
PDF
Nekopoi APK 2025 free lastest update
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
L1 - Introduction to python Backend.pptx
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
How Creative Agencies Leverage Project Management Software.pdf
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
PPTX
ai tools demonstartion for schools and inter college
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
Softaken Excel to vCard Converter Software.pdf
Raksha Bandhan Grocery Pricing Trends in India 2025.pdf
Digital Strategies for Manufacturing Companies
medical staffing services at VALiNTRY
Transform Your Business with a Software ERP System
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
Operating system designcfffgfgggggggvggggggggg
ISO 45001 Occupational Health and Safety Management System
Nekopoi APK 2025 free lastest update
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Wondershare Filmora 15 Crack With Activation Key [2025
L1 - Introduction to python Backend.pptx
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
Design an Analysis of Algorithms II-SECS-1021-03
How Creative Agencies Leverage Project Management Software.pdf
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
ai tools demonstartion for schools and inter college
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025

EnergYT: Energy Efficient YouTube Player

  • 1. EnergYT: Energy Efficient YouTube Player Khaled Ziyaeen Michail Giannakopoulos Miroslav Cupak
  • 2. Outline • Problem • Motivation • Approach • Architecture • Implementation • Future Work • Related Work • Conclusion
  • 3. Problem • Energy is scarce on mobile phones. • One of the most energy consuming tasks on a mobile phone is streaming and playing video content – GSM (WiFi) and backlight are two highest energy consumers
  • 5. Network Data Download Consumption
  • 6. Signal Strength vs. Energy Use • Higher Signal Strength results in lower energy consumption – Energy Consumption increased by 30% when signal strength lowered by 10dBm over 3G data download • 3G data download suffers more severely than WiFi data download when signal strength is lowered
  • 7. Motivation • Opportunity to save energy during YouTube video streaming – Particularly, backlight and data download • Backlight energy consumption is set by the user • Data Download energy consumption can be controlled by app developer
  • 8. Approach • Save energy during video streaming without interrupting user experience in any way • Schedule data downloads during periods of high signal strength • Implement this energy-aware feature into a new Android YouTube media player – Download a YouTube video from a YouTube link
  • 9. Http Request TCP Socket Connectionwith YoutubeServer MobileStorage Source File Media Player Connection Component Media Component Append Server Component Localhost Connection Process Request Stream Content EnergYT Architecture
  • 10. Implementation • Connection Component • Server Component • Media Component
  • 11. Http Request TCP Socket Connectionwith YoutubeServer MobileStorage Source File Media Player Connection Component Media Component Append Server Component Localhost Connection Process Request Stream Content EnergYT Architecture
  • 12. Connection Component • Determines actual video URL from YouTube link • Downloads video data in chunks • Stores video data into local file • Signal strength is monitored – Connection closed when 1. Signal strength drops below threshold 2. Remaining buffer allows delaying next chunk download – Connection reopened when signal is strong again
  • 13. Energy-Aware Algorithm while (video file is being downloaded) { if (bufferSize > DISCONNECT_THRESHOLD && currSignal < prevSignal && connection is on) disconnect(); if ((bufferSize > CONNECT_THRESHOLD && connection is off) || (currSignal > prevSignal)) { prevSignal <- getSignal(); connect(); downloadVideoChunk(); } }
  • 14. Http Request TCP Socket Connectionwith YoutubeServer MobileStorage Source File Media Player Connection Component Media Component Append Server Component Localhost Connection Process Request Stream Content EnergYT Architecture
  • 15. Server Component • Listens for local client connection • Streams video content to Media Component – Reads and transmits local file created by Connection Component • Reads file while video content is being downloaded by Connection Component
  • 16. Http Request TCP Socket Connectionwith YoutubeServer MobileStorage Source File Media Player Connection Component Media Component Append Server Component Localhost Connection Process Request Stream Content EnergYT Architecture
  • 17. Media Component • Connects to Server Component – setVideoURI(“127.0.0.1:8893/file”); • Plays video as soon as it receives content from Server Component • Performs local buffering – Allows video playback even when connection is closed by Connection Component – Waits for video content if none available • Enables user to control playback
  • 18. Major Issues • Reverse engineering approach to retrieve the actual Youtube streaming URL • Reconnecting to continue download from a specific point • Getting video in an encoding supported by Android’s VideoView widget • Enabling playback of incomplete files • Turning off radio from the application (Fast Dormancy)
  • 19. Future Work • Evaluation process: – Energy consumption comparing simple version of our media player versus energy-aware one – Use AIRPLANE_MODE to simulate radio shutdown • Cannot be enabled from the application layer • Develop a more sophisticated method for predicting the threshold values
  • 20. Related Work • “Envi: Energy Efficient Video Player for Mobiles”, S.Suneja, V.Navda, R.Ramjee, E.DeLara • “Bartendr: a practical approach to energy-aware cellular data scheduling”, A.Schulman, V.Navda, R.Ramjee, N.Spring, P.Deshpande, C.Grunewald, K.Jain, V.N.Padmanabhan – MobiCom, 2010 • “Energy Consumption in Mobile Phones: A Measurement Study and Implementations for Network Applications”, N.Balasubramanian, A.Balasubramanian, A.Venkataramani – ICM, 2009 • “Energy Consumption of Mobile YouTube: Quantitative Measurement and Analysis”, Y.Xiao, R.S.Kalyanaraman, A.Yla-Jaaski – NGMAST, 2008 • “An analysis of Power Consumption in a Smartphone”, A.Carroll, G.Heiser – USENIX, 2010
  • 21. Conclusion • We developed the infrastructure for an energy aware YouTube player on the Android Platform • We developed an energy aware algorithm for streaming YouTube videos.