[vlc-devel] Re: bloat size of vlc.exe

Aaron Lee waifunlee at gmail.com
Fri Feb 11 19:41:21 CET 2005


> > I am trying to compile a release version of vlc.exe with 2005/02/09's
> > vlc-trunk on Windows using Cygwin 1.5.12 and using the following
> > configure params:
> >
> > $ ./configure --disable-sdl --disable-gtk --enable-nls --enable-ffmpeg
> > --with-ffmpeg-mp3lame --with-ffmpeg-faac --with-ffmpeg-zlib
> > --enable-faad --enable-flac --enable-theora
> > --with-wx-config-path=/usr/win32/bin
> > --with-freetype-config-path=/usr/win32/bin
> > --with-fribidi-config-path=/usr/win32/bin --disable-livedotcom
> > --disable-caca  --with-xml2-config-path=/usr/win32/bin
> > --disable-dvdnav --disable-dvdread --disable-cddax --disable-vcdx
> > --disable-goom --disable-toolame --disable-debug --disable-mkv
> > --disable-mad --enable-release --disable-httpd --disable-vcd
> > --disable-screen --disable-quicktime --disable-libmpeg2
> > --disable-vorbis --disable-speex --disable-png --disable-x264
> > --disable-cmml --disable-x11 --disable-xvideo --disable-glx
> > --enable-freetype --disable-fribidi --disable-libxml2 --disable-alsa
> > --disable-waveout --disable-joystick --disable-skins2
> > --disable-wxwindows
> >
> > I have disabled most of the stuff and have --enable-release flags on.
> > Unfortunately my vlc.exe is still very big 10MB. Am I missing
> > something?
> 
> Seems like you have disabled everything except ffmpeg. Perhaps your ffmpeg
> is built with lots of unnecessary stash. Try to compile ffmpeg with release
> options.

I thought the ffmpeg stuff is already in the vlc-trunk. I have used
--enable-release flag, is there aother flags that are ffmpeg release
specific? What's the best way to trim down the library size because I
only want to support several formats e.g. mpeg-4 and mpeg-2

> 
> Also, what do you plan to use this version for? It seems fairly useless with
> all those features disabled.
> 

The idea is to build a minimalistic viewer which only plays a few
types of media.


> Adding --disable-plugins would reduce the total size of the application by
> including all modules in the .exe and thus dropping the overhead of the dlls
> for the plugins. And finally there is upx to compress the binary.

That sounds great! I would appreciate any comments to custom a ffmpeg
build. Thanks

-Aaron

> 
> Sigmund
> 
> 
> >
> > -Aaron
> >
> > --
> > This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
> > To unsubscribe, please read http://developers.videolan.org/lists.html
> 
> --
> Sigmund Augdal
> Edgar B. Schieldropsv 29-14
> N-7033 Trondheim
> Norway
> tlf: 91809129
> 
> --
> This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
> To unsubscribe, please read http://developers.videolan.org/lists.html
> 
>

-- 
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html



More information about the vlc-devel mailing list