Mplayer is too slow !

*Baby*
Hi,

I have compiled mplayer for the Mini2440.

I can play music very well.

But when I play video , I have some issue.

I try to play the panda.mpg video that is in the Qtopia file system.
The video is 300x168.

When I run the video with : ./mplayer panda.mpg -framedrop -quiet -vf -vo
fbdev2, there is no problem.

But when I try to resize the video, the video is too slow and there is a
lag. I think that the s3c2440 has no hardware unit for the frame resizing.

I know that here is options that can accelerate the video as -vfm ffmpeg
-lavdopts lowres=1:fast:skiploopfilter=all, but with this solution I can't
choose the size of the video.

Does someone have an idea in order to solve this problem.

mplayer use ffmpeg for the video and the audio.

*Baby*
I found why it's so low.

I will write a complete tutorial.

stereo_m
a tutorial for compiling mplayer would be great, and maybe you could upload
some binaries?

*Baby*
Yes, goo idea I can share my binaries.

*Baby*
Tutorial on the compilation of Mplayer for Mini2440 available on
http://ultimatewebfree.kinssha.org/index.php/tutorielmini2440

The tutorial is in french, but I will translate it english when I have the
time.

Juergen Beisert
Very interesting information. May I ask to integrate your approach into my
BSP (PTXdist based)?

*Baby*
What is that ? BSP ?

Juergen Beisert
BSP: Board Support Package. ;-)

Refer http://www.oselas.com/oselas/bsp/pengutronix/mini2440_bsp_en.html

*Baby*
Ok it's what I thought. And what do you want to do ? Put the whole tutoriel
on the BSP or just take the steps ?

Juergen Beisert
Using your build rules to enable other users to get the same result you
got, but without all these manual steps. And some of your findings I would
like to add to the BSP manual.

*Baby*
Yes no problem, but pay attention to the modifications to do in the
makefile and motion file.

If you wrote a "Thanks to" section think to my name !

Bhagavan
I am not able access the link "Tutorial on compilation of mplayer on
mini2440"  

Does anybody know the alternative link?

ekent
Does anyone have the tutorial that was referenced here?  I am needing to
put mplayer on a mini2440 to play audio files and can not figue out how to
do it...

ysaucedo
Ekent, if you need play audio files, use madplay
Example: madplay /home/plg/audio.mp3 -A -20

*Baby*
The tutorial is available here :
http://sigmapic.free.fr/index.php?option=com_content&view=article&am...

Mehdi
Hi
to *Baby*
I read your tutorial and it work for panda.mpg very good with small size
but when I run for 239:319 with this command it is so slow.

mplayer /udisk/panda.mpg  -vo fbdev2 -quiet  -vf rotate=1,
scale=239:319 

what is your way for solving this problem?