[MPlayer-dev-eng] How can I reduce the size of mplayer?

Gábor Lénárt lgb at lgb.hu
Wed Jan 14 15:30:34 CET 2004


On Wed, Jan 14, 2004 at 07:58:02AM -0600, Joey Parrish wrote:
> On Wed, Jan 14, 2004 at 07:25:58PM +0800, Jason Geng wrote:
> > Hi all,
> > 
> > Now I am trying to use mplayer to play mpeg4 video on an arm9 board. I hope to 
> > squeeze the mplayer as small as possible. But after I disabled any possible options 
> > when using configure, the generated mplayer is still exceed 5M(staticly linked). 
> > Can any one give me some advice on this? Thank you very much.
> 
> Strip the binary, and if that is not good enough, then remove filters
> and vo's and ao's you don't need.

Also, see the ELF headers (if it's in ELF format) and remove unwanted sections,
like .comment and .note for example, objcopy -R .note mplayer and such

- Gábor (larta'H)




More information about the MPlayer-dev-eng mailing list