Re: Optimizing and updating ringtone code

Nathan Hjelm <[email protected]> Fri, 06 Mar 2009 12:58:33 -0700
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <[email protected]>
Attached is a modified version of ffmpeg's configure script. It uses  
libavcodec/allcodecs_dis.c to turn off unwanted codecs. Much simpler  
than using --disable-encoder :D. I was able to save about 3MB on the  
universal binary by disabling these codecs.

The only video codec not disabled is the h264 encoder/decoder as it is  
needed by the h264 parser (might be useful for extracting audio out of  
video files).



-Nathan

On Mar 6, 2009, at 11:52 AM, Stephen Wood wrote:

> Let me know what you turn off and how so that I can do the same to  
> the Linux binary to keep its size down too.
>
> Stephen
>
> On Fri, Mar 6, 2009 at 1:36 PM, Nathan Hjelm <[email protected]> wrote:
> Done. The binary is a little big (10 MB) but thats the cost of a
> universal binary. I will try to make a smaller one by turning off some
> of ffmpeg's features (most video formats since we don't need them at
> the moment) later today.
>
> -Nathan
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San  
> Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the  
> Enterprise
> -Strategies to boost innovation and cut costs with open source  
> participation
> -Receive a $600 discount off the registration fee with the source  
> code: SFAD
> http://p.sf.net/sfu/XcvMzF8H_______________________________________________
> BitPim-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bitpim-devel

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H

_______________________________________________
BitPim-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bitpim-devel