[FFmpeg-user] libavcodec size too large

tyler wear tylerbwear at gmail.com
Wed Feb 6 03:11:46 CET 2013

So I'm compiling ffmpeg for use with MiniDLNA.  I'm building it for an arm
system which is running an android kernal.  I'm running into an issue where
the image size is way larger than what I expected (~14mb).  I don't have to
much ram space for the package, so this is an issue.

I determined that libavcodec is the prime culprit, using around 11mb of
space. Compared to the 3mb of the lib on my  linux machine, it seems that I
am doing something wrong.

I'm compiling using bitbake.  Configure line for ffmpeg:
        ./configure --enable-cross-compile
--arch=arm --target-os=linux --enable-armv5te --disable-armv6 --disable-mmx
--enable-shared --disable-doc --disable-htmlpages --disable-manpages
--disable-podpages \
--disable-txtpages --disable-avdevice --disable-swresample
--disable-swscale \
--disable-postproc --disable-avfilter --disable-optimizations
--disable-debug --disable-ffserver --disable-ffplay

Compiled lib shows as: libavcodec.so.54.86.100: ELF 32-bit LSB shared
object, ARM, version 1 (SYSV), dynamically linked, stripped

any help would be much appreciated.


More information about the ffmpeg-user mailing list