120 likes | 231 Views
School of Computing Science Simon Fraser University. Power Consumption of Google Android’s Video Decoder Mathieu Spénard. Outline. Goal How the experiment was conducted Experiment results Challenges and Difficulties Conclusion. Goal.
E N D
School of Computing ScienceSimon Fraser University Power Consumption of Google Android’s Video Decoder Mathieu Spénard
Outline • Goal • How the experimentwasconducted • Experimentresults • Challenges and Difficulties • Conclusion
Goal • Understand how a videodecoder consumes power within a cell phone, whenrenderin H.264/AVC encodedvideos • Experimentdone on a real phone, not a chip • Understand how variousprocessesinvolved in a phone impacts the overall power consumption of rendering a video
Tools Used • Power Tutor [1], whichallowsmeasuring power on the phone using a software with a 5% accuracy for the HTC G1, HTC G2 and Nexus One • Ffmpeg [2] to encode videos • City, Crew and Foremanvideosequences [3] • Linda File Manager [4], a free file management system thatallows for quicklynavigating files within an Android phone
Experiment • Encoded City, Crew and Foremanusingffmpeg • 30fps • CIF • Bitratesfrom 100kbps to 3000kpbs • Noted the mean Y-PSNR • Transfer the files to a Google Nexus One phone • Set it to plane mode (no 3G antenna/WiFi) • Start PowerTutor • Using Linda Manager, navigate and start an encodedvideo • Whenitis over, stop PowerTutor, save the log and renameitsoitiseasy to retrieve • Repeat for all encodedvideos
Results • Videodecodercouldn’tplayvideosencodedat 2000, 2250 and 2500 kbps, and alsofrom 4000 to 5000 kbps • Couldn’t stop the Compassprocess. Consumes verylittle power, but couldadd to the operating system overhead
Challenges and Difficulties • Was not parsing the right data at the beginning • PowerTutoris slow • PowerTutor has a toocoarsegranularity • Not a lot of precision for the OLED screen power consumptionbecause of an unrooted phone (brightnessonly)
Conclusion • Bitrate and mean Y-PSNR do have an impact on the power consumption of a H.264/AVC videodecoder • System overhead consumes more power thandecoding • Screen consumes most of power; does not leave a lot of room for improvement • A studyusing a 3D videodecodercouldgive a differentdecoder/screen power consumption
References • [1] “PowerTutor,” http://ziyang.eecs.umich.edu/projects/powertutor/ • [2] “FFmpeg.” [Online]. Available: http://www.ffmpeg.org/ • [3] “Video Library and Tools - NSL.” [Online]. Available: http://nsl.cs.sfu.ca/wiki/index.php/Video_Library_and_Tools • [4] “Linda File Manager.” [Online].Available: http://www.androlib.com/android.application.com/lindaandny-lindamanager-jpBj.aspx