Unlocking Some Secrets of the Android G1 Video Capabilities


1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)
Loading ... Loading ...

In my last blog, I covered my first experiences with T-Mobile’s G1 Android-based phone. I liked it, but could learn to love it if the promise of open-source software comes true. One of the drawbacks I saw on Day 1 was the lack of a video player to playback videos on the phone, and I would like to provide an update to that. I will provide the good news, the bad news, and then provide some suggestions on how to improve the situation.

The Good News

The good news is that on Day 2, one day after launch, a video player became available on Android Market, right off the phone. Android Market says “Video Player 1.0” comes from a chap named “Jeff Hamilton”, and states that, the “File should be MPEG4 or 3GPP with H.264 or H.263 video and MP3, AAC, or AMR audio. Videos need to be 480×352 or smaller to play back properly.” This is a good start, but not the whole equation.

The Bad News

The bad news is that if anyone has played around moving video onto mobile devices, there are a lot more variables you need to know to make the video play well. For example, video bit rate, profiles (ie baseline, simple), and frames per second are important. For the audio inside the video file, sample frequency, bit rate, and channels are key.

The Apple iPhone provides all this data. As an example, data from the iPhone’s technical specifications page clearly states:

“Video formats supported: H.264 video, up to 1.5 Mbps, 640 by 480 pixels, 30 frames per second, Low-Complexity version of the H.264 Baseline Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; H.264 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Baseline Profile up to Level 3.0 with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats; MPEG-4 video, up to 2.5 Mbps, 640 by 480 pixels, 30 frames per second, Simple Profile with AAC-LC audio up to 160 Kbps, 48kHz, stereo audio in .m4v, .mp4, and .mov file formats .”

While to many, this sounds like gibberish, whoever wants to put their own content (not purchased from iTunes, like family videos) it gives you enough to work from.

The Android G1 didn’t have any of these detailed support statements, which provided a medium-sized challenge. :>

Some Suggestions

After some hunting on the internet and about 12 hours of my own testing this weekend, I found some interim solutions that I hope can help.

The first thing you need is a program out there that can convert video from one specification to another specification. For example, you want to take video from your digital camcorder and put it on your Android G1, you must change the format of the file and key specifications (listed above) inside the file. Software packages come in a wide range from consumer, to prosumer, and to professional versions, priced from free to $600, and everything in-between. I use Movavi Video Converter, Nero 8 Recoder/Vision, Pinnacle Studio, and sometimes Sony Vegas for tasks like this, but it’s your choice.

So below, please find what worked for me:

· Apple nano-optimized setting: If you have any videos already in iPod nano-optimized format, most of mine worked OK, but the quality wasn’t as good because the nano has a smaller 320×240 screen.

· IPod generic video down-scaled settings: Take that profile and reduce some of the quality settings: 426×240 pixels, progressive, MPEG4 L1, 350-600 Kbps, 30fps, AAC audio, 48 KHz.

· IPod Generation 5 video down-scaled settings: 426×240 pixels, progressive, MPEG4 L1, 300-900 kbps, 30fps, AAC audio 48 kHz.

· MPEG 4 home-made brew: .mp4 format, 480×320 pixels, MPEG 4 Simple profile, 384 kbps, 25 fps, AAC audio, 22050 sample frequency, 64 kbps bit rate.

· H.264 home-made brew: .mp4 format, 480×320 pixels, H.264 Baseline, 384 kbps, 25 fps, AAC audio, 22050 sample frequency, 64 kbps bit rate.

So there we have it, video on your Android G1. One thing I failed to mention here is that most of this video recoding requires a heavy-duty processor. Of all the packages I tried, all but one heavily taxed all four cores of my AMD Phenom ™ X4 9950 processor, some up to 100%. So don’t skimp on CPU performance, it matters on video encoding. Having moved from a dual core to quad core CPU configuration was one of the best upgrades I made at home.

I hope this is helpful and I would love to hear about your suggestions.

Pat Moorhead is Vice President of Advanced Marketing at AMD. His postings are his own opinions and may not represent AMD’s positions, strategies or opinions. Links to third party sites are provided for convenience and unless explicitly stated, AMD is not responsible for the contents of such linked sites and no endorsement is implied.

View Patrick Moorhead's profile on LinkedIn tweet

Tagged with: , , , , ,

  1. #1 by Joe - March 13th, 2009 at 10:04

    Pat, which recoders did not peg your CPUs?

    Will Avivo figure into this at some point?

    • #2 by Patrick Moorhead - March 13th, 2009 at 17:11

      Thanks Joe for the question. The Movavi MPEG2 to H264 recoder only pegged 1 CPU, but the other packages used 4 cores. Interesting thing about Movavi unlike other recoders is that it can run multiple re-encodes at the same time, so if you have multiple re-codes then its swamping all cores. Don’t want to speculate on futures on the Avivo encoders.]

  2. #3 by Ken Kennedy - March 13th, 2009 at 10:05

    Great summary, Pat. This should be very helpful to folks.

    Just for reference, I use mencoder on Linux (I’ll track down my profile and toss it up later), and Any Video Converter on Windows (there are both free and non-free [but cheap] versions of this prg.) Works well, and in fact it actually uses mencoder under the covers, but gives a nice GUI for WinX users.

    • #4 by Patrick Moorhead - March 13th, 2009 at 17:28

      Ken, thanks for the insight. I love it that even under the covers of a lot of these software packages is FFMPEG and mencoder. Gotta love open source. It would be great if you could post some of the specific profiles working for you. Thanks.

  3. #5 by Matt - March 31st, 2009 at 16:44

    Thanks for putting this out here, Pat.
    Just got a G1 yesterday and I’ve been looking for a good way to do this. I’m a Mac guy (with a T-mobile account, so decided not to go with the iphone) and a video editor and I too was frustrated with the lack of specs on how to format vids for this thing. Looks like I was shooting a bit too high on quality. I’ll try some of your settings with handbrake and/or compressor and see how it works.

  4. #7 by convertman - April 7th, 2009 at 05:48

    If any of you my fellow forum pals looking for video wmv to avi or, simply saying do you ask yourself a question – how to convert WMV, AVI, MPG, FLV, MPEG4 and other media formats into other ones? Have you ever had problems with making of correct video file? Do you have no idea how converter programs work?. If you want to convert media files into various formats you should have one to do it with ease. With the help of this free video converter you can easy convert your video into pefect one and save it in any media format: AVI, MP4, WMV, FLV, MP3, MPg etc. And that is freeware tool! Hope that handy tool will help you to make your processor get busy for a few spare days. :)

*
* (it won't be published)
Your Comment:*
* denotes a required field
We moderate the comments submitted to our blogs. Please do not submit your comment twice -- it will appear shortly.
  1. No trackbacks yet.