Videos for my phone
From ZENotes
(Difference between revisions)
m (1 revision) |
Latest revision as of 23:59, 14 October 2011
Fail with ubuntu forums:
ffmpeg -i input.avi -f mp4 -vcodec mpeg4 -b 2200k -r 30 -s 640x360 -acodec libfaac -ar 32000 -ab 128k -ac 2 output.mp4
http://ubuntuforums.org/showthread.php?t=1125181
DOES NOT WORK!! Unrecognizable 2-Gigs mp4 file that does NOT play on the 5800
From dailymobile:
ffmpeg -i "Something.avi" -f mp4 -vcodec libx264 -b 1000k -r 30 -s 320x240 -acodec libfaac -ar 32000 -ab 128k -ac 2 -threads 0 -async 1 -aspect 4:3 "Somethingelse.mp4"
[In one single line of course. Works, or seems to: Aspect Ratio is wrong, over-elongated vertically; sometimes, sound drops briefly.]
I just failed, I guess wrong display size, using this:
ffmpeg -i "something.flv" -f mp4 -vcodec libx264' -b 600k -r 25 -s 640x360 -acodec libfaac -ar 32000 -ab 128k -ac 2 -threads 4 -async 1 -aspect 16/9 [same with 4:3] "somethingelse.mp4"
Now this provide the highest possibel resolution:
ffmpeg -i "1930Angkor" -f mp4 -vcodec mpeg4 -b 600k -r 24 -s 640x320 -acodec libfaac -ar 32000 -ab 64k -ac 2 -threads 4 -async 1 -aspect 4:3 "Angkor320.mp4"
"-threads 4" is best for dualcore machines; increase this if you have better hardware. Still, this doesn't provide accurate ratio with RealPlayer trying very hard to full-screen it.
[Note that you can just "throw" your Flash files from Youtube straight to the device, it will be recognized and play, even without the .flv extension]