Twitter Feed

Links

Ask Aaron

Converting Videos For The Android T-Mobile G1 Phone With Linux

I got my G1 this week and I must say I am impressed. There are a few things I don't like, but I will save those for an upcoming podcast where I review the phone. In the meantime, if you want to check out playing video on the phone here is what you need to do. First make sure you have an "unencumbered" version of ffmpeg on your linux box. Here is a way to get this on Ubuntu. You can find it for Fedora from the Livna repositories. Now before I give you the command line goodies let's talk a little about the capabilities of the G1. The display on the G1 is 480x320 pixels. So that is a 3:2 aspect ratio. Also, apparently there is a hardware decoder chip in the phone for H264. (Can anyone say YouTube? This is why YouTube works, but flash does not.) So H264 will be the best bet for smooth playing video. The phone supports AAC audio as well as MP3, OGG, MIDI, WAV and WMA, but we will stick with AAC for now since I have tested that and know it works. So here is the command to convert a 3:2 aspect ratio video to work on the G1. Please note that this is a two pass process and you will have to run the same command again changing the "-pass 1" to "-pass 2" to get the best quality.
ffmpeg -i inputfilename.ext -aspect 3:2 -s 480x320 -vcodec h264 -b 480k -r 23.976 -acodec aac -ab 96k -sameq -pass 1 outputfilename.mp4
Here is the command for a 4:3 aspect ratio video.
ffmpeg -i inputfilename.ext -aspect 3:2 -s 400x300 -vcodec h264 -b 480k -r 23.976 -acodec aac -ab 96k -padtop 10 -padbottom 10 -padleft 40 -padright 40 -sameq -pass 1 outputfilename.mp4
And here is the command for a 16:9 aspect ratio video.
ffmpeg -i inputfilename.ext -aspect 3:2 -s 480x270 -vcodec h264 -b 480k -r 23.976 -acodec aac -ab 96k -padtop 24 -padbottom 26 -sameq -pass 1 outputfilename.mp4
Notice that we need to pad the videos that have aspect ratios which are dissimilar to the G1 so that they will not distort when we convert them. Also make sure you change the filename placeholders I put in the commands. Now plug your G1 into your computer and copy the file over. You will find a video player in the Marketplace that works quite nicely. And if you really must do this in Windows here is a nice tutorial. Enjoy!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Teacher’s day is

Teacher’s day is celebrated every year on the birth anniversary of a great person Dr. Sarvapalli Radhakrishnan. He was highly

dedicated towards the teaching profession. It is said that, once he was approached by some students and requested for

celebrating his birthday on 5th of September. And he replied that instead of celebrating it my birthday only, you should

celebrated it as a teachers day to pay honour to all teachers for their great works and contributions. Teachers are the real

shapers of the future building blocks of the country means they shape up the students life who are ultimately the future of

country.
http://www.mywishesngreetings.net/2015/07/whatsapp-happy-teachers-day-im...
http://www.mywishesngreetings.net/2015/07/teachers-day-wishes-messages-q...

Teachers are the nation-builders by building the future of citizens living in the country. But nobody was there in the society

to think about teachers and their contributions. The whole credit goes to only one leader of India, President Dr. Sarvapalli

Radhakrishnan who advised us to celebrate his birthday as teacher’s day.Teachers are the real holder of knowledge,

enlightenment and prosperity using which they nourish and prepare us for our life. They serve as source of lighting lamp in

our lives. It is our teachers who stand behind our success.
http://www.teachersdayquotes.net.in/2015/03/happy-teachers-day-images-wa...

instagram.html
http://www.teachersdayquotes.net.in/2015/08/teachers-day-sms-hindi-engli...
http://www.teachersdayquotes.net.in/

I think this is an

I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article.
https://uacontracting.com/

free google play codes

Google play has just launch google play gift card at India but In india they are also available at the department store.

Im no master, however I

Im no master, however I trust you simply made a phenomenal point. You unquestionably completely comprehend what youre talking about, and I can genuinely get behind that.
https://www.christiandogma.news/

I simply discovered this

I simply discovered this online journal and have high trusts in it to proceed. Keep up the immense work, its elusive great ones. I have added to my top picks. Much obliged to You. Friv 4

I read that Post and got it

I read that Post and got it fine and useful.
http://russia-aliexpress.ru/items/odezhda-s-aliexpress

New site is solid. A debt of

New site is solid. A debt of gratitude is in order for the immense exertion.
https://www.firstorderhistorians.com/2016/02/12/10-questions-with-former...

I like this post,And I guess

I like this post,And I guess that they having fun to read this post,they shall take a good site to make a information,thanks for sharing it to me.
https://www.vegas303.net/

I love this blog!! The flash

I love this blog!! The flash up the top is awesome!! http://www.misyapi.net/

This is an incredible

This is an incredible rousing article.I am essentially satisfied with your great work.You put truly exceptionally accommodating data. Keep it up. Continue blogging. Hoping to perusing your next post.
https://www.fitnessandtraining.co.uk/collections/skipping-ropes

Incredible! It sounds great.

Incredible! It sounds great. A debt of gratitude is in order for sharing.. https://organicleadgeneration.com/

Intriguing subject for a

Intriguing subject for a website. I have been looking the Internet for the sake of entertainment and happened upon your site. Marvelous post. Much obliged a ton for sharing your insight! It is extraordinary to see that a few individuals still invest an exertion into dealing with their sites. I'll make sure to inquire again genuine soon.

I simply discovered this

