hrydgard / ppsspp-ffmpeg

A slimmed-down build of FFMPEG used in PPSSPP. Includes h.264, atrac3+, AAC and a few other codecs.
Other
62 stars 72 forks source link

Add Android, IOS build script #2

Closed cv47 closed 11 years ago

cv47 commented 11 years ago

Should be make a minimal versions of static libraries, when ffmpeg support ATRAC3+ decoder.

hrydgard commented 11 years ago

This is good, just one question: why are there extra copies of a lot of headers under ios/ and android/ ?

Did you have to modify them for each platform for things to work?

cv47 commented 11 years ago

@hrydgard I tested on both IOS and Android platform...It works. however, i still need some time to make optimization for ARMv7s architecture. I disable neon optimization for android platform (It crash on all Tegra 2 devices when play audio or video)

cv47 commented 11 years ago

Oh..sorry. Linking static libraries require the FFmpeg header, it generate by build script.

hrydgard commented 11 years ago

OK.

Yes, Tegra 2 does not support NEON. That was an incredibly annoying decision by nVidia to not include it, as nearly all other ARM7 devices do support NEON.

By the way, it is possible to disable/enable individual codecs when configuring ffmpeg, by using --disable-everything and then using --enable-codec and other similar flags to enable only the codecs and containers that we need. That way we can probably reduce the size of ffmpeg drastically, by only including: h264, at3, aac, mp3, and maybe a couple more. But this can be done later.