Rob Campbell wrote:
> I have tried:
> ffmpeg -i Eminem\ -\ We\ Made\ You\ \(Official\ Full\ Music\ Video\).mp4
> -s 428x320 -vcodec libx264 -acodec libfaac -ac 1 -ar 16000 -r 13 -ab
> 32000 -aspect 3:2 -padright 26 -padleft 26 -y Em.3gp
> ffmpeg -i Eminem\ -\ We\ Made\ You\ \(Official\ Full\ Music\ Video\).mp4
> -s 428x320 -vcodec mpeg4 -acodec libfaac -ac 1 -ar 16000 -r 13 -ab 32000
> -aspect 3:2 -padright 26 -padleft 26 -y Em.mp4
> ffmpeg -i Eminem\ -\ We\ Made\ You\ \(Official\ Full\ Music\ Video\).mp4
> -s 480x256 -vcodec mpeg4 -acodec libfaac -ac 1 -ar 16000 -r 13 -ab 32000
> -aspect 3:2 -padtop 32 -padbottom 32 -y Em.mp4
> 
> But I just can't seem to find anything that works.  I put the files on a
> website and then access it via the G1 and it doesn't play:
> Cannot play video
> Sorry, this video cannot be played
> 
> Can anyone assist?

https://help.ubuntu.com/community/AndroidVideoEncoding
http://android-unleashed.com/tag/convert-video-to-android-g1
http://www.harelmalka.com/?p=120
http://www.scribd.com/doc/16917356/Mastering-the-Android-Media-Framework

For streaming, you need the moov atom before the mdat atom:

http://groups.google.com/group/android-developers/browse_thread/thread/f7f1600cc7e85f2c/6853876731ff2ae9?lnk=raot&pli=1
http://groups.google.com/group/android-developers/browse_thread/thread/7a3a4cce5b840f5f

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Need Android talent? Ask on HADO! http://wiki.andmob.org/hado

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to