playing video mp4 ogg avi 3gp

9 views
Skip to first unread message

schasch

unread,
Dec 23, 2009, 2:30:55 AM12/23/09
to android-on-freerunner
Hello,

somebody got a workaround to play video?

I tested a bit and there is one video.mp4 that I can play on my
cupcake (sound is not played right)
...but the picture is OK. the mp4 was recorded with a symbian-handy.

I downloaded a free .3gp ( http://www.bofunk.com/video/2469/bacardi_girls.html
) to test...but is NOT played by cupcake...

I tested the video.ogg also from Nelson Mandela shipped with ubuntu
8.04... NO success...

Is there a workaround for Video?...or NOT possible at all on FR?


regards
schasch
(PS:mp3-song are played very well in my FR-cupcake...)

ran

unread,
Dec 23, 2009, 2:38:45 AM12/23/09
to android-on-freerunner
At cupcake I have not problem with VideoPlayer after converting video
file to right format and size(!):
#Best 16x9
#ffmpeg -i 'input.file' -s 352x200 -aspect 352:288 -padtop 44 -
padbottom 44 -vcodec h263 -acodec aac -ac 2 -b 339k -r 12.5 -ar 8000 -
ab 12.2k 'output.3gp'
#Best 4x3
#ffmpeg -i 'input.file' -s 352x264 -aspect 352:288 -padtop 12 -
padbottom 12 -vcodec h263 -acodec aac -ac 2 -b 339k -r 12.5 -ar 8000 -
ab 12.2k 'output.3gp'
At eclair I could not get nither VideoPlayer nor other player working.
Do you have any success with video under eclair?


On 23 дек, 10:30, schasch <sascha.pac...@googlemail.com> wrote:
> Hello,
>
> somebody got a workaround to play video?
>
> I tested a bit and there is one video.mp4 that I can play on my
> cupcake (sound is not played right)
> ...but the picture is OK. the mp4 was recorded with a symbian-handy.
>

> I downloaded a free .3gp (http://www.bofunk.com/video/2469/bacardi_girls.html

schasch

unread,
Dec 23, 2009, 2:51:28 AM12/23/09
to android-on-freerunner
hell ran,

no...video was not played....
,,,even my mp3 was not played with actual repo sync on yesterday....

can you play the bacardi-video?

regards

ran

unread,
Dec 23, 2009, 4:33:10 AM12/23/09
to android-on-freerunner
It could not be played directly. But it possible to play after
convertion.
ffmpeg -i '/home/ran/Download/
wroyfimsphrqarbeioaorxhppwcwidgwiaqzoqhgs.wmv' -s 352x264 -aspect
352:288 -padtop 12 -padbottom 12 -vcodec h263 -acodec aac -ac 2 -b
339k -r 12.5 -ar 8000 -ab 12.2k '/tmp/bacardi.3gp'
You can find result here: http://rapidshare.com/files/324763524/bacardi.3gp.html
It is nessecerty to work around quolity of convertion, but it play
with VideoPlayer

schasch

unread,
Dec 23, 2009, 4:44:09 AM12/23/09
to android-on-freerunner
OK..THANKS... I will test the video...

actually I am stopped by "not being able to install ffmpeg with aac-
support on my ubuntu 8.04"

:-(

have to compile ffmpeg myself....but ./configure is complaing about
libfaad2(dev9... and a liba52-problem...

grrr....

Arie Skliarouk

unread,
Dec 23, 2009, 5:08:17 AM12/23/09
to android-on...@googlegroups.com
You might want to check ffmpeg package with amr support for ubuntu 8.10 on amd64:
http://arnest.catchmedia.com/ffmpeg-amr_0.5-4_amd64.deb

--
Arie

schasch

unread,
Dec 23, 2009, 5:24:26 AM12/23/09
to android-on-freerunner
thanks...

but:wrong architecture....
need i386

:-)


On 23 Dez., 11:08, Arie Skliarouk <sklia...@gmail.com> wrote:
> You might want to check ffmpeg package with amr support for ubuntu 8.10 on
> amd64:http://arnest.catchmedia.com/ffmpeg-amr_0.5-4_amd64.deb
>
> --
> Arie
>

schasch

unread,
Dec 23, 2009, 11:19:39 AM12/23/09
to android-on-freerunner
OK, if you know it it's simple...
:-)


Added these lines to the top of /etc/apt/sources.list:

deb http://packages.medibuntu.org/ hardy free non-free
deb-src http://packages.medibuntu.org/ hardy free non-free

sudo apt-get update && sudo apt-get install medibuntu-keyring
sudo apt-get remove ffmpeg
sudo apt-get install ffmpeg

sudo apt-get install libavcodec1d

...and then I can convert like 'ran' discribed

regards
schasch

drac

unread,
Jan 2, 2010, 11:25:33 AM1/2/10
to android-on-freerunner
Thanks that's working.
Only problem of incorrect audio out. Do you have audio outgoing
properly with those ffmpeg parameters? do you have any suggestion
please.
Thanks

drac

ran

unread,
Jan 2, 2010, 12:12:19 PM1/2/10
to android-on-freerunner
Unfortunatly, it is more deep and well known problem:
http://code.google.com/p/android/issues/detail?id=3286
May be it will be solved at 2.0.1: http://forum.xda-developers.com/showthread.php?t=600694
Will wait.
If you have other info, inform, please.
Reply all
Reply to author
Forward
0 new messages