webp - How to build ffmpeg with libwebp for android? -
i need use ffmpeg (v2.8) convert mp4 webp, how build ffmpeg libwebp android ?
i googled, have little information build ffmpeg libwebp.
i try add configuration:
--enable-libwebp --enable-muxer=webp --enable-encoder=libwebp
but got following compile error.
error: libwebp not found using pkg-config if think configure made mistake, make sure using latest version git. if latest version fails, report problem ffmpeg-user@ffmpeg.org mailing list or irc #ffmpeg on irc.freenode.net. include log file "config.log" produced configure solve problem.
the config.log is:
check_pkg_config libwebp >= 0.2.0 webp/encode.h webpgetencoderversion false --exists --print-errors libwebp >= 0.2.0 error: libwebp not found using pkg-config
i solved problem following steps:
- build libwebp ndk-build
- add *.a , *.h folder, such libwebp-armv7a, under project
- link webp without pkg-config
the way @halfelf mentioned in comments pc build, not android mobile platform.
Comments
Post a Comment