The truth about the iPhone, Flash video and battery life
Does playing Flash video really sap an iPhone's battery life? We find out using our exclusive set of tests.
We used a one-year old third-generation iPod Touch running iOS 4.2.1, the latest version at the time of writing, in our tests. Since Flash Player isn't available on iOS, we used the open-source VLC app instead which can play Flash videos (unfortunately VLC is no longer available for iOS due to a separate legal dispute). Although it is currently possible to play Flash videos on jailbroken iOS devices using a port of Flash Player, we decided against this route given the very experimental nature of the port.
We created two video files of the same movie, one using the H.264 codec in a .m4v container and the other using the Sorenson Spark codec, one of the most popular codecs used in online Flash videos before the rise of H.264, in a .flv container. We used the open-source video encoder FFmpeg to create both files and tried to keep the encoding settings as consistent as possible between them both. Since the VLC app doesn't support playlists and can't loop the same file repeatedly, we had to 'cut and paste' multiple copies of the film together into one long file using a video editor.
To measure the battery life of the iPod Touch while it was playing the videos, we charged it fully, set a moderate volume level and set the screen to 50% brightness. We used a 3.5mm audio splitter cable to plug the earphones into one jack and connect the other to a laptop's line input. We used Total Recorder to record the iPod's output. After the battery is exhausted, the recorded sound file shows how long it lasted.
We performed this test three times on the iPod Touch we played the Flash video using VLC, the H.264 video using VLC and the H.264 video again using Apple's standard Videos playback app.
For comparison, we also tested an Android 2.2 device the Android version of Flash Player only works on Android 2.2 or later. Unfortunately, the only Android 2.2 device we could get a hold of was the Samsung Galaxy Tab, a 7in tablet device not directly comparable to the 3.5in iPod Touch.
Nonetheless, we tested the Tab twice once with the H.264 video and again with the Flash video - to see how those times compare to each other. With the Adobe Flash Player plugin for Android installed, the included video playback app was capable of playing the Flash file as well as the H.264 file so no separate app was used.
On both the iPod Touch and the Galaxy Tab, we disabled all the wireless radios. Although this doesn't really reflect real-world usage, since we were testing the specific effect of video playback on battery life, we tried to exclude as many extraneous factors as possible.
In This Article
Digital document processes in 2020: A spotlight on Western Europe
The shift from best practice to business necessityDownload now
Four security considerations for cloud migration
The good, the bad, and the ugly of cloud computingDownload now
VR leads the way in manufacturing
How VR is digitally transforming our worldDownload now
Deeper than digital
Top-performing modern enterprises show why more perfect software is fundamental to successDownload now