Re: MPlayer on ARM S3C2410

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: yuanjun
Date:  
To: Fabrizio Grasso
CC: linux-arm
Subject: Re: MPlayer on ARM S3C2410
The following is my working note, I really got runnable binary, but the description is some ambiguously as I am not good at English.
So, good luck :-)


fetch tarball from
http://www1.mplayerhq.hu/MPlayer/releases/MPlayer-1.0pre5try2.tar.bz2

untar it, and compile on x86 platform, we need this step because we
need codec-cfg(a executable binary)

./configure
cd libavcodecs
ln -s ../config.h config.h
cd ../libmpcodecs
ln -s ../config.h config.h
make

rename codec-cfg to sth else, for example codec-cfg.x86

and now we compile for ARM
./configure --enable-static --prefix=./install --enable-runtime-cpudetection --cc=arm-linux-gcc --as=arm-linux-as --target=arm-linux --enable-fbdev --enable-ossaudio --disable-mpdvdkit --disable-tv --disable-tv-v4l --disable-tv-v4l2 --disable-tv-bsdbt848 --disable-dvdread --disable-libavformat --disable-x11 --enable-linux-devfs --disable-sdl --disable-mencoder --enable-mad --enable-libavcodec --disable-win32
make

when the ERROR occurs, rename codec-cfg.x86 back to codec-cfg and continue with "make"

/********************/
I found the codec-cfg is wrong.
we should run
"make codec-cfg CC=gcc"
first and then run
"make"
/********************/



----- Original Message -----
From: "Fabrizio Grasso" <>
To: <>
Sent: Thursday, February 24, 2005 11:15 PM
Subject: MPlayer on ARM S3C2410


> Hi all,
> has anyone successfully compiled MPlayer on the Linux 2.4.18 kernel for ARM?
> 
> Is it possible? How to ( :) )? Is there a prefixed configure command?
> 
> Thanks a lot!
> 
> 
> -------------------------------------------------------------------
> Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
> FAQ/Etiquette:       http://www.arm.linux.org.uk/armlinux/mailinglists.php
>