Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What ffmpeg options should I use to make video playable on Android Phone (specifically, LG Optimus)? I tried various bitrate and codecs and all combinations I came up with doesn't work (tried theora, mpeg4, h264).

share|improve this question

migrated from Jan 17 '11 at 14:28

This question came from our site for computer enthusiasts and power users.

up vote 2 down vote accepted

The reviews I've read seem to indicate that the Optimus will happily play standard-definition Xvid and DivX video files in AVI format so try using the "-vcodec mpeg4" setting.

share|improve this answer

No luck with avi mpg4/mp3 codec? Plays like a charm on my HTC Desire w/ Froyo 2.2 You could also try another encoder, "SUPER" [1] for example. IMHO "Rockplayer" [2] is the best player for the android platform at the moment.

Hope that helps.



share|improve this answer
mpeg4 + libmp3lame was the first thing I tried (can't remember actual bitrate though). – Kuroki Kaze Jan 17 '11 at 16:04

I've been able to use any old AVI or MPEG files with the VPlayer app without having to convert them. Another alternative is Rockplayer. VLC for Android is supposed to be coming in the next few weeks.

share|improve this answer

I would highly recommend that you attempt the free MoboPlayer from the Android market.

It has highly optimised code for ARMV7, ARMV6 VFP, and ARMV6 -- as soon as it downloads it might recommend a different version from the Market version and will automatically start a download of the correct version.

In my personal experience video playback was exceptional on supposedly weaker phones -- although I don't expect it to handle HD content well.

share|improve this answer

These settings work very well on my ZTE Blade. As they have similar hardware (CPU & Memory wise) they should work OK for the Optimus One.

Video codec: x264 Frame size: 512*288 (you may want to finesse that slightly for the Optimus screen size - 320*480?) Bitrate: 768

Audio codec: aac Bitrate: 128

I suspect that the frame size, codecs (audio and video) and bitrates should be fine regardless of which container (AVI/DIVX/MP4/MKV) that you pick to play it through.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.