I simply discovered this online journal and have high trusts in it to proceed. Keep up the immense work, its elusive great ones. I have added to my top picks. Much obliged to You.
http://www.friv-2018.net/

The information you have

The information you have posted is very useful. The sites you have referred was good. Thanks for sharing...

Great post I would like to

Great post I would like to thank you for the efforts you have made in writing this interesting and knowledgeable article.
http://aliexpressinfo.ru/

http://www.titaniumbackupapk.org/titanium-backup-pro/

titanium backup pro apk There is always a risk of losing important information while using a cellphone.

Pleasant bLog! its

Pleasant bLog! its intriguing. much obliged to you for sharing....

Your site is truly cool and

Your site is truly cool and this is an incredible rousing article.
https://playbook.coach/

I read a lot of stuff and i

I read a lot of stuff and i found that the way of writing to clearifing that exactly want to say was very good so i am impressed and ilike to come again in future..
https://www.3dinnovations.com.sg/renovation-contractor

Thank you very much for this

Thank you very much for this great post.
http://classicbicycles.com.au

Please share more like that.

Excellent article. Very

Excellent article. Very interesting to read. I really love to read such a nice article. Thanks! keep rocking. voyance telephone

Much thanks for this

Much thanks for this valuable article. I like it.
http://trolleysquarebarbers.com/

Excellent article. Very

Excellent article. Very interesting to read. I really love to read such a nice article. Thanks! keep rocking.
http://voyance-retour-amour.com/

android market

The android market is remarkable. I have a g1 and an ipod contact and i'm able to clearly say that there isn't one app i've got from the apple app save that i have not were given the equal or at the least an equivilant from the android market! On top of that there are loads of random ones that might by no means get permitted by means of apple however make it onto the android market due to the fact there is little or no censorship of what developers can installed there! Needless to say...There may be lots to maintain you busy!!!

Much obliged for setting

Much obliged for setting aside an ideal opportunity to examine this, I feel emphatically about it and affection adapting more on this subject.

Incredible post I might want

Incredible post I might want to thank you for the endeavors you have made in composing this fascinating and learned article. http://www.abcmoney.co.uk

I am extremely cheerful to

I am extremely cheerful to find your post as it will get to be on top in my accumulation of most loved websites to visit. Catalog Printing

I am extremely cheerful to

I am extremely cheerful to find your post as it will get to be on top in my accumulation of most loved websites to visit.

New web site is looking

New web site is looking good. Thanks for the great effort.

This is a splendid site! I'm

This is a splendid site! I'm exceptionally content with the remarks!..

Positive site, where did u

Positive site, where did u think of the data on this posting? I'm satisfied I found it however, sick be inquiring soon to figure out what extra posts you incorporate.

Incredible review, I am a

Incredible review, I am a major adherent to remarking on online journals to illuminate the web journal essayists realize that they've added something beneficial to the internet!.. https://www.redesexshop.com.br distribuidor sex shop

I as of late discovered

I as of late discovered numerous helpful data in your site particularly this online journal page. Among the loads of remarks on your articles. Much obliged for sharing.

a debt of gratitude is in

a debt of gratitude is in order for this usefull article, sitting tight for this article like this once more.

I am extremely cheerful to

I am extremely cheerful to find your post as it will get to be on top in my accumulation of most loved websites to visit.

I am extremely cheerful to

I am extremely cheerful to find your post as it will get to be on top in my accumulation of most loved websites to visit.

This was a truly

This was a truly extraordinary challenge and ideally I can go to the following one. It was alot of fun and I truly had a ball.. https://www.thenora.co.uk/collections/women-shoes womens designer shoes

Excellent article. Very

Excellent article. Very interesting to read. I really love to read such a nice article. Thanks! keep rocking. http://voyance-retour-amour.com/

Thanks for the post and

Thanks for the post and great tips..even I also think that hard work is the most important aspect of getting success..
http://www.cmplus.com.au/

New site is solid. A debt of

New site is solid. A debt of gratitude is in order for the immense exertion. http://www.kine-22-liege.be/

Hello! I found so many good

Hello! I found so many good articles in your blog, especially its discussion. From the tons of comments on your articles! Keep up the good work. http://www.fernglaskaufen.eu/kinderfernglas-kaufen/

Much thanks for this

Much thanks for this valuable article. I like it.

A debt of gratitude is in

A debt of gratitude is in order for the pleasant site. It was extremely helpful for me. I'm cheerful I discovered this online journal. Much obliged to you for offering to us,I too dependably gain some new useful knowledge from your post.

The HTC Dream, likewise

The HTC Dream, likewise discharged as the T-Mobile G1, was the primary Android telephone available, and the gadget still appreciates a steadfast after because of its frame factor, particularly the equipment console. It initially delivered with Android 1.0 however later got updates to more up to date Android adaptations. if you need help in writing and want best essay writing service so get our help from here http://www.getessaydone.com

War is dependably

War is dependably a considerable measure of misfortunes. Once when I was at school our instructor got some information about the war and surviving, how the war influences on the lives of individuals and so on. Concerning me, it's exceptionally troublesome subject, since I concur with a creator that survival just starts.

Games

I have read all your articles. I wonder why you can write them. They are easy to understand and accessible. They help me much too. I'm thankful if you can upload more posts later. Thanks for your sharing.
friv.land || starfall gamesplay || friv 2018|| www friv com || Kizi 4

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

Call Us NOW!

Cumulus Tag Cloud

Feeds

mpeg4 (G1/iPod)
theora
xvid (Nokia Compatible)
iTunes Video

Donate

Support Open Source!

Syndicate

Syndicate content