Encoding for G1 using ffmpeg

by Rob Campbell » Fri, 31 Jul 2009 08:28:02 GMT


Sponsored Links
 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?

--~--~---------~--~----~------------~-------~--~----~



Encoding for G1 using ffmpeg

by Mark Murphy » Fri, 31 Jul 2009 09:02:19 GMT


 


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:



Sponsored Links


Encoding for G1 using ffmpeg

by Rob Campbell » Fri, 31 Jul 2009 10:16:40 GMT


 I will look int what you said.  I just realized that its streaming that is
causing the problem because I downloaded the file instead of playing it then
played it and it worked so it seems that the file is configured correctly.






\(Official\ Full\ Music\ ...
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:




Encoding for G1 using ffmpeg

by Justin Grammens » Fri, 07 Aug 2009 20:10:28 GMT


 WOW. Thanks Mark for the links and explanation. Was wondering why the
same movie that I have on the SD card plays fine, but when I put it on
a website and accessed over http:// I get "This video can not be
played".
I'm sorry Android Devs, but this is very disappointing. Playing a
video via http:// should be brain dead simple, and alas with Android,
as compared to other platforms, it is not. Sounds like any video I (or
my clients) create, needs to have -hint associated with it and must be
run through MP4Box or some other program to it can be played when
served over http?
Bummer, as other platforms (iPhone) just play these video right out of
the box. What gives on Android? that the iPhone SDK is able to do, or
is there some other work around that I'm missing?






> 



Other Threads

1. Looking for developer for project

I am looking for a developer who can help me build a call waiting app
which will play sound file which i select in the app.

-- 

2. Does honey comb support Vibrator?

Hi,

Till GB version of android, we can see an icon for {*filter*} setting
under alarm settings.
But on HC I do not see any icon to set {*filter*} there.
Is {*filter*} not supported on HC or its place got changed?
Can some one plz help me in udnerstanding?

Thanks,
Venu

-- 

3. Encrypt Sqlite database in android..

4. Android Debugger is DOG Slow

5. Can I attach any other kinds of file while replying someone's email via Android GMail?

6. how to port Gingrerbread on Neofreerunner

7. Gingerbread Calendar issue