The raw libavformat/libavcodec APIs aren't so bad once you get used to them, but it requires using the NDK/JNI which can be a pain if you're not familiar with it. We use the Android hardware H.264/AAC encoder APIs (available on Android 4.3+ I believe) and then use libavformat to mux the encoded frames, for maximum quality / performance (and much better battery consumption).
On Mon, Jun 16, 2014 at 12:47 PM, Josh Steiner <[email protected]> wrote: > If we open up the can of worms that is FFMPEG we should explore all of > our options including moving to using the FFMPEG core directly as a > library and even moving away from FFMPEG entirely. Our > OpenWatch/KickFlip friends have their own library that loads FFMPEG as > a .so and directly interfaces with the library that way instead of via > shell commands, so it's worth examining how this works for them. > > This is very appealing for a lot of reasons, but won't be a drop in > replacement as the internal APIs are totally different than the > command line interface. > > We still haven't firmed up our concrete work plan yet so I'm not sure > how much we'll have for something like this though. Our initial focus > is definitely on stability and security fundamentals, the broader work > plan is going to firm up once we have the needs assessment results > back from our partners. > > -Josh > > On Mon, Jun 9, 2014 at 8:41 AM, Hans-Christoph Steiner > <[email protected]> wrote: > > > > We've done some nice work on ffmpeg, but it has languished in our own > repos, > > so now it has bit-rotted and is far from working on recent versions of > ffmpeg. > > That leaves us stuck on old versions of ffmpeg, and also in charge of > > maintaining our version of ffmpeg. Given that there is new StoryMaker > and > > InformaCam money, I propose to carve out a little to get all that stuff > merged > > upstream so we don't have to maintain it and others can easily use it. > > > > Additionally, it would make sense to combine that work with writing a > plugin > > for ffmpeg to replace the use of sox in StoryMaker. > > > > .hc > > > > -- > > PGP fingerprint: 5E61 C878 0F86 295C E17D 8677 9F0F E587 374B BE81 > > _______________________________________________ > > Guardian-dev mailing list > > > > Post: [email protected] > > List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev > > > > To Unsubscribe > > Send email to: [email protected] > > Or visit: > https://lists.mayfirst.org/mailman/options/guardian-dev/josh%40vitriolix.com > > > > You are subscribed as: [email protected] > _______________________________________________ > Guardian-dev mailing list > > Post: [email protected] > List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev > > To Unsubscribe > Send email to: [email protected] > Or visit: > https://lists.mayfirst.org/mailman/options/guardian-dev/chrisballinger%40gmail.com > > You are subscribed as: [email protected] >
_______________________________________________ Guardian-dev mailing list Post: [email protected] List info: https://lists.mayfirst.org/mailman/listinfo/guardian-dev To Unsubscribe Send email to: [email protected] Or visit: https://lists.mayfirst.org/mailman/options/guardian-dev/archive%40mail-archive.com You are subscribed as: [email protected]
